replicant-frameworks_native/opengl/tools/glgen/stubs/jsr239
Elliott Hughes 9875750593 Kill the global references in the OpenGL wrappers.
Just use jniThrowException instead. Note that it would be trivial to throw
seemingly more appropriate exceptions (NullPointerException and
OutOfMemoryException in particular), but I'm only attempting to preserve
existing behavior here.

I also found shadowing bugs in some of the special-case functions, which
would previously always have leaked memory.

This also moves an accidental change to a generated file (ActivityThread ->
AppGlobals) into the generator, so it won't be overwritten in future.

Change-Id: Iab570310b568cb406c60dd0e2b8211f8a36ae590
2011-04-11 15:31:20 -07:00
..
GL10ExtHeader.java-if
GL10Header.java-if
GL11ExtensionPackHeader.java-if
GL11ExtHeader.java-if
GL11Header.java-if
GL11ImplHeader.java-impl
GLCHeader.cpp
glGetString.cpp
glGetString.java-10-if
glGetString.java-if
glGetString.java-impl
glGetString.nativeReg
GLHeader.java-if
GLImplHeader.java-impl Kill the global references in the OpenGL wrappers. 2011-04-11 15:31:20 -07:00