In OpenGL, you always deal with context, yes. The critical parts for you are
- when and how is your OpenGL context bound to parts of Java?
- - This is an OpenGL context supported when called into native code.
Almost all Java calls for OpenGL fit in some way into native code. Therefore, if you write parts of your program using the NDK and call these parts in the same way as you call directly in OpenGL, then the OpenGL context will be relevant and will be used.
source share