Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an Android implementation of JOGL's GL2ES2?

Tags:

android

jogl

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?

like image 776
Kevin Krumwiede Avatar asked Nov 06 '25 13:11

Kevin Krumwiede


1 Answers

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?

like image 198
gouessej Avatar answered Nov 08 '25 13:11

gouessej



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!