Kevin Krumwiede
Kevin Krumwiede

Reputation: 10308

Is there an Android implementation of JOGL's GL2ES2?

JOGL includes several interfaces that represent the common features of various versions of OpenGL and OpenGL-ES.

Is there an Android implementation of the GL2ES2 interface somewhere in one of the JOGL packages, or do I have to bite the bullet and implement it myself?

Upvotes: 4

Views: 849

Answers (1)

gouessej
gouessej

Reputation: 4085

You should read this documentation: http://jogamp.org/jogl/doc/Overview-OpenGL-Evolution-And-JOGL.html

JOGL 2 already works as is under Android. What are you trying to do? Numerous tablets and mobile phones support OpenGL-ES.

Imagine that you want to launch a Java program using JOGL on my Samsung Galaxy S3 4G i9305. It supports both OpenGL ES 1 and OpenGL ES 2, it will pick the former or the latter depending on how you create your GL profile. If it picks OpenGL ES 2, GLContext.getCurrentGL() will return a GLES2 instance. GLES2 is a subinterface of GL2ES2. What's the matter with that?

Upvotes: 2

Related Questions