bf13ba5e77
- 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
14 lines
517 B
C++
14 lines
517 B
C++
/* void glGetFloatv ( GLenum pname, GLfloat *params ) */
|
|
static void
|
|
android_glGetFloatv__I_3FI
|
|
(JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) {
|
|
get<jfloatArray, GLfloat, glGetFloatv>(_env, _this, pname, params_ref, offset);
|
|
}
|
|
|
|
/* void glGetFloatv ( GLenum pname, GLfloat *params ) */
|
|
static void
|
|
android_glGetFloatv__ILjava_nio_FloatBuffer_2
|
|
(JNIEnv *_env, jobject _this, jint pname, jobject params_buf) {
|
|
getarray<GLfloat, glGetFloatv>(_env, _this, pname, params_buf);
|
|
}
|