I\'m making an OpenGLES Android app using Android NDK, expanding from android\'s gljni example, which can be found here
It\'s using GLSurfaceView. Textures are initi
I got it working using GLSurfaceView.queueEvent().
The document says that GLSurfaceView is careful of separating UI thread and rendering thread, and
queueEvent() makes a code run in its rendering thread.