25b388c43bd0444985776c4d129e0ccaef9b6229 |
|
24-Sep-2010 |
Mathias Agopian <mathias@google.com> |
better fix for [3028370] GL get error should return a valid error if no context is bound. it turns out that we cannot return INVALID_OPERATION from glGetError() because the GL spec says that it must be called in a loop until it returns GL_NO_ERROR. now, we always return 0 from GL functions called from a thread with no context bound. This means that glGetError() will return NO_ERROR in this case, which is better than returning a random value (which could trap the app in a loop). if this happens in the main thread of a process, we LOG an error message once. Change-Id: Id59620e675a890286ef62a257c02b06e0fdcaf69
/frameworks/base/opengl/libs/GLES_CM/gl.cpp
|
a5d4ad3d52df777841108860a9cae61ea7407f21 |
|
30-Mar-2010 |
Mathias Agopian <mathias@google.com> |
Fix Android's glEGLImageTargetRenderbufferOES() wrapper glEGLImageTargetRenderbufferOES() pass the wrapped EGLImage to the implementation, rather than the unwrapped one. Change-Id: I149f9ed73e6ab9089110600e1db4311ba7a8c83a
/frameworks/base/opengl/libs/GLES_CM/gl.cpp
|
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/libs/GLES_CM/gl.cpp
|
b34d5d527596102ae7a040d787e4d8c336bf192b |
|
14-Oct-2009 |
Mathias Agopian <mathias@google.com> |
Use the TLS register if HAVE_ARM_TLS_REGISTER is defined this will be needed for SMP, but would improve dispatching GL calls a bit on armv6 and above.
/frameworks/base/opengl/libs/GLES_CM/gl.cpp
|
b96df8548ee80e581e6851d7d4529add769c8a8d |
|
09-Oct-2009 |
Mathias Agopian <mathias@google.com> |
add a way to easily catch and log GL errors (compile time flag)
/frameworks/base/opengl/libs/GLES_CM/gl.cpp
|
11abc8a36d639775b05a0471c9ea45d83fa19e56 |
|
15-May-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master Conflicts: opengl/libagl/Android.mk opengl/libs/Android.mk opengl/libs/egl_impl.h
|
8331f72078051cdf5a26230ee819f7ef7f9fcc24 |
|
09-May-2009 |
Mathias Agopian <mathias@google.com> |
remove the gl{Vertex|Color|TexCoord|Normal}PointerBounds() "extension" fro eglext.h
/frameworks/base/opengl/libs/GLES_CM/gl.cpp
|
fa6eda01a9f3df0102ce6a65302c8674cc9c7e50 |
|
30-Apr-2009 |
Mathias Agopian <mathias@google.com> |
Merge commit 'goog/master' into merge_master Conflicts: libs/surfaceflinger/Layer.cpp libs/surfaceflinger/SurfaceFlinger.cpp opengl/libagl/egl.cpp opengl/libs/EGL/egl.cpp opengl/libs/GLES_CM/gl.cpp opengl/libs/GLES_CM/gl_api.in opengl/libs/gl_entries.in opengl/libs/tools/glapigen
|
1feecd831003e693df95521a2baae4b9aec28843 |
|
24-Apr-2009 |
Mathias Agopian <mathias@google.com> |
use gl.h to generate the *.in files. we are now supporting the full gl.h and glext.h apis.
/frameworks/base/opengl/libs/GLES_CM/gl.cpp
|
e29254e708bb94d0f785a00926164a0dbb0dad93 |
|
23-Apr-2009 |
Mathias Agopian <mathias@google.com> |
integrate some OpenGL ES changes back from master_gl in preparation of opening GLES to the NDK.
/frameworks/base/opengl/libs/GLES_CM/gl.cpp
|
1473f46cbc82aa6f0ba744cc896a36923823d55b |
|
10-Apr-2009 |
Mathias Agopian <mathias@google.com> |
Integrate from //sandbox/mathias/donut/...@145728 SurfaceFlinger rework for new EGL driver model support.
/frameworks/base/opengl/libs/GLES_CM/gl.cpp
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/opengl/libs/GLES_CM/gl.cpp
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/opengl/libs/GLES_CM/gl.cpp
|
d24b8183b93e781080b2c16c487e60d51c12da31 |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/frameworks/base/opengl/libs/GLES_CM/gl.cpp
|