History log of /frameworks/base/opengl/java/android/opengl/GLLogWrapper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
be6eac828f5af8b608c3fa6749330f1dcd6b6206 08-Dec-2009 Jack Palevich <jackpal@google.com> 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.
/frameworks/base/opengl/java/android/opengl/GLLogWrapper.java
d70213e70ed4b2648d696a554a0ba7dac4c32757 13-Oct-2009 Jack Palevich <jackpal@google.com> Implement GL11 and GL11Ext methods for GL Log and Error wrappers.

Until now we had been throwing UnsupportedOperationException when
developers tried to use the GL11 or GL11Ext methods. Now we handle
these methods correctly, passing their arguments through to the
wrapped interface's methods.

Fixes bug 2167522 GLUtils debug wrapper doesn't support GL11 features
/frameworks/base/opengl/java/android/opengl/GLLogWrapper.java
219749df3ef8ad8efa4a1d4889403e179c268067 29-Jul-2009 Li Wenhao <gliwenhao@gmail.com> the vertex index should be "first + i".
/frameworks/base/opengl/java/android/opengl/GLLogWrapper.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/opengl/java/android/opengl/GLLogWrapper.java