replicant-frameworks_native/opengl/tools/glgen/src
Jack Palevich 66089a33ea Implement Matrix Palette extension.
Adds support for formerly-unimplemented methods:

glCurrentPaletteMatrixOES
glLoadPaletteFromModelViewMatrixOES
glMatrixIndexPointerOES
glWeightPointerOES

The bulk of the changes are related to implementing the two PointerOES
methods, which are implemented pretty much the same way as the existing
Pointer methods were implemented.

This change also changes the way glPointSizePointerOES is implemented,
making it act like all the other Pointer methods. (Previously it was
not handling non-direct-buffer arguments correctly.)

Fixes bug 2308625 "Support matrix palette skinning
in JSR239 and related APIs"

Also updated GLLogWraper to fix two bugs in GLLogWrapper that were
discovered while testing matrix palette skinning support:

a) Handle trying to print the contents of null-but-enabled buffers.
(It's not legal to draw with null-but-enabled buffers, and
in fact some OpenGL drivers will crash if you try to render in this
state, but there's no reason the GLLogWrapper should crash while trying
to debug this situation.

b) Don't read off the end of a vertex buffer with non-zero position when
printing the entire contents of the vertex buffer. Now we only print from
the current position to the end of the buffer.
2009-12-08 15:43:51 +08:00
..
.gitignore Clean up trivial Eclipse warnings and fix whitespace. 2009-04-13 16:40:25 -07:00
CFunc.java Clean up trivial Eclipse warnings and fix whitespace. 2009-04-13 16:40:25 -07:00
CodeEmitter.java Clean up trivial Eclipse warnings and fix whitespace. 2009-04-13 16:40:25 -07:00
CType.java Add a Java API for OpenGL ES 2.0. 2009-11-19 16:34:55 +08:00
GenerateGL.java Add an Android-specific static OpenGL ES 1.1 Java API. 2009-04-16 15:20:55 -07:00
GenerateGLES.java Add a Java API for OpenGL ES 2.0. 2009-11-19 16:34:55 +08:00
GLESCodeEmitter.java Add an Android-specific static OpenGL ES 1.1 Java API. 2009-04-16 15:20:55 -07:00
JFunc.java Add an Android-specific static OpenGL ES 1.1 Java API. 2009-04-16 15:20:55 -07:00
JniCodeEmitter.java Implement Matrix Palette extension. 2009-12-08 15:43:51 +08:00
Jsr239CodeEmitter.java Add an Android-specific static OpenGL ES 1.1 Java API. 2009-04-16 15:20:55 -07:00
JType.java Add a Java API for OpenGL ES 2.0. 2009-11-19 16:34:55 +08:00
ParameterChecker.java