7eb9c3a4e5d29469985b7d27673d566b211e4d13 |
|
30-Nov-2016 |
Romain Guy <romainguy@google.com> |
Add fallback case in glGetShaderInfoLog Some drivers do not always report the proper info log length through glGetShaderiv which causes the JNI bindings to return an empty log string. This change falls back to a length of 512 bytes when the queried length is 0. This is the same fallback used in libhwui. Bug: 16624915 Test: CtsOpenGLTestCases Change-Id: I8deea6a7454efceb7c5d862b7055a34964f5bded
/frameworks/native/opengl/tools/glgen/stubs/gles11/glGetShaderInfoLog.cpp
|
9875750593aae7c2a62f33c620809d49162393eb |
|
09-Apr-2011 |
Elliott Hughes <enh@google.com> |
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
/frameworks/native/opengl/tools/glgen/stubs/gles11/glGetShaderInfoLog.cpp
|
50d0b14689b0ae95ea7b66a8c2f7b955115812dd |
|
19-Nov-2009 |
Jack Palevich <jackpal@google.com> |
Add a Java API for OpenGL ES 2.0. Currently this API is hidden. Add a test program.
/frameworks/native/opengl/tools/glgen/stubs/gles11/glGetShaderInfoLog.cpp
|