GLES11Ext.java revision 24ce5fb2cc09d0a14406e7b935f8648c5720d27e
1/* 2** 3** Copyright 2009, The Android Open Source Project 4** 5** Licensed under the Apache License, Version 2.0 (the "License"); 6** you may not use this file except in compliance with the License. 7** You may obtain a copy of the License at 8** 9** http://www.apache.org/licenses/LICENSE-2.0 10** 11** Unless required by applicable law or agreed to in writing, software 12** distributed under the License is distributed on an "AS IS" BASIS, 13** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14** See the License for the specific language governing permissions and 15** limitations under the License. 16*/ 17 18// This source file is automatically generated 19 20package android.opengl; 21 22import java.nio.Buffer; 23 24public class GLES11Ext { 25 public static final int GL_BLEND_EQUATION_RGB_OES = 0x8009; 26 public static final int GL_BLEND_EQUATION_ALPHA_OES = 0x883D; 27 public static final int GL_BLEND_DST_RGB_OES = 0x80C8; 28 public static final int GL_BLEND_SRC_RGB_OES = 0x80C9; 29 public static final int GL_BLEND_DST_ALPHA_OES = 0x80CA; 30 public static final int GL_BLEND_SRC_ALPHA_OES = 0x80CB; 31 public static final int GL_BLEND_EQUATION_OES = 0x8009; 32 public static final int GL_FUNC_ADD_OES = 0x8006; 33 public static final int GL_FUNC_SUBTRACT_OES = 0x800A; 34 public static final int GL_FUNC_REVERSE_SUBTRACT_OES = 0x800B; 35 public static final int GL_ETC1_RGB8_OES = 0x8D64; 36 public static final int GL_DEPTH_COMPONENT24_OES = 0x81A6; 37 public static final int GL_DEPTH_COMPONENT32_OES = 0x81A7; 38 public static final int GL_TEXTURE_CROP_RECT_OES = 0x8B9D; 39 public static final int GL_FIXED_OES = 0x140C; 40 public static final int GL_NONE_OES = 0; 41 public static final int GL_FRAMEBUFFER_OES = 0x8D40; 42 public static final int GL_RENDERBUFFER_OES = 0x8D41; 43 public static final int GL_RGBA4_OES = 0x8056; 44 public static final int GL_RGB5_A1_OES = 0x8057; 45 public static final int GL_RGB565_OES = 0x8D62; 46 public static final int GL_DEPTH_COMPONENT16_OES = 0x81A5; 47 public static final int GL_RENDERBUFFER_WIDTH_OES = 0x8D42; 48 public static final int GL_RENDERBUFFER_HEIGHT_OES = 0x8D43; 49 public static final int GL_RENDERBUFFER_INTERNAL_FORMAT_OES = 0x8D44; 50 public static final int GL_RENDERBUFFER_RED_SIZE_OES = 0x8D50; 51 public static final int GL_RENDERBUFFER_GREEN_SIZE_OES = 0x8D51; 52 public static final int GL_RENDERBUFFER_BLUE_SIZE_OES = 0x8D52; 53 public static final int GL_RENDERBUFFER_ALPHA_SIZE_OES = 0x8D53; 54 public static final int GL_RENDERBUFFER_DEPTH_SIZE_OES = 0x8D54; 55 public static final int GL_RENDERBUFFER_STENCIL_SIZE_OES = 0x8D55; 56 public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES = 0x8CD0; 57 public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES = 0x8CD1; 58 public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES = 0x8CD2; 59 public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES = 0x8CD3; 60 public static final int GL_COLOR_ATTACHMENT0_OES = 0x8CE0; 61 public static final int GL_DEPTH_ATTACHMENT_OES = 0x8D00; 62 public static final int GL_STENCIL_ATTACHMENT_OES = 0x8D20; 63 public static final int GL_FRAMEBUFFER_COMPLETE_OES = 0x8CD5; 64 public static final int GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES = 0x8CD6; 65 public static final int GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES = 0x8CD7; 66 public static final int GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES = 0x8CD9; 67 public static final int GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES = 0x8CDA; 68 public static final int GL_FRAMEBUFFER_UNSUPPORTED_OES = 0x8CDD; 69 public static final int GL_FRAMEBUFFER_BINDING_OES = 0x8CA6; 70 public static final int GL_RENDERBUFFER_BINDING_OES = 0x8CA7; 71 public static final int GL_MAX_RENDERBUFFER_SIZE_OES = 0x84E8; 72 public static final int GL_INVALID_FRAMEBUFFER_OPERATION_OES = 0x0506; 73 public static final int GL_WRITE_ONLY_OES = 0x88B9; 74 public static final int GL_BUFFER_ACCESS_OES = 0x88BB; 75 public static final int GL_BUFFER_MAPPED_OES = 0x88BC; 76 public static final int GL_BUFFER_MAP_POINTER_OES = 0x88BD; 77 public static final int GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898D; 78 public static final int GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898E; 79 public static final int GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898F; 80 public static final int GL_MAX_VERTEX_UNITS_OES = 0x86A4; 81 public static final int GL_MAX_PALETTE_MATRICES_OES = 0x8842; 82 public static final int GL_MATRIX_PALETTE_OES = 0x8840; 83 public static final int GL_MATRIX_INDEX_ARRAY_OES = 0x8844; 84 public static final int GL_WEIGHT_ARRAY_OES = 0x86AD; 85 public static final int GL_CURRENT_PALETTE_MATRIX_OES = 0x8843; 86 public static final int GL_MATRIX_INDEX_ARRAY_SIZE_OES = 0x8846; 87 public static final int GL_MATRIX_INDEX_ARRAY_TYPE_OES = 0x8847; 88 public static final int GL_MATRIX_INDEX_ARRAY_STRIDE_OES = 0x8848; 89 public static final int GL_MATRIX_INDEX_ARRAY_POINTER_OES = 0x8849; 90 public static final int GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES = 0x8B9E; 91 public static final int GL_WEIGHT_ARRAY_SIZE_OES = 0x86AB; 92 public static final int GL_WEIGHT_ARRAY_TYPE_OES = 0x86A9; 93 public static final int GL_WEIGHT_ARRAY_STRIDE_OES = 0x86AA; 94 public static final int GL_WEIGHT_ARRAY_POINTER_OES = 0x86AC; 95 public static final int GL_WEIGHT_ARRAY_BUFFER_BINDING_OES = 0x889E; 96 public static final int GL_DEPTH_STENCIL_OES = 0x84F9; 97 public static final int GL_UNSIGNED_INT_24_8_OES = 0x84FA; 98 public static final int GL_DEPTH24_STENCIL8_OES = 0x88F0; 99 public static final int GL_RGB8_OES = 0x8051; 100 public static final int GL_RGBA8_OES = 0x8058; 101 public static final int GL_STENCIL_INDEX1_OES = 0x8D46; 102 public static final int GL_STENCIL_INDEX4_OES = 0x8D47; 103 public static final int GL_STENCIL_INDEX8_OES = 0x8D48; 104 public static final int GL_INCR_WRAP_OES = 0x8507; 105 public static final int GL_DECR_WRAP_OES = 0x8508; 106 public static final int GL_NORMAL_MAP_OES = 0x8511; 107 public static final int GL_REFLECTION_MAP_OES = 0x8512; 108 public static final int GL_TEXTURE_CUBE_MAP_OES = 0x8513; 109 public static final int GL_TEXTURE_BINDING_CUBE_MAP_OES = 0x8514; 110 public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES = 0x8515; 111 public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES = 0x8516; 112 public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES = 0x8517; 113 public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES = 0x8518; 114 public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES = 0x8519; 115 public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES = 0x851A; 116 public static final int GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES = 0x851C; 117 public static final int GL_TEXTURE_GEN_MODE_OES = 0x2500; 118 public static final int GL_TEXTURE_GEN_STR_OES = 0x8D60; 119 public static final int GL_MIRRORED_REPEAT_OES = 0x8370; 120 public static final int GL_3DC_X_AMD = 0x87F9; 121 public static final int GL_3DC_XY_AMD = 0x87FA; 122 public static final int GL_ATC_RGB_AMD = 0x8C92; 123 public static final int GL_ATC_RGBA_EXPLICIT_ALPHA_AMD = 0x8C93; 124 public static final int GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD = 0x87EE; 125 public static final int GL_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; 126 public static final int GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; 127 public static final int GL_BGRA = 0x80E1; 128 129 native private static void _nativeClassInit(); 130 static { 131 _nativeClassInit(); 132 } 133 134 private static final int GL_BYTE = GLES10.GL_BYTE; 135 private static final int GL_FIXED = GLES10.GL_FIXED; 136 private static final int GL_FLOAT = GLES10.GL_FLOAT; 137 private static final int GL_SHORT = GLES10.GL_SHORT; 138 139 private static Buffer _matrixIndexPointerOES; 140 // C function void glBlendEquationSeparateOES ( GLenum modeRGB, GLenum modeAlpha ) 141 142 public static native void glBlendEquationSeparateOES( 143 int modeRGB, 144 int modeAlpha 145 ); 146 147 // C function void glBlendFuncSeparateOES ( GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha ) 148 149 public static native void glBlendFuncSeparateOES( 150 int srcRGB, 151 int dstRGB, 152 int srcAlpha, 153 int dstAlpha 154 ); 155 156 // C function void glBlendEquationOES ( GLenum mode ) 157 158 public static native void glBlendEquationOES( 159 int mode 160 ); 161 162 // C function void glDrawTexsOES ( GLshort x, GLshort y, GLshort z, GLshort width, GLshort height ) 163 164 public static native void glDrawTexsOES( 165 short x, 166 short y, 167 short z, 168 short width, 169 short height 170 ); 171 172 // C function void glDrawTexiOES ( GLint x, GLint y, GLint z, GLint width, GLint height ) 173 174 public static native void glDrawTexiOES( 175 int x, 176 int y, 177 int z, 178 int width, 179 int height 180 ); 181 182 // C function void glDrawTexxOES ( GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height ) 183 184 public static native void glDrawTexxOES( 185 int x, 186 int y, 187 int z, 188 int width, 189 int height 190 ); 191 192 // C function void glDrawTexsvOES ( const GLshort *coords ) 193 194 public static native void glDrawTexsvOES( 195 short[] coords, 196 int offset 197 ); 198 199 // C function void glDrawTexsvOES ( const GLshort *coords ) 200 201 public static native void glDrawTexsvOES( 202 java.nio.ShortBuffer coords 203 ); 204 205 // C function void glDrawTexivOES ( const GLint *coords ) 206 207 public static native void glDrawTexivOES( 208 int[] coords, 209 int offset 210 ); 211 212 // C function void glDrawTexivOES ( const GLint *coords ) 213 214 public static native void glDrawTexivOES( 215 java.nio.IntBuffer coords 216 ); 217 218 // C function void glDrawTexxvOES ( const GLfixed *coords ) 219 220 public static native void glDrawTexxvOES( 221 int[] coords, 222 int offset 223 ); 224 225 // C function void glDrawTexxvOES ( const GLfixed *coords ) 226 227 public static native void glDrawTexxvOES( 228 java.nio.IntBuffer coords 229 ); 230 231 // C function void glDrawTexfOES ( GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height ) 232 233 public static native void glDrawTexfOES( 234 float x, 235 float y, 236 float z, 237 float width, 238 float height 239 ); 240 241 // C function void glDrawTexfvOES ( const GLfloat *coords ) 242 243 public static native void glDrawTexfvOES( 244 float[] coords, 245 int offset 246 ); 247 248 // C function void glDrawTexfvOES ( const GLfloat *coords ) 249 250 public static native void glDrawTexfvOES( 251 java.nio.FloatBuffer coords 252 ); 253 254 // C function void glEGLImageTargetTexture2DOES ( GLenum target, GLeglImageOES image ) 255 256 public static native void glEGLImageTargetTexture2DOES( 257 int target, 258 java.nio.Buffer image 259 ); 260 261 // C function void glEGLImageTargetRenderbufferStorageOES ( GLenum target, GLeglImageOES image ) 262 263 public static native void glEGLImageTargetRenderbufferStorageOES( 264 int target, 265 java.nio.Buffer image 266 ); 267 268 // C function void glAlphaFuncxOES ( GLenum func, GLclampx ref ) 269 270 public static native void glAlphaFuncxOES( 271 int func, 272 int ref 273 ); 274 275 // C function void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 276 277 public static native void glClearColorxOES( 278 int red, 279 int green, 280 int blue, 281 int alpha 282 ); 283 284 // C function void glClearDepthxOES ( GLclampx depth ) 285 286 public static native void glClearDepthxOES( 287 int depth 288 ); 289 290 // C function void glClipPlanexOES ( GLenum plane, const GLfixed *equation ) 291 292 public static native void glClipPlanexOES( 293 int plane, 294 int[] equation, 295 int offset 296 ); 297 298 // C function void glClipPlanexOES ( GLenum plane, const GLfixed *equation ) 299 300 public static native void glClipPlanexOES( 301 int plane, 302 java.nio.IntBuffer equation 303 ); 304 305 // C function void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 306 307 public static native void glColor4xOES( 308 int red, 309 int green, 310 int blue, 311 int alpha 312 ); 313 314 // C function void glDepthRangexOES ( GLclampx zNear, GLclampx zFar ) 315 316 public static native void glDepthRangexOES( 317 int zNear, 318 int zFar 319 ); 320 321 // C function void glFogxOES ( GLenum pname, GLfixed param ) 322 323 public static native void glFogxOES( 324 int pname, 325 int param 326 ); 327 328 // C function void glFogxvOES ( GLenum pname, const GLfixed *params ) 329 330 public static native void glFogxvOES( 331 int pname, 332 int[] params, 333 int offset 334 ); 335 336 // C function void glFogxvOES ( GLenum pname, const GLfixed *params ) 337 338 public static native void glFogxvOES( 339 int pname, 340 java.nio.IntBuffer params 341 ); 342 343 // C function void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 344 345 public static native void glFrustumxOES( 346 int left, 347 int right, 348 int bottom, 349 int top, 350 int zNear, 351 int zFar 352 ); 353 354 // C function void glGetClipPlanexOES ( GLenum pname, GLfixed *eqn ) 355 356 public static native void glGetClipPlanexOES( 357 int pname, 358 int[] eqn, 359 int offset 360 ); 361 362 // C function void glGetClipPlanexOES ( GLenum pname, GLfixed *eqn ) 363 364 public static native void glGetClipPlanexOES( 365 int pname, 366 java.nio.IntBuffer eqn 367 ); 368 369 // C function void glGetFixedvOES ( GLenum pname, GLfixed *params ) 370 371 public static native void glGetFixedvOES( 372 int pname, 373 int[] params, 374 int offset 375 ); 376 377 // C function void glGetFixedvOES ( GLenum pname, GLfixed *params ) 378 379 public static native void glGetFixedvOES( 380 int pname, 381 java.nio.IntBuffer params 382 ); 383 384 // C function void glGetLightxvOES ( GLenum light, GLenum pname, GLfixed *params ) 385 386 public static native void glGetLightxvOES( 387 int light, 388 int pname, 389 int[] params, 390 int offset 391 ); 392 393 // C function void glGetLightxvOES ( GLenum light, GLenum pname, GLfixed *params ) 394 395 public static native void glGetLightxvOES( 396 int light, 397 int pname, 398 java.nio.IntBuffer params 399 ); 400 401 // C function void glGetMaterialxvOES ( GLenum face, GLenum pname, GLfixed *params ) 402 403 public static native void glGetMaterialxvOES( 404 int face, 405 int pname, 406 int[] params, 407 int offset 408 ); 409 410 // C function void glGetMaterialxvOES ( GLenum face, GLenum pname, GLfixed *params ) 411 412 public static native void glGetMaterialxvOES( 413 int face, 414 int pname, 415 java.nio.IntBuffer params 416 ); 417 418 // C function void glGetTexEnvxvOES ( GLenum env, GLenum pname, GLfixed *params ) 419 420 public static native void glGetTexEnvxvOES( 421 int env, 422 int pname, 423 int[] params, 424 int offset 425 ); 426 427 // C function void glGetTexEnvxvOES ( GLenum env, GLenum pname, GLfixed *params ) 428 429 public static native void glGetTexEnvxvOES( 430 int env, 431 int pname, 432 java.nio.IntBuffer params 433 ); 434 435 // C function void glGetTexParameterxvOES ( GLenum target, GLenum pname, GLfixed *params ) 436 437 public static native void glGetTexParameterxvOES( 438 int target, 439 int pname, 440 int[] params, 441 int offset 442 ); 443 444 // C function void glGetTexParameterxvOES ( GLenum target, GLenum pname, GLfixed *params ) 445 446 public static native void glGetTexParameterxvOES( 447 int target, 448 int pname, 449 java.nio.IntBuffer params 450 ); 451 452 // C function void glLightModelxOES ( GLenum pname, GLfixed param ) 453 454 public static native void glLightModelxOES( 455 int pname, 456 int param 457 ); 458 459 // C function void glLightModelxvOES ( GLenum pname, const GLfixed *params ) 460 461 public static native void glLightModelxvOES( 462 int pname, 463 int[] params, 464 int offset 465 ); 466 467 // C function void glLightModelxvOES ( GLenum pname, const GLfixed *params ) 468 469 public static native void glLightModelxvOES( 470 int pname, 471 java.nio.IntBuffer params 472 ); 473 474 // C function void glLightxOES ( GLenum light, GLenum pname, GLfixed param ) 475 476 public static native void glLightxOES( 477 int light, 478 int pname, 479 int param 480 ); 481 482 // C function void glLightxvOES ( GLenum light, GLenum pname, const GLfixed *params ) 483 484 public static native void glLightxvOES( 485 int light, 486 int pname, 487 int[] params, 488 int offset 489 ); 490 491 // C function void glLightxvOES ( GLenum light, GLenum pname, const GLfixed *params ) 492 493 public static native void glLightxvOES( 494 int light, 495 int pname, 496 java.nio.IntBuffer params 497 ); 498 499 // C function void glLineWidthxOES ( GLfixed width ) 500 501 public static native void glLineWidthxOES( 502 int width 503 ); 504 505 // C function void glLoadMatrixxOES ( const GLfixed *m ) 506 507 public static native void glLoadMatrixxOES( 508 int[] m, 509 int offset 510 ); 511 512 // C function void glLoadMatrixxOES ( const GLfixed *m ) 513 514 public static native void glLoadMatrixxOES( 515 java.nio.IntBuffer m 516 ); 517 518 // C function void glMaterialxOES ( GLenum face, GLenum pname, GLfixed param ) 519 520 public static native void glMaterialxOES( 521 int face, 522 int pname, 523 int param 524 ); 525 526 // C function void glMaterialxvOES ( GLenum face, GLenum pname, const GLfixed *params ) 527 528 public static native void glMaterialxvOES( 529 int face, 530 int pname, 531 int[] params, 532 int offset 533 ); 534 535 // C function void glMaterialxvOES ( GLenum face, GLenum pname, const GLfixed *params ) 536 537 public static native void glMaterialxvOES( 538 int face, 539 int pname, 540 java.nio.IntBuffer params 541 ); 542 543 // C function void glMultMatrixxOES ( const GLfixed *m ) 544 545 public static native void glMultMatrixxOES( 546 int[] m, 547 int offset 548 ); 549 550 // C function void glMultMatrixxOES ( const GLfixed *m ) 551 552 public static native void glMultMatrixxOES( 553 java.nio.IntBuffer m 554 ); 555 556 // C function void glMultiTexCoord4xOES ( GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q ) 557 558 public static native void glMultiTexCoord4xOES( 559 int target, 560 int s, 561 int t, 562 int r, 563 int q 564 ); 565 566 // C function void glNormal3xOES ( GLfixed nx, GLfixed ny, GLfixed nz ) 567 568 public static native void glNormal3xOES( 569 int nx, 570 int ny, 571 int nz 572 ); 573 574 // C function void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 575 576 public static native void glOrthoxOES( 577 int left, 578 int right, 579 int bottom, 580 int top, 581 int zNear, 582 int zFar 583 ); 584 585 // C function void glPointParameterxOES ( GLenum pname, GLfixed param ) 586 587 public static native void glPointParameterxOES( 588 int pname, 589 int param 590 ); 591 592 // C function void glPointParameterxvOES ( GLenum pname, const GLfixed *params ) 593 594 public static native void glPointParameterxvOES( 595 int pname, 596 int[] params, 597 int offset 598 ); 599 600 // C function void glPointParameterxvOES ( GLenum pname, const GLfixed *params ) 601 602 public static native void glPointParameterxvOES( 603 int pname, 604 java.nio.IntBuffer params 605 ); 606 607 // C function void glPointSizexOES ( GLfixed size ) 608 609 public static native void glPointSizexOES( 610 int size 611 ); 612 613 // C function void glPolygonOffsetxOES ( GLfixed factor, GLfixed units ) 614 615 public static native void glPolygonOffsetxOES( 616 int factor, 617 int units 618 ); 619 620 // C function void glRotatexOES ( GLfixed angle, GLfixed x, GLfixed y, GLfixed z ) 621 622 public static native void glRotatexOES( 623 int angle, 624 int x, 625 int y, 626 int z 627 ); 628 629 // C function void glSampleCoveragexOES ( GLclampx value, GLboolean invert ) 630 631 public static native void glSampleCoveragexOES( 632 int value, 633 boolean invert 634 ); 635 636 // C function void glScalexOES ( GLfixed x, GLfixed y, GLfixed z ) 637 638 public static native void glScalexOES( 639 int x, 640 int y, 641 int z 642 ); 643 644 // C function void glTexEnvxOES ( GLenum target, GLenum pname, GLfixed param ) 645 646 public static native void glTexEnvxOES( 647 int target, 648 int pname, 649 int param 650 ); 651 652 // C function void glTexEnvxvOES ( GLenum target, GLenum pname, const GLfixed *params ) 653 654 public static native void glTexEnvxvOES( 655 int target, 656 int pname, 657 int[] params, 658 int offset 659 ); 660 661 // C function void glTexEnvxvOES ( GLenum target, GLenum pname, const GLfixed *params ) 662 663 public static native void glTexEnvxvOES( 664 int target, 665 int pname, 666 java.nio.IntBuffer params 667 ); 668 669 // C function void glTexParameterxOES ( GLenum target, GLenum pname, GLfixed param ) 670 671 public static native void glTexParameterxOES( 672 int target, 673 int pname, 674 int param 675 ); 676 677 // C function void glTexParameterxvOES ( GLenum target, GLenum pname, const GLfixed *params ) 678 679 public static native void glTexParameterxvOES( 680 int target, 681 int pname, 682 int[] params, 683 int offset 684 ); 685 686 // C function void glTexParameterxvOES ( GLenum target, GLenum pname, const GLfixed *params ) 687 688 public static native void glTexParameterxvOES( 689 int target, 690 int pname, 691 java.nio.IntBuffer params 692 ); 693 694 // C function void glTranslatexOES ( GLfixed x, GLfixed y, GLfixed z ) 695 696 public static native void glTranslatexOES( 697 int x, 698 int y, 699 int z 700 ); 701 702 // C function GLboolean glIsRenderbufferOES ( GLuint renderbuffer ) 703 704 public static native boolean glIsRenderbufferOES( 705 int renderbuffer 706 ); 707 708 // C function void glBindRenderbufferOES ( GLenum target, GLuint renderbuffer ) 709 710 public static native void glBindRenderbufferOES( 711 int target, 712 int renderbuffer 713 ); 714 715 // C function void glDeleteRenderbuffersOES ( GLsizei n, const GLuint *renderbuffers ) 716 717 public static native void glDeleteRenderbuffersOES( 718 int n, 719 int[] renderbuffers, 720 int offset 721 ); 722 723 // C function void glDeleteRenderbuffersOES ( GLsizei n, const GLuint *renderbuffers ) 724 725 public static native void glDeleteRenderbuffersOES( 726 int n, 727 java.nio.IntBuffer renderbuffers 728 ); 729 730 // C function void glGenRenderbuffersOES ( GLsizei n, GLuint *renderbuffers ) 731 732 public static native void glGenRenderbuffersOES( 733 int n, 734 int[] renderbuffers, 735 int offset 736 ); 737 738 // C function void glGenRenderbuffersOES ( GLsizei n, GLuint *renderbuffers ) 739 740 public static native void glGenRenderbuffersOES( 741 int n, 742 java.nio.IntBuffer renderbuffers 743 ); 744 745 // C function void glRenderbufferStorageOES ( GLenum target, GLenum internalformat, GLsizei width, GLsizei height ) 746 747 public static native void glRenderbufferStorageOES( 748 int target, 749 int internalformat, 750 int width, 751 int height 752 ); 753 754 // C function void glGetRenderbufferParameterivOES ( GLenum target, GLenum pname, GLint *params ) 755 756 public static native void glGetRenderbufferParameterivOES( 757 int target, 758 int pname, 759 int[] params, 760 int offset 761 ); 762 763 // C function void glGetRenderbufferParameterivOES ( GLenum target, GLenum pname, GLint *params ) 764 765 public static native void glGetRenderbufferParameterivOES( 766 int target, 767 int pname, 768 java.nio.IntBuffer params 769 ); 770 771 // C function GLboolean glIsFramebufferOES ( GLuint framebuffer ) 772 773 public static native boolean glIsFramebufferOES( 774 int framebuffer 775 ); 776 777 // C function void glBindFramebufferOES ( GLenum target, GLuint framebuffer ) 778 779 public static native void glBindFramebufferOES( 780 int target, 781 int framebuffer 782 ); 783 784 // C function void glDeleteFramebuffersOES ( GLsizei n, const GLuint *framebuffers ) 785 786 public static native void glDeleteFramebuffersOES( 787 int n, 788 int[] framebuffers, 789 int offset 790 ); 791 792 // C function void glDeleteFramebuffersOES ( GLsizei n, const GLuint *framebuffers ) 793 794 public static native void glDeleteFramebuffersOES( 795 int n, 796 java.nio.IntBuffer framebuffers 797 ); 798 799 // C function void glGenFramebuffersOES ( GLsizei n, GLuint *framebuffers ) 800 801 public static native void glGenFramebuffersOES( 802 int n, 803 int[] framebuffers, 804 int offset 805 ); 806 807 // C function void glGenFramebuffersOES ( GLsizei n, GLuint *framebuffers ) 808 809 public static native void glGenFramebuffersOES( 810 int n, 811 java.nio.IntBuffer framebuffers 812 ); 813 814 // C function GLenum glCheckFramebufferStatusOES ( GLenum target ) 815 816 public static native int glCheckFramebufferStatusOES( 817 int target 818 ); 819 820 // C function void glFramebufferRenderbufferOES ( GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer ) 821 822 public static native void glFramebufferRenderbufferOES( 823 int target, 824 int attachment, 825 int renderbuffertarget, 826 int renderbuffer 827 ); 828 829 // C function void glFramebufferTexture2DOES ( GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level ) 830 831 public static native void glFramebufferTexture2DOES( 832 int target, 833 int attachment, 834 int textarget, 835 int texture, 836 int level 837 ); 838 839 // C function void glGetFramebufferAttachmentParameterivOES ( GLenum target, GLenum attachment, GLenum pname, GLint *params ) 840 841 public static native void glGetFramebufferAttachmentParameterivOES( 842 int target, 843 int attachment, 844 int pname, 845 int[] params, 846 int offset 847 ); 848 849 // C function void glGetFramebufferAttachmentParameterivOES ( GLenum target, GLenum attachment, GLenum pname, GLint *params ) 850 851 public static native void glGetFramebufferAttachmentParameterivOES( 852 int target, 853 int attachment, 854 int pname, 855 java.nio.IntBuffer params 856 ); 857 858 // C function void glGenerateMipmapOES ( GLenum target ) 859 860 public static native void glGenerateMipmapOES( 861 int target 862 ); 863 864 // C function void glCurrentPaletteMatrixOES ( GLuint matrixpaletteindex ) 865 866 public static native void glCurrentPaletteMatrixOES( 867 int matrixpaletteindex 868 ); 869 870 // C function void glLoadPaletteFromModelViewMatrixOES ( void ) 871 872 public static native void glLoadPaletteFromModelViewMatrixOES( 873 ); 874 875 // C function void glMatrixIndexPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) 876 877 private static native void glMatrixIndexPointerOESBounds( 878 int size, 879 int type, 880 int stride, 881 java.nio.Buffer pointer, 882 int remaining 883 ); 884 885 public static void glMatrixIndexPointerOES( 886 int size, 887 int type, 888 int stride, 889 java.nio.Buffer pointer 890 ) { 891 glMatrixIndexPointerOESBounds( 892 size, 893 type, 894 stride, 895 pointer, 896 pointer.remaining() 897 ); 898 if (((size == 2) || 899 (size == 3) || 900 (size == 4)) && 901 ((type == GL_FLOAT) || 902 (type == GL_BYTE) || 903 (type == GL_SHORT) || 904 (type == GL_FIXED)) && 905 (stride >= 0)) { 906 _matrixIndexPointerOES = pointer; 907 } 908 } 909 910 // C function void glWeightPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) 911 912 private static native void glWeightPointerOESBounds( 913 int size, 914 int type, 915 int stride, 916 java.nio.Buffer pointer, 917 int remaining 918 ); 919 920 public static void glWeightPointerOES( 921 int size, 922 int type, 923 int stride, 924 java.nio.Buffer pointer 925 ) { 926 glWeightPointerOESBounds( 927 size, 928 type, 929 stride, 930 pointer, 931 pointer.remaining() 932 ); 933 } 934 935 // C function void glDepthRangefOES ( GLclampf zNear, GLclampf zFar ) 936 937 public static native void glDepthRangefOES( 938 float zNear, 939 float zFar 940 ); 941 942 // C function void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 943 944 public static native void glFrustumfOES( 945 float left, 946 float right, 947 float bottom, 948 float top, 949 float zNear, 950 float zFar 951 ); 952 953 // C function void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 954 955 public static native void glOrthofOES( 956 float left, 957 float right, 958 float bottom, 959 float top, 960 float zNear, 961 float zFar 962 ); 963 964 // C function void glClipPlanefOES ( GLenum plane, const GLfloat *equation ) 965 966 public static native void glClipPlanefOES( 967 int plane, 968 float[] equation, 969 int offset 970 ); 971 972 // C function void glClipPlanefOES ( GLenum plane, const GLfloat *equation ) 973 974 public static native void glClipPlanefOES( 975 int plane, 976 java.nio.FloatBuffer equation 977 ); 978 979 // C function void glGetClipPlanefOES ( GLenum pname, GLfloat *eqn ) 980 981 public static native void glGetClipPlanefOES( 982 int pname, 983 float[] eqn, 984 int offset 985 ); 986 987 // C function void glGetClipPlanefOES ( GLenum pname, GLfloat *eqn ) 988 989 public static native void glGetClipPlanefOES( 990 int pname, 991 java.nio.FloatBuffer eqn 992 ); 993 994 // C function void glClearDepthfOES ( GLclampf depth ) 995 996 public static native void glClearDepthfOES( 997 float depth 998 ); 999 1000 // C function void glTexGenfOES ( GLenum coord, GLenum pname, GLfloat param ) 1001 1002 public static native void glTexGenfOES( 1003 int coord, 1004 int pname, 1005 float param 1006 ); 1007 1008 // C function void glTexGenfvOES ( GLenum coord, GLenum pname, const GLfloat *params ) 1009 1010 public static native void glTexGenfvOES( 1011 int coord, 1012 int pname, 1013 float[] params, 1014 int offset 1015 ); 1016 1017 // C function void glTexGenfvOES ( GLenum coord, GLenum pname, const GLfloat *params ) 1018 1019 public static native void glTexGenfvOES( 1020 int coord, 1021 int pname, 1022 java.nio.FloatBuffer params 1023 ); 1024 1025 // C function void glTexGeniOES ( GLenum coord, GLenum pname, GLint param ) 1026 1027 public static native void glTexGeniOES( 1028 int coord, 1029 int pname, 1030 int param 1031 ); 1032 1033 // C function void glTexGenivOES ( GLenum coord, GLenum pname, const GLint *params ) 1034 1035 public static native void glTexGenivOES( 1036 int coord, 1037 int pname, 1038 int[] params, 1039 int offset 1040 ); 1041 1042 // C function void glTexGenivOES ( GLenum coord, GLenum pname, const GLint *params ) 1043 1044 public static native void glTexGenivOES( 1045 int coord, 1046 int pname, 1047 java.nio.IntBuffer params 1048 ); 1049 1050 // C function void glTexGenxOES ( GLenum coord, GLenum pname, GLfixed param ) 1051 1052 public static native void glTexGenxOES( 1053 int coord, 1054 int pname, 1055 int param 1056 ); 1057 1058 // C function void glTexGenxvOES ( GLenum coord, GLenum pname, const GLfixed *params ) 1059 1060 public static native void glTexGenxvOES( 1061 int coord, 1062 int pname, 1063 int[] params, 1064 int offset 1065 ); 1066 1067 // C function void glTexGenxvOES ( GLenum coord, GLenum pname, const GLfixed *params ) 1068 1069 public static native void glTexGenxvOES( 1070 int coord, 1071 int pname, 1072 java.nio.IntBuffer params 1073 ); 1074 1075 // C function void glGetTexGenfvOES ( GLenum coord, GLenum pname, GLfloat *params ) 1076 1077 public static native void glGetTexGenfvOES( 1078 int coord, 1079 int pname, 1080 float[] params, 1081 int offset 1082 ); 1083 1084 // C function void glGetTexGenfvOES ( GLenum coord, GLenum pname, GLfloat *params ) 1085 1086 public static native void glGetTexGenfvOES( 1087 int coord, 1088 int pname, 1089 java.nio.FloatBuffer params 1090 ); 1091 1092 // C function void glGetTexGenivOES ( GLenum coord, GLenum pname, GLint *params ) 1093 1094 public static native void glGetTexGenivOES( 1095 int coord, 1096 int pname, 1097 int[] params, 1098 int offset 1099 ); 1100 1101 // C function void glGetTexGenivOES ( GLenum coord, GLenum pname, GLint *params ) 1102 1103 public static native void glGetTexGenivOES( 1104 int coord, 1105 int pname, 1106 java.nio.IntBuffer params 1107 ); 1108 1109 // C function void glGetTexGenxvOES ( GLenum coord, GLenum pname, GLfixed *params ) 1110 1111 public static native void glGetTexGenxvOES( 1112 int coord, 1113 int pname, 1114 int[] params, 1115 int offset 1116 ); 1117 1118 // C function void glGetTexGenxvOES ( GLenum coord, GLenum pname, GLfixed *params ) 1119 1120 public static native void glGetTexGenxvOES( 1121 int coord, 1122 int pname, 1123 java.nio.IntBuffer params 1124 ); 1125 1126} 1127