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