Loading core/jni/android_opengl_GLES10.cpp +13 −0 Original line number Original line Diff line number Diff line Loading @@ -272,6 +272,19 @@ getDirectBufferPointer(JNIEnv *_env, jobject buffer) { */ */ static int getNeededCount(GLint pname) { static int getNeededCount(GLint pname) { int needed = 1; int needed = 1; #ifdef GL_ES_VERSION_3_0 // GLES 3.x pnames switch (pname) { case GL_MAX_VIEWPORT_DIMS: needed = 2; break; case GL_PROGRAM_BINARY_FORMATS: glGetIntegerv(GL_NUM_PROGRAM_BINARY_FORMATS, &needed); break; } #endif #ifdef GL_ES_VERSION_2_0 #ifdef GL_ES_VERSION_2_0 // GLES 2.x pnames // GLES 2.x pnames switch (pname) { switch (pname) { Loading core/jni/android_opengl_GLES10Ext.cpp +13 −0 Original line number Original line Diff line number Diff line Loading @@ -272,6 +272,19 @@ getDirectBufferPointer(JNIEnv *_env, jobject buffer) { */ */ static int getNeededCount(GLint pname) { static int getNeededCount(GLint pname) { int needed = 1; int needed = 1; #ifdef GL_ES_VERSION_3_0 // GLES 3.x pnames switch (pname) { case GL_MAX_VIEWPORT_DIMS: needed = 2; break; case GL_PROGRAM_BINARY_FORMATS: glGetIntegerv(GL_NUM_PROGRAM_BINARY_FORMATS, &needed); break; } #endif #ifdef GL_ES_VERSION_2_0 #ifdef GL_ES_VERSION_2_0 // GLES 2.x pnames // GLES 2.x pnames switch (pname) { switch (pname) { Loading core/jni/android_opengl_GLES11.cpp +13 −0 Original line number Original line Diff line number Diff line Loading @@ -272,6 +272,19 @@ getDirectBufferPointer(JNIEnv *_env, jobject buffer) { */ */ static int getNeededCount(GLint pname) { static int getNeededCount(GLint pname) { int needed = 1; int needed = 1; #ifdef GL_ES_VERSION_3_0 // GLES 3.x pnames switch (pname) { case GL_MAX_VIEWPORT_DIMS: needed = 2; break; case GL_PROGRAM_BINARY_FORMATS: glGetIntegerv(GL_NUM_PROGRAM_BINARY_FORMATS, &needed); break; } #endif #ifdef GL_ES_VERSION_2_0 #ifdef GL_ES_VERSION_2_0 // GLES 2.x pnames // GLES 2.x pnames switch (pname) { switch (pname) { Loading core/jni/android_opengl_GLES11Ext.cpp +13 −0 Original line number Original line Diff line number Diff line Loading @@ -272,6 +272,19 @@ getDirectBufferPointer(JNIEnv *_env, jobject buffer) { */ */ static int getNeededCount(GLint pname) { static int getNeededCount(GLint pname) { int needed = 1; int needed = 1; #ifdef GL_ES_VERSION_3_0 // GLES 3.x pnames switch (pname) { case GL_MAX_VIEWPORT_DIMS: needed = 2; break; case GL_PROGRAM_BINARY_FORMATS: glGetIntegerv(GL_NUM_PROGRAM_BINARY_FORMATS, &needed); break; } #endif #ifdef GL_ES_VERSION_2_0 #ifdef GL_ES_VERSION_2_0 // GLES 2.x pnames // GLES 2.x pnames switch (pname) { switch (pname) { Loading core/jni/android_opengl_GLES20.cpp +13 −0 Original line number Original line Diff line number Diff line Loading @@ -272,6 +272,19 @@ getDirectBufferPointer(JNIEnv *_env, jobject buffer) { */ */ static int getNeededCount(GLint pname) { static int getNeededCount(GLint pname) { int needed = 1; int needed = 1; #ifdef GL_ES_VERSION_3_0 // GLES 3.x pnames switch (pname) { case GL_MAX_VIEWPORT_DIMS: needed = 2; break; case GL_PROGRAM_BINARY_FORMATS: glGetIntegerv(GL_NUM_PROGRAM_BINARY_FORMATS, &needed); break; } #endif #ifdef GL_ES_VERSION_2_0 #ifdef GL_ES_VERSION_2_0 // GLES 2.x pnames // GLES 2.x pnames switch (pname) { switch (pname) { Loading Loading
core/jni/android_opengl_GLES10.cpp +13 −0 Original line number Original line Diff line number Diff line Loading @@ -272,6 +272,19 @@ getDirectBufferPointer(JNIEnv *_env, jobject buffer) { */ */ static int getNeededCount(GLint pname) { static int getNeededCount(GLint pname) { int needed = 1; int needed = 1; #ifdef GL_ES_VERSION_3_0 // GLES 3.x pnames switch (pname) { case GL_MAX_VIEWPORT_DIMS: needed = 2; break; case GL_PROGRAM_BINARY_FORMATS: glGetIntegerv(GL_NUM_PROGRAM_BINARY_FORMATS, &needed); break; } #endif #ifdef GL_ES_VERSION_2_0 #ifdef GL_ES_VERSION_2_0 // GLES 2.x pnames // GLES 2.x pnames switch (pname) { switch (pname) { Loading
core/jni/android_opengl_GLES10Ext.cpp +13 −0 Original line number Original line Diff line number Diff line Loading @@ -272,6 +272,19 @@ getDirectBufferPointer(JNIEnv *_env, jobject buffer) { */ */ static int getNeededCount(GLint pname) { static int getNeededCount(GLint pname) { int needed = 1; int needed = 1; #ifdef GL_ES_VERSION_3_0 // GLES 3.x pnames switch (pname) { case GL_MAX_VIEWPORT_DIMS: needed = 2; break; case GL_PROGRAM_BINARY_FORMATS: glGetIntegerv(GL_NUM_PROGRAM_BINARY_FORMATS, &needed); break; } #endif #ifdef GL_ES_VERSION_2_0 #ifdef GL_ES_VERSION_2_0 // GLES 2.x pnames // GLES 2.x pnames switch (pname) { switch (pname) { Loading
core/jni/android_opengl_GLES11.cpp +13 −0 Original line number Original line Diff line number Diff line Loading @@ -272,6 +272,19 @@ getDirectBufferPointer(JNIEnv *_env, jobject buffer) { */ */ static int getNeededCount(GLint pname) { static int getNeededCount(GLint pname) { int needed = 1; int needed = 1; #ifdef GL_ES_VERSION_3_0 // GLES 3.x pnames switch (pname) { case GL_MAX_VIEWPORT_DIMS: needed = 2; break; case GL_PROGRAM_BINARY_FORMATS: glGetIntegerv(GL_NUM_PROGRAM_BINARY_FORMATS, &needed); break; } #endif #ifdef GL_ES_VERSION_2_0 #ifdef GL_ES_VERSION_2_0 // GLES 2.x pnames // GLES 2.x pnames switch (pname) { switch (pname) { Loading
core/jni/android_opengl_GLES11Ext.cpp +13 −0 Original line number Original line Diff line number Diff line Loading @@ -272,6 +272,19 @@ getDirectBufferPointer(JNIEnv *_env, jobject buffer) { */ */ static int getNeededCount(GLint pname) { static int getNeededCount(GLint pname) { int needed = 1; int needed = 1; #ifdef GL_ES_VERSION_3_0 // GLES 3.x pnames switch (pname) { case GL_MAX_VIEWPORT_DIMS: needed = 2; break; case GL_PROGRAM_BINARY_FORMATS: glGetIntegerv(GL_NUM_PROGRAM_BINARY_FORMATS, &needed); break; } #endif #ifdef GL_ES_VERSION_2_0 #ifdef GL_ES_VERSION_2_0 // GLES 2.x pnames // GLES 2.x pnames switch (pname) { switch (pname) { Loading
core/jni/android_opengl_GLES20.cpp +13 −0 Original line number Original line Diff line number Diff line Loading @@ -272,6 +272,19 @@ getDirectBufferPointer(JNIEnv *_env, jobject buffer) { */ */ static int getNeededCount(GLint pname) { static int getNeededCount(GLint pname) { int needed = 1; int needed = 1; #ifdef GL_ES_VERSION_3_0 // GLES 3.x pnames switch (pname) { case GL_MAX_VIEWPORT_DIMS: needed = 2; break; case GL_PROGRAM_BINARY_FORMATS: glGetIntegerv(GL_NUM_PROGRAM_BINARY_FORMATS, &needed); break; } #endif #ifdef GL_ES_VERSION_2_0 #ifdef GL_ES_VERSION_2_0 // GLES 2.x pnames // GLES 2.x pnames switch (pname) { switch (pname) { Loading