replicant-frameworks_native/opengl/libs
Jack Palevich 3cd7add35e 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-09 16:34:46 +08:00
..
EGL fix[2222341] Soft reset while going back from camcorder settings 2009-10-30 14:48:50 -07:00
GLES2 Use the TLS register if HAVE_ARM_TLS_REGISTER is defined 2009-10-19 16:13:46 -07:00
GLES_CM Implement Matrix Palette extension. 2009-12-09 16:34:46 +08:00
tools fix [2187212] add support for GLESv2 dispatch based on TLS 2009-10-14 02:06:37 -07:00
Android.mk Use the TLS register if HAVE_ARM_TLS_REGISTER is defined 2009-10-19 16:13:46 -07:00
egl_impl.h fix [2187212] add support for GLESv2 dispatch based on TLS 2009-10-14 02:06:37 -07:00
entries.in fix [2187212] add support for GLESv2 dispatch based on TLS 2009-10-14 02:06:37 -07:00
hooks.h fix [2187212] add support for GLESv2 dispatch based on TLS 2009-10-14 02:06:37 -07:00