Login  Register

Re: GL2ES2 implementation

Posted by Sven Gothel on Sep 17, 2014; 9:11pm
URL: https://forum.jogamp.org/GL2ES2-implementation-tp3270403p4033160.html

On 09/17/2014 10:42 PM, AlanObject [via jogamp] wrote:
> I hadn't found any example that uses this code:
>
>      GL2ES2 gl = drawable.getGL().getGL2ES2();
>
> There are a lot of things you have to understand to be able to understand
> that, and I have found now comprehensive reference that explains it.   I think
> I understand that now but it has been a twisty path.
>

<https://jogamp.org/jogl/doc/Overview-OpenGL-Evolution-And-JOGL.html>

<https://jogamp.org/doc/fosdem2013/>
<https://jogamp.org/doc/siggraph2014/>

Simple ES2 GLEventListener:

<http://jogamp.org/git/?p=jogl.git;a=blob;f=src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/RedSquareES2.java;h=8058d1b7ddbbe4cd2e6e3d36a3e588941cb76b05;hb=HEAD>

Using it .. within NEWT:

<http://jogamp.org/git/?p=jogl.git;a=blob;f=src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestRedSquareES2NEWT.java;h=52f4473c3d36a5dfdbc21be134306096812ff98f;hb=HEAD>

~Sven






signature.asc (828 bytes) Download Attachment