When I run glGetString(GL_EXTENSIONS) in my NDK code, I get a list of 38
extensions. If I switch to Java and run
GLES32.glGetString(GLES32.GL_EXTENSIONS), I get a list of 74 extensions.
I assume the problem is that my application links to libGLESv3.so, which
doesn't provide features beyond OpenGL ES 3.0. It would be nice if the NDK
provided libGLESv32.so, but I can't find one.
Is there any way to access those extra extensions in an NDK application?
I've heard I should link to GLESv2 instead of GLESv3, but when I do that, I
get a bunch of undefined references (glMapBufferRange, glBindVertexArray,
and so on).