Does Android launch OpenGL ES 1.1 or 1.0?

I am developing a native Android application, and I am trying to use features like glIsEnabled, which seem to be available only in OpenGL ES 1.1. Google docs claim that NDK 1.6R1 supports OpenGL ES v1.1, but the function call fails with the "unrealized Open GL ES API", and if I do glGetString (GL_VERSION), it returns "OpenGL ES 1.0 CM" as the version.

So, if 1.1 is available, what do I need to bind to get it, or what else do I need to change to get it?

+3
source share
3 answers

Android docs say ( 3D with OpenGL ):

, , Android OpenGL ES 1.1, , .

, NDK.

+4

- , OpenGL ES 1.0, Android. - OpenGL ES 1.1, minGLVersion , . :

// the high 16 bit define the Major Version,
// the low 16 bits define the Minor Version,
// so this is OpenGL ES 1.1
<uses-feature android:glEsVersion="0x00010001" />
+11

t NDK , API OpenGL ES, , , , .

OpenGL ES Version Compatible Android platform (s) Use -sdk required Attribute OpenGL ES 1.1 Android 1.6 and higher android: minSdkVersion = "4" OpenGL ES 2.0 Android 2.0 and higher android: minSdkVersion = "5"

+1
source

Source: https://habr.com/ru/post/1728135/


All Articles