summaryrefslogtreecommitdiffstats
path: root/opengl/tools/glgen/stubs/gles11/glGetBooleanv.nativeReg
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-02-22 19:34:06 -0800
committerMathias Agopian <mathias@google.com>2013-02-25 16:50:51 -0800
commitbf13ba5e77804ca7466acb7100cdaf7c14cc0fb7 (patch)
treec600eac8af2915a39ed2ae0ca8aaeefb8f915a2d /opengl/tools/glgen/stubs/gles11/glGetBooleanv.nativeReg
parentf5c7cb316cc8c8e2d6ae93a659ac771420cbfa2b (diff)
downloadframeworks_native-bf13ba5e77804ca7466acb7100cdaf7c14cc0fb7.zip
frameworks_native-bf13ba5e77804ca7466acb7100cdaf7c14cc0fb7.tar.gz
frameworks_native-bf13ba5e77804ca7466acb7100cdaf7c14cc0fb7.tar.bz2
add some missing parameter validation in GLES java bindings
- added support for comments in checks.spec - added most missing checks - added and commented with // special-cased functions - added and commented with # functions that are still missing validation checks - moved glGet* to a special case and updated all the "pnames" from the khronos spec - changed ifcheck to default to 1 value. this allows us to simplify the checks.spec file and handle unknown pnames automatically (they'll be validated against 1 value, if it happens to need more, the call will go through but the validation will not happen). - refactored the cpp headers in to a common header + GLES version specific header Bug: 7402895 Change-Id: Ib5c68ca0ca416407b4cfa36e3a21901b2d6263ab
Diffstat (limited to 'opengl/tools/glgen/stubs/gles11/glGetBooleanv.nativeReg')
-rw-r--r--opengl/tools/glgen/stubs/gles11/glGetBooleanv.nativeReg2
1 files changed, 2 insertions, 0 deletions
diff --git a/opengl/tools/glgen/stubs/gles11/glGetBooleanv.nativeReg b/opengl/tools/glgen/stubs/gles11/glGetBooleanv.nativeReg
new file mode 100644
index 0000000..d0bc8b8
--- /dev/null
+++ b/opengl/tools/glgen/stubs/gles11/glGetBooleanv.nativeReg
@@ -0,0 +1,2 @@
+{"glGetBooleanv", "(I[ZI)V", (void *) android_glGetBooleanv__I_3ZI },
+{"glGetBooleanv", "(ILjava/nio/IntBuffer;)V", (void *) android_glGetBooleanv__ILjava_nio_IntBuffer_2 },