diff options
author | Jesse Hall <jessehall@google.com> | 2013-03-29 13:06:32 -0700 |
---|---|---|
committer | Jesse Hall <jessehall@google.com> | 2013-04-10 22:00:17 -0700 |
commit | 2d9faafa2318c05f8991beff9cc683d72cbabd07 (patch) | |
tree | cb1170258fd91954ea7f91de838718afdd052bb7 /opengl/tools/glgen/stubs/gles11/GLES20Header.java-if | |
parent | 0eb6ad563825b97aec760a893db0eead10fe0ae6 (diff) | |
download | frameworks_native-2d9faafa2318c05f8991beff9cc683d72cbabd07.zip frameworks_native-2d9faafa2318c05f8991beff9cc683d72cbabd07.tar.gz frameworks_native-2d9faafa2318c05f8991beff9cc683d72cbabd07.tar.bz2 |
Add ES3 functions and constants, difficult ones commented out
This change adds ES3 functions to GLES30.spec, disabling any that
require non-trivial changes for the generator to handle.
Steps taken to add these:
- Copy ES3 function declarations from gl3.h
- Remove GL_APICALL, GL_APIENTRY, and semicolon from each declaration
- Add whitespace around parens and *s as required by the parser
- Comment out functions that the generator doesn't understand or that
it generates bad Java interfaces for (by inspection).
Bug: 8566953
Change-Id: Iaaef7d53e24f9a576759dbba72cd206bae1c1276
Diffstat (limited to 'opengl/tools/glgen/stubs/gles11/GLES20Header.java-if')
-rw-r--r-- | opengl/tools/glgen/stubs/gles11/GLES20Header.java-if | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/opengl/tools/glgen/stubs/gles11/GLES20Header.java-if b/opengl/tools/glgen/stubs/gles11/GLES20Header.java-if index 7a7dccd..6ec126f 100644 --- a/opengl/tools/glgen/stubs/gles11/GLES20Header.java-if +++ b/opengl/tools/glgen/stubs/gles11/GLES20Header.java-if @@ -296,6 +296,9 @@ public class GLES20 { public static final int GL_RGB5_A1 = 0x8057; public static final int GL_RGB565 = 0x8D62; public static final int GL_DEPTH_COMPONENT16 = 0x81A5; + // GL_STENCIL_INDEX does not appear in gl2.h or gl2ext.h, and there is no + // token with value 0x1901. It shouldn't be here, but we can't remove it + // now in case someone is using it. public static final int GL_STENCIL_INDEX = 0x1901; public static final int GL_STENCIL_INDEX8 = 0x8D48; public static final int GL_RENDERBUFFER_WIDTH = 0x8D42; |