Home | History | Annotate | Download | only in GLESv1_enc
      1 GLOBAL
      2 	base_opcode 1024
      3 	encoder_headers "glUtils.h" "GLEncoderUtils.h"
      4 	
      5 #void glClipPlanef(GLenum plane, GLfloat *equation)
      6 glClipPlanef
      7   dir equation in
      8 	len equation (4 * sizeof(float))
      9 
     10 #void glFogfv(GLenum pname, GLfloat *params)
     11 glFogfv
     12 	len params (glUtilsParamSize(pname) * sizeof(GLfloat))
     13 
     14 #void glGetFloatv(GLenum pname, GLfloat *params)
     15 glGetFloatv
     16 	dir params out
     17 	len params (glUtilsParamSize(pname) * sizeof(GLfloat))
     18 
     19 #void glGetLightfv(GLenum light, GLenum pname, GLfloat *params)
     20 glGetLightfv
     21 	dir params out
     22 	len params (glUtilsParamSize(pname) * sizeof(GLfloat))
     23 
     24 #void glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params)
     25 glGetMaterialfv
     26 	dir params out
     27 	len params (glUtilsParamSize(pname) * sizeof(GLfloat))
     28 
     29 #void glGetTexEnvfv(GLenum env, GLenum pname, GLfloat *params)
     30 glGetTexEnvfv
     31 	dir params out
     32 	len params (glUtilsParamSize(pname) * sizeof(GLfloat))
     33 
     34 #void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
     35 glGetTexParameterfv
     36 	dir params out
     37 	len params (glUtilsParamSize(pname) * sizeof(GLfloat))
     38 
     39 #void glLightModelfv(GLenum pname, GLfloat *params)
     40 glLightModelfv
     41 	len params (glUtilsParamSize(pname) * sizeof(GLfloat))
     42 
     43 #void glLightfv(GLenum light, GLenum pname, GLfloat *params)
     44 glLightfv
     45 	len params (glUtilsParamSize(pname) * sizeof(GLfloat))
     46 
     47 #void glLoadMatrixf(GLfloat *m)
     48 glLoadMatrixf
     49 	len m (16 * sizeof(GLfloat))
     50 
     51 #void glMaterialfv(GLenum face, GLenum pname, GLfloat *params)
     52 glMaterialfv
     53 	len params (glUtilsParamSize(pname) * sizeof(GLfloat))
     54 
     55 #void glMultMatrixf(GLfloat *m)
     56 glMultMatrixf
     57 	len m (16 * sizeof(GLfloat))
     58 
     59 #void glPointParameterfv(GLenum pname, GLfloat *params)
     60 glPointParameterfv
     61 	len params (glUtilsParamSize(pname) * sizeof(GLfloat))
     62 
     63 #void glTexEnvfv(GLenum target, GLenum pname, GLfloat *params)
     64 glTexEnvfv
     65 	len params (glUtilsParamSize(pname) * sizeof(GLfloat))
     66 
     67 #void glTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
     68 glTexParameterfv
     69 	len params (glUtilsParamSize(pname) * sizeof(GLfloat))
     70 
     71 #void glBufferData(GLenum target, GLsizeiptr size, GLvoid *data, GLenum usage)
     72 glBufferData
     73 	len data size
     74 
     75 #void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data)
     76 glBufferSubData
     77 	dir data in
     78 	len data size
     79 
     80 #void glClipPlanex(GLenum plane, GLfixed *eqn)
     81 glClipPlanex
     82 	dir eqn in
     83 	len eqn (4 * sizeof(GLfixed))
     84 
     85 #void glColorPointer(GLint size, GLenum type, GLsizei stride, GLvoid *pointer)
     86 #we treat the pointer as offset to a VBO
     87 glColorPointer
     88 	len pointer (sizeof(unsigned int))
     89 	flag unsupported
     90 
     91 #void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, GLvoid *data)
     92 glCompressedTexImage2D
     93 	len data imageSize
     94     var_flag data nullAllowed
     95 
     96 #void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLvoid *data)
     97 glCompressedTexSubImage2D
     98 	len data imageSize
     99 
    100 #void glDeleteBuffers(GLsizei n, GLuint *buffers)
    101 glDeleteBuffers
    102 	len buffers (n * sizeof(GLuint))
    103     param_check n if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } 
    104 
    105 #void glDeleteTextures(GLsizei n, GLuint *textures)
    106 glDeleteTextures
    107 	len textures (n * sizeof(GLuint))
    108     param_check n if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } 
    109 
    110 #this function is marked as unsupported - it shouldn't be called directly
    111 #instead it translated into - glDrawDirectElements and glDrawIndirectElements
    112 #void glDrawElements(GLenum mode, GLsizei count, GLenum type, GLvoid *indices)
    113 glDrawElements
    114 	flag unsupported
    115 
    116 
    117 #void glFogxv(GLenum pname, GLfixed *params)
    118 glFogxv
    119 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    120 
    121 #void glGetBooleanv(GLenum pname, GLboolean *params)
    122 glGetBooleanv
    123 	dir params out
    124 	len params (glUtilsParamSize(pname) * sizeof(GLboolean))
    125 
    126 #void glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params)
    127 glGetBufferParameteriv
    128 	len params (sizeof(GLint))
    129 	dir params out
    130 
    131 #void glGenBuffers(GLsizei n, GLuint *buffers)
    132 glGenBuffers
    133 	len buffers (n * sizeof(GLuint))
    134 	dir buffers out
    135     param_check n if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } 
    136 
    137 #void glGenTextures(GLsizei n, GLuint *textures)
    138 glGenTextures
    139 	len textures (n * sizeof(GLuint))
    140 	dir textures out
    141     param_check n if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } 
    142 
    143 #void glGetFixedv(GLenum pname, GLfixed *params)
    144 glGetFixedv
    145 	dir params out
    146 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    147 
    148 #void glGetIntegerv(GLenum pname, GLint *params)
    149 glGetIntegerv
    150 	dir params out
    151 	len params (glUtilsParamSize(pname) * sizeof(GLint))
    152 
    153 #void glGetLightxv(GLenum light, GLenum pname, GLfixed *params)
    154 glGetLightxv
    155 	dir params out
    156 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    157 
    158 #void glGetMaterialxv(GLenum face, GLenum pname, GLfixed *params)
    159 glGetMaterialxv
    160 	dir params out
    161 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    162 
    163 #void glGetPointerv(GLenum pname, void **params)
    164 glGetPointerv
    165 	flag unsupported
    166 
    167 #GLubyte* glGetString(GLenum name)
    168 glGetString
    169   flag unsupported
    170 
    171 #void glGetTexEnviv(GLenum env, GLenum pname, GLint *params)
    172 glGetTexEnviv
    173 	dir params out
    174 	len params (glUtilsParamSize(pname) * sizeof(GLint))
    175 
    176 #void glGetTexEnvxv(GLenum env, GLenum pname, GLfixed *params)
    177 glGetTexEnvxv
    178 	dir params out
    179 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    180 
    181 #void glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
    182 glGetTexParameteriv
    183 	dir params out
    184 	len params (sizeof(GLint))
    185 
    186 #void glGetTexParameterxv(GLenum target, GLenum pname, GLfixed *params)
    187 glGetTexParameterxv
    188 	dir params out
    189 	len params (sizeof(GLfixed))
    190 
    191 #void glLightModelxv(GLenum pname, GLfixed *params)
    192 glLightModelxv
    193 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    194 
    195 #void glLightxv(GLenum light, GLenum pname, GLfixed *params)
    196 glLightxv
    197 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    198 
    199 #void glLoadMatrixx(GLfixed *m)
    200 glLoadMatrixx
    201 	len m (16 * sizeof(GLfixed))
    202 
    203 #void glMaterialxv(GLenum face, GLenum pname, GLfixed *params)
    204 glMaterialxv
    205 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    206 
    207 #void glMultMatrixx(GLfixed *m)
    208 glMultMatrixx
    209 	len m (16 * sizeof(GLfixed))
    210 
    211 #void glNormalPointer(GLenum type, GLsizei stride, GLvoid *pointer)
    212 #we treat the pointer as an offset to a VBO
    213 glNormalPointer
    214 	len pointer (sizeof(unsigned int))
    215 	flag unsupported
    216 
    217 #void glPointParameterxv(GLenum pname, GLfixed *params)
    218 glPointParameterxv
    219 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    220 
    221 #void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
    222 glReadPixels
    223 	dir pixels out
    224 	len pixels pixelDataSize(self, width, height, format, type, 1)
    225 
    226 #void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, GLvoid *pointer)
    227 glTexCoordPointer
    228 	len pointer (sizeof(unsigned int))
    229 	flag unsupported
    230 
    231 #void glTexEnviv(GLenum target, GLenum pname, GLint *params)
    232 glTexEnviv
    233 	len params (glUtilsParamSize(pname) * sizeof(GLint))
    234 
    235 #void glTexEnvxv(GLenum target, GLenum pname, GLfixed *params)
    236 glTexEnvxv
    237 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    238 
    239 #void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLvoid *pixels)
    240 glTexImage2D
    241 	dir pixels in
    242 	len pixels pixelDataSize(self, width, height, format, type, 0)
    243 	var_flag pixels nullAllowed isLarge
    244 
    245 #void glTexParameteriv(GLenum target, GLenum pname, GLint *params)
    246 glTexParameteriv
    247 	len params (glUtilsParamSize(pname) * sizeof(GLint))
    248 
    249 #void glTexParameterxv(GLenum target, GLenum pname, GLfixed *params)
    250 glTexParameterxv
    251 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    252 
    253 #void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
    254 glTexSubImage2D
    255 	len pixels pixelDataSize(self, width, height, format, type, 0)
    256         var_flag pixels isLarge
    257 
    258 #void glVertexPointer(GLint size, GLenum type, GLsizei stride, GLvoid *pointer)
    259 # we treat the pointer as an offset to a VBO
    260 glVertexPointer
    261 	flag unsupported
    262 
    263 #void glPointSizePointerOES(GLenum type, GLsizei stride, GLvoid *pointer)
    264 glPointSizePointerOES
    265 	len pointer (sizeof(unsigned int))
    266 	flag unsupported
    267 
    268 #void glGetClipPlanef(GLenum pname, GLfloat * eqn)
    269 glGetClipPlanef
    270 	dir eqn out
    271 	len eqn (4 * sizeof(GLfloat))
    272 
    273 #void glVertexPointerData(GLint size, GLenum type, GLsizei stride, void *data, GLuint datalen)
    274 glVertexPointerData
    275 	len data datalen
    276 	custom_pack data glUtilsPackPointerData((unsigned char *)ptr, (unsigned char *)data, size, type, stride, datalen)
    277 	flag custom_decoder
    278 	flag not_api
    279 
    280 #void glColorPointerData(GLint size, GLenum type, GLsizei stride, void *data, GLuint datalen)
    281 glColorPointerData
    282 	len data datalen
    283 	flag custom_decoder
    284 	custom_pack data glUtilsPackPointerData((unsigned char *)ptr, (unsigned char *)data, size, type, stride, datalen)
    285 	flag not_api
    286 
    287 #void glNormalPointerData(GLenum type, GLsizei stride, void *data, GLuint datalen)
    288 glNormalPointerData
    289 	len data datalen
    290 	flag custom_decoder
    291 	custom_pack data glUtilsPackPointerData((unsigned char *)ptr, (unsigned char *)data, 3, type, stride, datalen)
    292 	flag not_api
    293 
    294 #void glPointSizePointerData(GLenum type, GLsizei stride, void *data, GLuint datalen)
    295 glPointSizePointerData
    296 	len data datalen
    297 	flag custom_decoder
    298 	custom_pack data glUtilsPackPointerData((unsigned char *)ptr, (unsigned char *)data, 1, type, stride, datalen)
    299 	flag not_api
    300 
    301 #void glTexCoordPointerData(GLint size, GLenum type, GLsizei stride, void *data, GLuint datalen)
    302 glTexCoordPointerData
    303 	len data datalen
    304 	flag custom_decoder
    305 	custom_pack data glUtilsPackPointerData((unsigned char *)ptr, (unsigned char *)data, size, type, stride, datalen)
    306 	flag not_api
    307 
    308 #void glWeightPointerData(GLint size, GLenum type, GLsizei stride,  void * data, GLuint datalen)
    309 glWeightPointerData
    310   	len data datalen
    311   	custom_pack data glUtilsPackPointerData((unsigned char *)ptr, (unsigned char*)data, size, type, stride, datalen)
    312   	flag custom_decoder
    313 	flag not_api
    314 
    315 #void glMatrixIndexPointerData(GLint size, GLenum type, GLsizei stride,  void * data, GLuint datalen)
    316 glMatrixIndexPointerData
    317 	len data datalen
    318   	custom_pack data glUtilsPackPointerData((unsigned char *)ptr, (unsigned char*)data, size, type, stride, datalen)
    319   	flag custom_decoder
    320 	flag not_api
    321 
    322 glVertexPointerOffset
    323 	flag custom_decoder
    324 	flag not_api
    325 glNormalPointerOffset
    326 	flag custom_decoder
    327 	flag not_api
    328 glTexCoordPointerOffset
    329 	flag custom_decoder
    330 	flag not_api
    331 glPointSizePointerOffset
    332 	flag custom_decoder
    333 	flag not_api
    334 glColorPointerOffset
    335 	flag custom_decoder
    336 	flag not_api
    337 glWeightPointerOffset
    338     flag custom_decoder
    339 	flag not_api
    340 glMatrixIndexPointerOffset
    341     flag custom_decoder
    342 	flag not_api
    343 
    344 glDrawElementsData
    345 	len data datalen
    346 	flag custom_decoder
    347 	flag not_api
    348 
    349 glDrawElementsOffset
    350 	flag custom_decoder
    351 	flag not_api
    352 
    353 glGetCompressedTextureFormats
    354 	dir formats out
    355 	len formats (count * sizeof(GLint))
    356 	flag custom_decoder
    357 	flag not_api
    358 
    359 glFinishRoundTrip
    360 	flag custom_decoder
    361 	flag not_api
    362 
    363 #gles1 extensions
    364 
    365 #void glDrawTexsvOES(GLshort *coords)
    366 glDrawTexsvOES
    367 	len coords (5 * sizeof(GLshort))
    368 
    369 #void glDrawTexivOES(GLint *coords)
    370 glDrawTexivOES
    371 	len coords (5 * sizeof(GLint))
    372 
    373 #void glDrawTexxvOES(GLfixed *coords)
    374 glDrawTexxvOES
    375 	len coords (5 * sizeof(GLfixed))
    376 
    377 #void glDrawTexfvOES(GLfloat *coords)
    378 glDrawTexfvOES
    379 	len coords (5 * sizeof(GLfloat))
    380 
    381 #glClipPlanexOES(GLenum plane, const GLfixed * equation)
    382 glClipPlanexOES
    383 	dir equation in
    384 	len equation (4 * sizeof(GLfixed))
    385 
    386 #glClipPlanexIMG(GLenum plane, const GLfixed * equation)
    387 glClipPlanexIMG
    388 	dir equation in
    389 	len equation (4 * sizeof(GLfixed))
    390 
    391 #void glFogxvOES(GLenum pname, GLfixed *params)
    392 glFogxvOES
    393 	dir params in
    394 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    395 
    396 #void glGetClipPlanexOES(GLenum pname,  GLfixed * eqn)
    397 glGetClipPlanexOES
    398 	dir eqn out
    399 	len eqn (4 * sizeof(GLfixed))
    400 
    401 #void glGetClipPlanex(GLenum pname,  GLfixed * eqn)
    402 glGetClipPlanex
    403 	dir eqn out
    404 	len eqn (4 * sizeof(GLfixed))
    405 
    406 #void glGetFixedvOES(GLenum pname, GLfixed *params)
    407 glGetFixedvOES
    408 	dir params out
    409 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    410 
    411 #void glGetLightxvOES(GLenum light, GLenum pname, GLfixed *params)
    412 glGetLightxvOES
    413 	dir params out
    414 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    415 
    416 #void glGetMaterialxvOES(GLenum face, GLenum pname, GLfixed *params)
    417 glGetMaterialxvOES
    418 	dir params out
    419 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    420 
    421 #void glGetTexEnvxvOES(GLenum env, GLenum pname, GLfixed *params)
    422 glGetTexEnvxvOES
    423 	dir params out
    424 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    425 
    426 #void glGetTexParameterxvOES(GLenum target, GLenum pname, GLfixed *params)
    427 glGetTexParameterxvOES
    428 	dir params out
    429 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    430 
    431 #void glLightModelxvOES(GLenum pname, GLfixed *params)
    432 glLightModelxvOES
    433 	dir params in
    434 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    435 
    436 #void glLightxvOES(GLenum light, GLenum pname, GLfixed *params)
    437 glLightxvOES
    438 	dir params in
    439 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    440 
    441 #void glLoadMatrixxOES(GLfixed *m)
    442 glLoadMatrixxOES
    443 	dir m in
    444 	len m (16 * sizeof(GLfixed))
    445 
    446 #void glMaterialxvOES(GLenum face, GLenum pname, GLfixed *params)
    447 glMaterialxvOES
    448 	dir params in
    449 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    450 
    451 #void glMultMatrixxOES(GLfixed *m)
    452 glMultMatrixxOES
    453 	dir m in
    454 	len m (16 * sizeof(GLfixed))
    455 
    456 #void glPointParameterxvOES(GLenum pname, GLfixed *params)
    457 glPointParameterxvOES
    458 	dir params in
    459 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    460 
    461 #void glTexEnvxvOES(GLenum target, GLenum pname, GLfixed *params)
    462 glTexEnvxvOES
    463 	dir params in
    464 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    465 
    466 #void glTexParameterxvOES(GLenum target, GLenum pname, GLfixed *params)
    467 glTexParameterxvOES
    468 	dir params in
    469 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    470 
    471 #void glDeleteRenderbuffersOES(GLsizei n, GLuint *renderbuffers)
    472 glDeleteRenderbuffersOES
    473 	dir renderbuffers in
    474 	len renderbuffers (n * sizeof(GLuint))
    475     param_check n if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } 
    476 
    477 #void glGenRenderbuffersOES(GLsizei n, GLuint *renderbuffers)
    478 glGenRenderbuffersOES
    479 	dir renderbuffers out 
    480 	len renderbuffers (n * sizeof(GLuint))
    481     param_check n if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } 
    482 
    483 #void glGetRenderbufferParameterivOES(GLenum target, GLenum pname, GLint *params)
    484 glGetRenderbufferParameterivOES
    485 	dir params out
    486 	len params (glUtilsParamSize(pname) * sizeof(GLint))
    487 
    488 #void glDeleteFramebuffersOES(GLsizei n, GLuint *framebuffers)
    489 glDeleteFramebuffersOES
    490 	dir framebuffers in
    491 	len framebuffers (n * sizeof(GLuint))
    492     param_check n if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } 
    493 
    494 #void glGenFramebuffersOES(GLsizei n, GLuint *framebuffers)
    495 glGenFramebuffersOES
    496 	dir framebuffers out
    497 	len framebuffers (n * sizeof(GLuint))
    498     param_check n if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } 
    499 
    500 #void glGetFramebufferAttachmentParameterivOES(GLenum target, GLenum attachment, GLenum pname, GLint *params)
    501 glGetFramebufferAttachmentParameterivOES
    502 	dir params out
    503 	len params (glUtilsParamSize(pname) * sizeof(GLint))
    504 
    505 #void* glMapBufferOES(GLenum target, GLenum access)
    506 glMapBufferOES
    507 	flag unsupported
    508 
    509 #void glGetBufferPointervOES(GLenum target, GLenum pname, GLvoid ** params)
    510 glGetBufferPointervOES
    511 	flag unsupported
    512 
    513 #void glMatrixIndexPointerOES(GLint size, GLenum type, GLsizei stride, GLvoid *pointer)
    514 glMatrixIndexPointerOES
    515 	len pointer (sizeof(unsigned int))
    516 	flag unsupported
    517 
    518 #void glWeightPointerOES(GLint size, GLenum type, GLsizei stride, GLvoid *pointer)
    519 glWeightPointerOES
    520 	len pointer (sizeof(unsigned int))
    521 	flag unsupported
    522 
    523 #glQueryMatrixxOES(GLfixed * mantissa, GLint * exponent)
    524 glQueryMatrixxOES
    525 	dir mantissa out
    526 	len mantissa (16 * sizeof(GLfixed))
    527 	dir exponent out
    528 	len exponent (16 * sizeof(GLfixed))
    529 
    530 #void glClipPlanefOES(GLenum plane, GLfloat *equation)
    531 glClipPlanefOES
    532 	dir equation in
    533 	len equation (4 * sizeof(GLfloat))
    534 
    535 #void glClipPlanefIMG(GLenum plane, GLfloat *equation)
    536 glClipPlanefIMG
    537 	dir equation in
    538 	len equation (4 * sizeof(GLfloat))
    539 
    540 #void glGetClipPlanefOES(GLenum pname, GLfloat * eqn)
    541 glGetClipPlanefOES
    542 	dir eqn out
    543 	len eqn (4 * sizeof(GLfloat))
    544 
    545 #void glTexGenfvOES(GLenum coord, GLenum pname, GLfloat *params)
    546 glTexGenfvOES
    547 	len params (glUtilsParamSize(pname) * sizeof(GLfloat))
    548 
    549 #void glTexGenivOES(GLenum coord, GLenum pname, GLint *params)
    550 glTexGenivOES
    551 	len params (glUtilsParamSize(pname) * sizeof(GLint))
    552 
    553 #void glTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params)
    554 glTexGenxvOES
    555 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    556 
    557 #void glGetTexGenfvOES(GLenum coord, GLenum pname, GLfloat *params)
    558 glGetTexGenfvOES
    559 	len params (glUtilsParamSize(pname) * sizeof(GLfloat))
    560 
    561 #void glGetTexGenivOES(GLenum coord, GLenum pname, GLint *params)
    562 glGetTexGenivOES
    563 	len params (glUtilsParamSize(pname) * sizeof(GLint))
    564 
    565 #void glGetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params)
    566 glGetTexGenxvOES
    567 	len params (glUtilsParamSize(pname) * sizeof(GLfixed))
    568 
    569 #void glDeleteVertexArraysOES(GLsizei n, const GLuint *arrays)
    570 glDeleteVertexArraysOES
    571 	dir arrays in
    572 	len arrays (n * sizeof(GLuint))
    573     param_check n if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } 
    574 
    575 #void glGenVertexArraysOES(GLsizei n, GLuint *arrays)
    576 glGenVertexArraysOES
    577 	dir arrays out
    578 	len arrays (n * sizeof(GLuint))
    579     param_check n if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } 
    580 
    581 #void glDiscardFramebufferEXT(GLenum target, GLsizei numAttachments, const GLenum *attachments)
    582 glDiscardFramebufferEXT
    583 	dir attachments in
    584 	len attachments (numAttachments * sizeof(const GLenum))
    585 
    586 #void glMultiDrawArraysEXT(GLenum mode, GLint *first, GLsizei *count, GLsizei primcount)
    587 glMultiDrawArraysEXT
    588 	flag unsupported
    589 	
    590 #void glMultiDrawElementsEXT(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount)
    591 glMultiDrawElementsEXT
    592 	flag unsupported
    593 
    594 #void glMultiDrawArraysSUN(GLenum mode, GLint *first, GLsizei *count, GLsizei primcount)
    595 glMultiDrawArraysSUN
    596 	flag unsupported
    597 	
    598 #void glMultiDrawElementsSUN(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount)
    599 glMultiDrawElementsSUN
    600 	flag unsupported
    601 
    602 #void glDeleteFencesNV(GLsizei n, const GLuint *fences)
    603 glDeleteFencesNV
    604 	dir fences in
    605 	len fences (n * sizeof(GLuint))
    606     param_check n if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } 
    607 
    608 #void glGenFencesNV(GLsizei n, GLuint *fences)
    609 glGenFencesNV
    610 	dir fences in
    611 	len fences (n * sizeof(GLuint))
    612     param_check n if(n<0){ ctx->setError(GL_INVALID_VALUE); return; } 
    613 
    614 #void glGetFenceivNV(GLuint fence, GLenum pname, GLint *params)
    615 glGetFenceivNV
    616 	dir params out
    617 	len params (glUtilsParamSize(pname) * sizeof(GLint))
    618 
    619 #void glGetDriverControlsQCOM(GLint *num, GLsizei size, GLuint *driverControls)
    620 glGetDriverControlsQCOM
    621 	dir num out
    622 	len num (1 * sizeof(GLint))
    623 	dir driverControls out
    624 	len driverControls (size * sizeof(GLuint))
    625 
    626 #void glGetDriverControlStringQCOM(GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString)
    627 glGetDriverControlStringQCOM
    628 	dir length out
    629 	len length (1 * sizeof(GLsizei))
    630 	dir driverControlString out
    631 	len driverControlString (1 * sizeof(GLchar))
    632 
    633 #void glExtGetTexturesQCOM(GLuint *textures, GLint maxTextures, GLint *numTextures)
    634 glExtGetTexturesQCOM
    635 	dir textures out
    636 	len textures (maxTextures * sizeof(GLuint))
    637 	dir numTextures out
    638 	len numTextures (1 * sizeof(GLint))
    639 
    640 #void glExtGetBuffersQCOM(GLuint *buffers, GLint maxBuffers, GLint *numBuffers)
    641 glExtGetBuffersQCOM
    642 	dir buffers out
    643 	len buffers (maxBuffers * sizeof(GLuint))
    644 	dir numBuffers out
    645 	len numBuffers (1 * sizeof(GLint))
    646 
    647 #void glExtGetRenderbuffersQCOM(GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers)
    648 glExtGetRenderbuffersQCOM
    649 	dir renderbuffers out
    650 	len renderbuffers (maxRenderbuffers * sizeof(GLuint))
    651 	dir numRenderbuffers out
    652 	len numRenderbuffers (1 * sizeof(GLint))
    653 
    654 #void glExtGetFramebuffersQCOM(GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers)
    655 glExtGetFramebuffersQCOM
    656 	dir framebuffers out
    657 	len framebuffers (maxFramebuffers * sizeof(GLuint))
    658 	dir numFramebuffers out
    659 	len numFramebuffers (1 * sizeof(GLint))
    660 
    661 #void glExtGetTexLevelParameterivQCOM(GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params)
    662 glExtGetTexLevelParameterivQCOM
    663 	dir params out
    664 	len params (glUtilsParamSize(pname) * sizeof(GLint))
    665 
    666 #void glExtGetTexSubImageQCOM(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels)
    667 glExtGetTexSubImageQCOM
    668 	dir texels out
    669 	len texels (depth * pixelDataSize(self, width, height, format, type, 0))
    670 
    671 #void glExtGetBufferPointervQCOM(GLenum target, GLvoid **params)
    672 glExtGetBufferPointervQCOM
    673 	flag unsupported
    674 
    675 #void glExtGetShadersQCOM(GLuint *shaders, GLint maxShaders, GLint *numShaders)
    676 glExtGetShadersQCOM
    677 	dir shaders out
    678 	len shaders (maxShaders * sizeof(GLuint))
    679 	dir numShaders out
    680 	len numShaders (1 * sizeof(GLint))
    681 
    682 #void glExtGetProgramsQCOM(GLuint *programs, GLint maxPrograms, GLint *numPrograms)
    683 glExtGetProgramsQCOM
    684 	dir programs out
    685 	len programs (maxPrograms * sizeof(GLuint))
    686 	dir numPrograms out
    687 	len numPrograms (1 * sizeof(GLint))
    688 
    689 #void glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, GLchar *source, GLint *length)
    690 glExtGetProgramBinarySourceQCOM
    691 	flag unsupported
    692