1GLOBAL 2 base_opcode 1024 3 encoder_headers "glUtils.h" "GLEncoderUtils.h" 4 5#void glClipPlanef(GLenum plane, GLfloat *equation) 6glClipPlanef 7 dir equation in 8 len equation (4 * sizeof(float)) 9 10#void glFogfv(GLenum pname, GLfloat *params) 11glFogfv 12 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 13 14#void glGetFloatv(GLenum pname, GLfloat *params) 15glGetFloatv 16 dir params out 17 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 18 19#void glGetLightfv(GLenum light, GLenum pname, GLfloat *params) 20glGetLightfv 21 dir params out 22 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 23 24#void glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params) 25glGetMaterialfv 26 dir params out 27 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 28 29#void glGetTexEnvfv(GLenum env, GLenum pname, GLfloat *params) 30glGetTexEnvfv 31 dir params out 32 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 33 34#void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params) 35glGetTexParameterfv 36 dir params out 37 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 38 39#void glLightModelfv(GLenum pname, GLfloat *params) 40glLightModelfv 41 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 42 43#void glLightfv(GLenum light, GLenum pname, GLfloat *params) 44glLightfv 45 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 46 47#void glLoadMatrixf(GLfloat *m) 48glLoadMatrixf 49 len m (16 * sizeof(GLfloat)) 50 51#void glMaterialfv(GLenum face, GLenum pname, GLfloat *params) 52glMaterialfv 53 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 54 55#void glMultMatrixf(GLfloat *m) 56glMultMatrixf 57 len m (16 * sizeof(GLfloat)) 58 59#void glPointParameterfv(GLenum pname, GLfloat *params) 60glPointParameterfv 61 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 62 63#void glTexEnvfv(GLenum target, GLenum pname, GLfloat *params) 64glTexEnvfv 65 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 66 67#void glTexParameterfv(GLenum target, GLenum pname, GLfloat *params) 68glTexParameterfv 69 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 70 71#void glBufferData(GLenum target, GLsizeiptr size, GLvoid *data, GLenum usage) 72glBufferData 73 len data size 74 75#void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data) 76glBufferSubData 77 dir data in 78 len data size 79 80#void glClipPlanex(GLenum plane, GLfixed *eqn) 81glClipPlanex 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 87glColorPointer 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) 92glCompressedTexImage2D 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) 97glCompressedTexSubImage2D 98 len data imageSize 99 100#void glDeleteBuffers(GLsizei n, GLuint *buffers) 101glDeleteBuffers 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) 106glDeleteTextures 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) 113glDrawElements 114 flag unsupported 115 116 117#void glFogxv(GLenum pname, GLfixed *params) 118glFogxv 119 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 120 121#void glGetBooleanv(GLenum pname, GLboolean *params) 122glGetBooleanv 123 dir params out 124 len params (glUtilsParamSize(pname) * sizeof(GLboolean)) 125 126#void glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params) 127glGetBufferParameteriv 128 len params (sizeof(GLint)) 129 dir params out 130 131#void glGenBuffers(GLsizei n, GLuint *buffers) 132glGenBuffers 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) 138glGenTextures 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) 144glGetFixedv 145 dir params out 146 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 147 148#void glGetIntegerv(GLenum pname, GLint *params) 149glGetIntegerv 150 dir params out 151 len params (glUtilsParamSize(pname) * sizeof(GLint)) 152 153#void glGetLightxv(GLenum light, GLenum pname, GLfixed *params) 154glGetLightxv 155 dir params out 156 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 157 158#void glGetMaterialxv(GLenum face, GLenum pname, GLfixed *params) 159glGetMaterialxv 160 dir params out 161 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 162 163#void glGetPointerv(GLenum pname, void **params) 164glGetPointerv 165 flag unsupported 166 167#GLubyte* glGetString(GLenum name) 168glGetString 169 flag unsupported 170 171#void glGetTexEnviv(GLenum env, GLenum pname, GLint *params) 172glGetTexEnviv 173 dir params out 174 len params (glUtilsParamSize(pname) * sizeof(GLint)) 175 176#void glGetTexEnvxv(GLenum env, GLenum pname, GLfixed *params) 177glGetTexEnvxv 178 dir params out 179 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 180 181#void glGetTexParameteriv(GLenum target, GLenum pname, GLint *params) 182glGetTexParameteriv 183 dir params out 184 len params (sizeof(GLint)) 185 186#void glGetTexParameterxv(GLenum target, GLenum pname, GLfixed *params) 187glGetTexParameterxv 188 dir params out 189 len params (sizeof(GLfixed)) 190 191#void glLightModelxv(GLenum pname, GLfixed *params) 192glLightModelxv 193 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 194 195#void glLightxv(GLenum light, GLenum pname, GLfixed *params) 196glLightxv 197 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 198 199#void glLoadMatrixx(GLfixed *m) 200glLoadMatrixx 201 len m (16 * sizeof(GLfixed)) 202 203#void glMaterialxv(GLenum face, GLenum pname, GLfixed *params) 204glMaterialxv 205 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 206 207#void glMultMatrixx(GLfixed *m) 208glMultMatrixx 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 213glNormalPointer 214 len pointer (sizeof(unsigned int)) 215 flag unsupported 216 217#void glPointParameterxv(GLenum pname, GLfixed *params) 218glPointParameterxv 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) 222glReadPixels 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) 227glTexCoordPointer 228 len pointer (sizeof(unsigned int)) 229 flag unsupported 230 231#void glTexEnviv(GLenum target, GLenum pname, GLint *params) 232glTexEnviv 233 len params (glUtilsParamSize(pname) * sizeof(GLint)) 234 235#void glTexEnvxv(GLenum target, GLenum pname, GLfixed *params) 236glTexEnvxv 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) 240glTexImage2D 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) 246glTexParameteriv 247 len params (glUtilsParamSize(pname) * sizeof(GLint)) 248 249#void glTexParameterxv(GLenum target, GLenum pname, GLfixed *params) 250glTexParameterxv 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) 254glTexSubImage2D 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 260glVertexPointer 261 flag unsupported 262 263#void glPointSizePointerOES(GLenum type, GLsizei stride, GLvoid *pointer) 264glPointSizePointerOES 265 len pointer (sizeof(unsigned int)) 266 flag unsupported 267 268#void glGetClipPlanef(GLenum pname, GLfloat * eqn) 269glGetClipPlanef 270 dir eqn out 271 len eqn (4 * sizeof(GLfloat)) 272 273#void glVertexPointerData(GLint size, GLenum type, GLsizei stride, void *data, GLuint datalen) 274glVertexPointerData 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) 281glColorPointerData 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) 288glNormalPointerData 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) 295glPointSizePointerData 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) 302glTexCoordPointerData 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) 309glWeightPointerData 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) 316glMatrixIndexPointerData 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 322glVertexPointerOffset 323 flag custom_decoder 324 flag not_api 325glNormalPointerOffset 326 flag custom_decoder 327 flag not_api 328glTexCoordPointerOffset 329 flag custom_decoder 330 flag not_api 331glPointSizePointerOffset 332 flag custom_decoder 333 flag not_api 334glColorPointerOffset 335 flag custom_decoder 336 flag not_api 337glWeightPointerOffset 338 flag custom_decoder 339 flag not_api 340glMatrixIndexPointerOffset 341 flag custom_decoder 342 flag not_api 343 344glDrawElementsData 345 len data datalen 346 flag custom_decoder 347 flag not_api 348 349glDrawElementsOffset 350 flag custom_decoder 351 flag not_api 352 353glGetCompressedTextureFormats 354 dir formats out 355 len formats (count * sizeof(GLint)) 356 flag custom_decoder 357 flag not_api 358 359glFinishRoundTrip 360 flag custom_decoder 361 flag not_api 362 363#gles1 extensions 364 365#void glDrawTexsvOES(GLshort *coords) 366glDrawTexsvOES 367 len coords (5 * sizeof(GLshort)) 368 369#void glDrawTexivOES(GLint *coords) 370glDrawTexivOES 371 len coords (5 * sizeof(GLint)) 372 373#void glDrawTexxvOES(GLfixed *coords) 374glDrawTexxvOES 375 len coords (5 * sizeof(GLfixed)) 376 377#void glDrawTexfvOES(GLfloat *coords) 378glDrawTexfvOES 379 len coords (5 * sizeof(GLfloat)) 380 381#glClipPlanexOES(GLenum plane, const GLfixed * equation) 382glClipPlanexOES 383 dir equation in 384 len equation (4 * sizeof(GLfixed)) 385 386#glClipPlanexIMG(GLenum plane, const GLfixed * equation) 387glClipPlanexIMG 388 dir equation in 389 len equation (4 * sizeof(GLfixed)) 390 391#void glFogxvOES(GLenum pname, GLfixed *params) 392glFogxvOES 393 dir params in 394 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 395 396#void glGetClipPlanexOES(GLenum pname, GLfixed * eqn) 397glGetClipPlanexOES 398 dir eqn out 399 len eqn (4 * sizeof(GLfixed)) 400 401#void glGetClipPlanex(GLenum pname, GLfixed * eqn) 402glGetClipPlanex 403 dir eqn out 404 len eqn (4 * sizeof(GLfixed)) 405 406#void glGetFixedvOES(GLenum pname, GLfixed *params) 407glGetFixedvOES 408 dir params out 409 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 410 411#void glGetLightxvOES(GLenum light, GLenum pname, GLfixed *params) 412glGetLightxvOES 413 dir params out 414 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 415 416#void glGetMaterialxvOES(GLenum face, GLenum pname, GLfixed *params) 417glGetMaterialxvOES 418 dir params out 419 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 420 421#void glGetTexEnvxvOES(GLenum env, GLenum pname, GLfixed *params) 422glGetTexEnvxvOES 423 dir params out 424 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 425 426#void glGetTexParameterxvOES(GLenum target, GLenum pname, GLfixed *params) 427glGetTexParameterxvOES 428 dir params out 429 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 430 431#void glLightModelxvOES(GLenum pname, GLfixed *params) 432glLightModelxvOES 433 dir params in 434 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 435 436#void glLightxvOES(GLenum light, GLenum pname, GLfixed *params) 437glLightxvOES 438 dir params in 439 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 440 441#void glLoadMatrixxOES(GLfixed *m) 442glLoadMatrixxOES 443 dir m in 444 len m (16 * sizeof(GLfixed)) 445 446#void glMaterialxvOES(GLenum face, GLenum pname, GLfixed *params) 447glMaterialxvOES 448 dir params in 449 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 450 451#void glMultMatrixxOES(GLfixed *m) 452glMultMatrixxOES 453 dir m in 454 len m (16 * sizeof(GLfixed)) 455 456#void glPointParameterxvOES(GLenum pname, GLfixed *params) 457glPointParameterxvOES 458 dir params in 459 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 460 461#void glTexEnvxvOES(GLenum target, GLenum pname, GLfixed *params) 462glTexEnvxvOES 463 dir params in 464 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 465 466#void glTexParameterxvOES(GLenum target, GLenum pname, GLfixed *params) 467glTexParameterxvOES 468 dir params in 469 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 470 471#void glDeleteRenderbuffersOES(GLsizei n, GLuint *renderbuffers) 472glDeleteRenderbuffersOES 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) 478glGenRenderbuffersOES 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) 484glGetRenderbufferParameterivOES 485 dir params out 486 len params (glUtilsParamSize(pname) * sizeof(GLint)) 487 488#void glDeleteFramebuffersOES(GLsizei n, GLuint *framebuffers) 489glDeleteFramebuffersOES 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) 495glGenFramebuffersOES 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) 501glGetFramebufferAttachmentParameterivOES 502 dir params out 503 len params (glUtilsParamSize(pname) * sizeof(GLint)) 504 505#void* glMapBufferOES(GLenum target, GLenum access) 506glMapBufferOES 507 flag unsupported 508 509#void glGetBufferPointervOES(GLenum target, GLenum pname, GLvoid ** params) 510glGetBufferPointervOES 511 flag unsupported 512 513#void glMatrixIndexPointerOES(GLint size, GLenum type, GLsizei stride, GLvoid *pointer) 514glMatrixIndexPointerOES 515 len pointer (sizeof(unsigned int)) 516 flag unsupported 517 518#void glWeightPointerOES(GLint size, GLenum type, GLsizei stride, GLvoid *pointer) 519glWeightPointerOES 520 len pointer (sizeof(unsigned int)) 521 flag unsupported 522 523#glQueryMatrixxOES(GLfixed * mantissa, GLint * exponent) 524glQueryMatrixxOES 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) 531glClipPlanefOES 532 dir equation in 533 len equation (4 * sizeof(GLfloat)) 534 535#void glClipPlanefIMG(GLenum plane, GLfloat *equation) 536glClipPlanefIMG 537 dir equation in 538 len equation (4 * sizeof(GLfloat)) 539 540#void glGetClipPlanefOES(GLenum pname, GLfloat * eqn) 541glGetClipPlanefOES 542 dir eqn out 543 len eqn (4 * sizeof(GLfloat)) 544 545#void glTexGenfvOES(GLenum coord, GLenum pname, GLfloat *params) 546glTexGenfvOES 547 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 548 549#void glTexGenivOES(GLenum coord, GLenum pname, GLint *params) 550glTexGenivOES 551 len params (glUtilsParamSize(pname) * sizeof(GLint)) 552 553#void glTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params) 554glTexGenxvOES 555 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 556 557#void glGetTexGenfvOES(GLenum coord, GLenum pname, GLfloat *params) 558glGetTexGenfvOES 559 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 560 561#void glGetTexGenivOES(GLenum coord, GLenum pname, GLint *params) 562glGetTexGenivOES 563 len params (glUtilsParamSize(pname) * sizeof(GLint)) 564 565#void glGetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params) 566glGetTexGenxvOES 567 len params (glUtilsParamSize(pname) * sizeof(GLfixed)) 568 569#void glDeleteVertexArraysOES(GLsizei n, const GLuint *arrays) 570glDeleteVertexArraysOES 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) 576glGenVertexArraysOES 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) 582glDiscardFramebufferEXT 583 dir attachments in 584 len attachments (numAttachments * sizeof(const GLenum)) 585 586#void glMultiDrawArraysEXT(GLenum mode, GLint *first, GLsizei *count, GLsizei primcount) 587glMultiDrawArraysEXT 588 flag unsupported 589 590#void glMultiDrawElementsEXT(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount) 591glMultiDrawElementsEXT 592 flag unsupported 593 594#void glMultiDrawArraysSUN(GLenum mode, GLint *first, GLsizei *count, GLsizei primcount) 595glMultiDrawArraysSUN 596 flag unsupported 597 598#void glMultiDrawElementsSUN(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount) 599glMultiDrawElementsSUN 600 flag unsupported 601 602#void glDeleteFencesNV(GLsizei n, const GLuint *fences) 603glDeleteFencesNV 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) 609glGenFencesNV 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) 615glGetFenceivNV 616 dir params out 617 len params (glUtilsParamSize(pname) * sizeof(GLint)) 618 619#void glGetDriverControlsQCOM(GLint *num, GLsizei size, GLuint *driverControls) 620glGetDriverControlsQCOM 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) 627glGetDriverControlStringQCOM 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) 634glExtGetTexturesQCOM 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) 641glExtGetBuffersQCOM 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) 648glExtGetRenderbuffersQCOM 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) 655glExtGetFramebuffersQCOM 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) 662glExtGetTexLevelParameterivQCOM 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) 667glExtGetTexSubImageQCOM 668 dir texels out 669 len texels (depth * pixelDataSize(self, width, height, format, type, 0)) 670 671#void glExtGetBufferPointervQCOM(GLenum target, GLvoid **params) 672glExtGetBufferPointervQCOM 673 flag unsupported 674 675#void glExtGetShadersQCOM(GLuint *shaders, GLint maxShaders, GLint *numShaders) 676glExtGetShadersQCOM 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) 683glExtGetProgramsQCOM 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) 690glExtGetProgramBinarySourceQCOM 691 flag unsupported 692