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 public static final int GL_TEXTURE_EXTERNAL_OES = 0x8D65; 129 public static final int GL_SAMPLER_EXTERNAL_OES = 0x8D66; 130 public static final int GL_TEXTURE_BINDING_EXTERNAL_OES = 0x8D67; 131 public static final int GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES = 0x8D68; 132 133 native private static void _nativeClassInit(); 134 static { 135 _nativeClassInit(); 136 } 137 138 private static final int GL_BYTE = GLES10.GL_BYTE; 139 private static final int GL_FIXED = GLES10.GL_FIXED; 140 private static final int GL_FLOAT = GLES10.GL_FLOAT; 141 private static final int GL_SHORT = GLES10.GL_SHORT; 142 143 private static Buffer _matrixIndexPointerOES; 144 // C function void glBlendEquationSeparateOES ( GLenum modeRGB, GLenum modeAlpha ) 145 146 public static native void glBlendEquationSeparateOES( 147 int modeRGB, 148 int modeAlpha 149 ); 150 151 // C function void glBlendFuncSeparateOES ( GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha ) 152 153 public static native void glBlendFuncSeparateOES( 154 int srcRGB, 155 int dstRGB, 156 int srcAlpha, 157 int dstAlpha 158 ); 159 160 // C function void glBlendEquationOES ( GLenum mode ) 161 162 public static native void glBlendEquationOES( 163 int mode 164 ); 165 166 // C function void glDrawTexsOES ( GLshort x, GLshort y, GLshort z, GLshort width, GLshort height ) 167 168 public static native void glDrawTexsOES( 169 short x, 170 short y, 171 short z, 172 short width, 173 short height 174 ); 175 176 // C function void glDrawTexiOES ( GLint x, GLint y, GLint z, GLint width, GLint height ) 177 178 public static native void glDrawTexiOES( 179 int x, 180 int y, 181 int z, 182 int width, 183 int height 184 ); 185 186 // C function void glDrawTexxOES ( GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height ) 187 188 public static native void glDrawTexxOES( 189 int x, 190 int y, 191 int z, 192 int width, 193 int height 194 ); 195 196 // C function void glDrawTexsvOES ( const GLshort *coords ) 197 198 public static native void glDrawTexsvOES( 199 short[] coords, 200 int offset 201 ); 202 203 // C function void glDrawTexsvOES ( const GLshort *coords ) 204 205 public static native void glDrawTexsvOES( 206 java.nio.ShortBuffer coords 207 ); 208 209 // C function void glDrawTexivOES ( const GLint *coords ) 210 211 public static native void glDrawTexivOES( 212 int[] coords, 213 int offset 214 ); 215 216 // C function void glDrawTexivOES ( const GLint *coords ) 217 218 public static native void glDrawTexivOES( 219 java.nio.IntBuffer coords 220 ); 221 222 // C function void glDrawTexxvOES ( const GLfixed *coords ) 223 224 public static native void glDrawTexxvOES( 225 int[] coords, 226 int offset 227 ); 228 229 // C function void glDrawTexxvOES ( const GLfixed *coords ) 230 231 public static native void glDrawTexxvOES( 232 java.nio.IntBuffer coords 233 ); 234 235 // C function void glDrawTexfOES ( GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height ) 236 237 public static native void glDrawTexfOES( 238 float x, 239 float y, 240 float z, 241 float width, 242 float height 243 ); 244 245 // C function void glDrawTexfvOES ( const GLfloat *coords ) 246 247 public static native void glDrawTexfvOES( 248 float[] coords, 249 int offset 250 ); 251 252 // C function void glDrawTexfvOES ( const GLfloat *coords ) 253 254 public static native void glDrawTexfvOES( 255 java.nio.FloatBuffer coords 256 ); 257 258 // C function void glEGLImageTargetTexture2DOES ( GLenum target, GLeglImageOES image ) 259 260 public static native void glEGLImageTargetTexture2DOES( 261 int target, 262 java.nio.Buffer image 263 ); 264 265 // C function void glEGLImageTargetRenderbufferStorageOES ( GLenum target, GLeglImageOES image ) 266 267 public static native void glEGLImageTargetRenderbufferStorageOES( 268 int target, 269 java.nio.Buffer image 270 ); 271 272 // C function void glAlphaFuncxOES ( GLenum func, GLclampx ref ) 273 274 public static native void glAlphaFuncxOES( 275 int func, 276 int ref 277 ); 278 279 // C function void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 280 281 public static native void glClearColorxOES( 282 int red, 283 int green, 284 int blue, 285 int alpha 286 ); 287 288 // C function void glClearDepthxOES ( GLclampx depth ) 289 290 public static native void glClearDepthxOES( 291 int depth 292 ); 293 294 // C function void glClipPlanexOES ( GLenum plane, const GLfixed *equation ) 295 296 public static native void glClipPlanexOES( 297 int plane, 298 int[] equation, 299 int offset 300 ); 301 302 // C function void glClipPlanexOES ( GLenum plane, const GLfixed *equation ) 303 304 public static native void glClipPlanexOES( 305 int plane, 306 java.nio.IntBuffer equation 307 ); 308 309 // C function void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 310 311 public static native void glColor4xOES( 312 int red, 313 int green, 314 int blue, 315 int alpha 316 ); 317 318 // C function void glDepthRangexOES ( GLclampx zNear, GLclampx zFar ) 319 320 public static native void glDepthRangexOES( 321 int zNear, 322 int zFar 323 ); 324 325 // C function void glFogxOES ( GLenum pname, GLfixed param ) 326 327 public static native void glFogxOES( 328 int pname, 329 int param 330 ); 331 332 // C function void glFogxvOES ( GLenum pname, const GLfixed *params ) 333 334 public static native void glFogxvOES( 335 int pname, 336 int[] params, 337 int offset 338 ); 339 340 // C function void glFogxvOES ( GLenum pname, const GLfixed *params ) 341 342 public static native void glFogxvOES( 343 int pname, 344 java.nio.IntBuffer params 345 ); 346 347 // C function void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 348 349 public static native void glFrustumxOES( 350 int left, 351 int right, 352 int bottom, 353 int top, 354 int zNear, 355 int zFar 356 ); 357 358 // C function void glGetClipPlanexOES ( GLenum pname, GLfixed *eqn ) 359 360 public static native void glGetClipPlanexOES( 361 int pname, 362 int[] eqn, 363 int offset 364 ); 365 366 // C function void glGetClipPlanexOES ( GLenum pname, GLfixed *eqn ) 367 368 public static native void glGetClipPlanexOES( 369 int pname, 370 java.nio.IntBuffer eqn 371 ); 372 373 // C function void glGetFixedvOES ( GLenum pname, GLfixed *params ) 374 375 public static native void glGetFixedvOES( 376 int pname, 377 int[] params, 378 int offset 379 ); 380 381 // C function void glGetFixedvOES ( GLenum pname, GLfixed *params ) 382 383 public static native void glGetFixedvOES( 384 int pname, 385 java.nio.IntBuffer params 386 ); 387 388 // C function void glGetLightxvOES ( GLenum light, GLenum pname, GLfixed *params ) 389 390 public static native void glGetLightxvOES( 391 int light, 392 int pname, 393 int[] params, 394 int offset 395 ); 396 397 // C function void glGetLightxvOES ( GLenum light, GLenum pname, GLfixed *params ) 398 399 public static native void glGetLightxvOES( 400 int light, 401 int pname, 402 java.nio.IntBuffer params 403 ); 404 405 // C function void glGetMaterialxvOES ( GLenum face, GLenum pname, GLfixed *params ) 406 407 public static native void glGetMaterialxvOES( 408 int face, 409 int pname, 410 int[] params, 411 int offset 412 ); 413 414 // C function void glGetMaterialxvOES ( GLenum face, GLenum pname, GLfixed *params ) 415 416 public static native void glGetMaterialxvOES( 417 int face, 418 int pname, 419 java.nio.IntBuffer params 420 ); 421 422 // C function void glGetTexEnvxvOES ( GLenum env, GLenum pname, GLfixed *params ) 423 424 public static native void glGetTexEnvxvOES( 425 int env, 426 int pname, 427 int[] params, 428 int offset 429 ); 430 431 // C function void glGetTexEnvxvOES ( GLenum env, GLenum pname, GLfixed *params ) 432 433 public static native void glGetTexEnvxvOES( 434 int env, 435 int pname, 436 java.nio.IntBuffer params 437 ); 438 439 // C function void glGetTexParameterxvOES ( GLenum target, GLenum pname, GLfixed *params ) 440 441 public static native void glGetTexParameterxvOES( 442 int target, 443 int pname, 444 int[] params, 445 int offset 446 ); 447 448 // C function void glGetTexParameterxvOES ( GLenum target, GLenum pname, GLfixed *params ) 449 450 public static native void glGetTexParameterxvOES( 451 int target, 452 int pname, 453 java.nio.IntBuffer params 454 ); 455 456 // C function void glLightModelxOES ( GLenum pname, GLfixed param ) 457 458 public static native void glLightModelxOES( 459 int pname, 460 int param 461 ); 462 463 // C function void glLightModelxvOES ( GLenum pname, const GLfixed *params ) 464 465 public static native void glLightModelxvOES( 466 int pname, 467 int[] params, 468 int offset 469 ); 470 471 // C function void glLightModelxvOES ( GLenum pname, const GLfixed *params ) 472 473 public static native void glLightModelxvOES( 474 int pname, 475 java.nio.IntBuffer params 476 ); 477 478 // C function void glLightxOES ( GLenum light, GLenum pname, GLfixed param ) 479 480 public static native void glLightxOES( 481 int light, 482 int pname, 483 int param 484 ); 485 486 // C function void glLightxvOES ( GLenum light, GLenum pname, const GLfixed *params ) 487 488 public static native void glLightxvOES( 489 int light, 490 int pname, 491 int[] params, 492 int offset 493 ); 494 495 // C function void glLightxvOES ( GLenum light, GLenum pname, const GLfixed *params ) 496 497 public static native void glLightxvOES( 498 int light, 499 int pname, 500 java.nio.IntBuffer params 501 ); 502 503 // C function void glLineWidthxOES ( GLfixed width ) 504 505 public static native void glLineWidthxOES( 506 int width 507 ); 508 509 // C function void glLoadMatrixxOES ( const GLfixed *m ) 510 511 public static native void glLoadMatrixxOES( 512 int[] m, 513 int offset 514 ); 515 516 // C function void glLoadMatrixxOES ( const GLfixed *m ) 517 518 public static native void glLoadMatrixxOES( 519 java.nio.IntBuffer m 520 ); 521 522 // C function void glMaterialxOES ( GLenum face, GLenum pname, GLfixed param ) 523 524 public static native void glMaterialxOES( 525 int face, 526 int pname, 527 int param 528 ); 529 530 // C function void glMaterialxvOES ( GLenum face, GLenum pname, const GLfixed *params ) 531 532 public static native void glMaterialxvOES( 533 int face, 534 int pname, 535 int[] params, 536 int offset 537 ); 538 539 // C function void glMaterialxvOES ( GLenum face, GLenum pname, const GLfixed *params ) 540 541 public static native void glMaterialxvOES( 542 int face, 543 int pname, 544 java.nio.IntBuffer params 545 ); 546 547 // C function void glMultMatrixxOES ( const GLfixed *m ) 548 549 public static native void glMultMatrixxOES( 550 int[] m, 551 int offset 552 ); 553 554 // C function void glMultMatrixxOES ( const GLfixed *m ) 555 556 public static native void glMultMatrixxOES( 557 java.nio.IntBuffer m 558 ); 559 560 // C function void glMultiTexCoord4xOES ( GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q ) 561 562 public static native void glMultiTexCoord4xOES( 563 int target, 564 int s, 565 int t, 566 int r, 567 int q 568 ); 569 570 // C function void glNormal3xOES ( GLfixed nx, GLfixed ny, GLfixed nz ) 571 572 public static native void glNormal3xOES( 573 int nx, 574 int ny, 575 int nz 576 ); 577 578 // C function void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) 579 580 public static native void glOrthoxOES( 581 int left, 582 int right, 583 int bottom, 584 int top, 585 int zNear, 586 int zFar 587 ); 588 589 // C function void glPointParameterxOES ( GLenum pname, GLfixed param ) 590 591 public static native void glPointParameterxOES( 592 int pname, 593 int param 594 ); 595 596 // C function void glPointParameterxvOES ( GLenum pname, const GLfixed *params ) 597 598 public static native void glPointParameterxvOES( 599 int pname, 600 int[] params, 601 int offset 602 ); 603 604 // C function void glPointParameterxvOES ( GLenum pname, const GLfixed *params ) 605 606 public static native void glPointParameterxvOES( 607 int pname, 608 java.nio.IntBuffer params 609 ); 610 611 // C function void glPointSizexOES ( GLfixed size ) 612 613 public static native void glPointSizexOES( 614 int size 615 ); 616 617 // C function void glPolygonOffsetxOES ( GLfixed factor, GLfixed units ) 618 619 public static native void glPolygonOffsetxOES( 620 int factor, 621 int units 622 ); 623 624 // C function void glRotatexOES ( GLfixed angle, GLfixed x, GLfixed y, GLfixed z ) 625 626 public static native void glRotatexOES( 627 int angle, 628 int x, 629 int y, 630 int z 631 ); 632 633 // C function void glSampleCoveragexOES ( GLclampx value, GLboolean invert ) 634 635 public static native void glSampleCoveragexOES( 636 int value, 637 boolean invert 638 ); 639 640 // C function void glScalexOES ( GLfixed x, GLfixed y, GLfixed z ) 641 642 public static native void glScalexOES( 643 int x, 644 int y, 645 int z 646 ); 647 648 // C function void glTexEnvxOES ( GLenum target, GLenum pname, GLfixed param ) 649 650 public static native void glTexEnvxOES( 651 int target, 652 int pname, 653 int param 654 ); 655 656 // C function void glTexEnvxvOES ( GLenum target, GLenum pname, const GLfixed *params ) 657 658 public static native void glTexEnvxvOES( 659 int target, 660 int pname, 661 int[] params, 662 int offset 663 ); 664 665 // C function void glTexEnvxvOES ( GLenum target, GLenum pname, const GLfixed *params ) 666 667 public static native void glTexEnvxvOES( 668 int target, 669 int pname, 670 java.nio.IntBuffer params 671 ); 672 673 // C function void glTexParameterxOES ( GLenum target, GLenum pname, GLfixed param ) 674 675 public static native void glTexParameterxOES( 676 int target, 677 int pname, 678 int param 679 ); 680 681 // C function void glTexParameterxvOES ( GLenum target, GLenum pname, const GLfixed *params ) 682 683 public static native void glTexParameterxvOES( 684 int target, 685 int pname, 686 int[] params, 687 int offset 688 ); 689 690 // C function void glTexParameterxvOES ( GLenum target, GLenum pname, const GLfixed *params ) 691 692 public static native void glTexParameterxvOES( 693 int target, 694 int pname, 695 java.nio.IntBuffer params 696 ); 697 698 // C function void glTranslatexOES ( GLfixed x, GLfixed y, GLfixed z ) 699 700 public static native void glTranslatexOES( 701 int x, 702 int y, 703 int z 704 ); 705 706 // C function GLboolean glIsRenderbufferOES ( GLuint renderbuffer ) 707 708 public static native boolean glIsRenderbufferOES( 709 int renderbuffer 710 ); 711 712 // C function void glBindRenderbufferOES ( GLenum target, GLuint renderbuffer ) 713 714 public static native void glBindRenderbufferOES( 715 int target, 716 int renderbuffer 717 ); 718 719 // C function void glDeleteRenderbuffersOES ( GLsizei n, const GLuint *renderbuffers ) 720 721 public static native void glDeleteRenderbuffersOES( 722 int n, 723 int[] renderbuffers, 724 int offset 725 ); 726 727 // C function void glDeleteRenderbuffersOES ( GLsizei n, const GLuint *renderbuffers ) 728 729 public static native void glDeleteRenderbuffersOES( 730 int n, 731 java.nio.IntBuffer renderbuffers 732 ); 733 734 // C function void glGenRenderbuffersOES ( GLsizei n, GLuint *renderbuffers ) 735 736 public static native void glGenRenderbuffersOES( 737 int n, 738 int[] renderbuffers, 739 int offset 740 ); 741 742 // C function void glGenRenderbuffersOES ( GLsizei n, GLuint *renderbuffers ) 743 744 public static native void glGenRenderbuffersOES( 745 int n, 746 java.nio.IntBuffer renderbuffers 747 ); 748 749 // C function void glRenderbufferStorageOES ( GLenum target, GLenum internalformat, GLsizei width, GLsizei height ) 750 751 public static native void glRenderbufferStorageOES( 752 int target, 753 int internalformat, 754 int width, 755 int height 756 ); 757 758 // C function void glGetRenderbufferParameterivOES ( GLenum target, GLenum pname, GLint *params ) 759 760 public static native void glGetRenderbufferParameterivOES( 761 int target, 762 int pname, 763 int[] params, 764 int offset 765 ); 766 767 // C function void glGetRenderbufferParameterivOES ( GLenum target, GLenum pname, GLint *params ) 768 769 public static native void glGetRenderbufferParameterivOES( 770 int target, 771 int pname, 772 java.nio.IntBuffer params 773 ); 774 775 // C function GLboolean glIsFramebufferOES ( GLuint framebuffer ) 776 777 public static native boolean glIsFramebufferOES( 778 int framebuffer 779 ); 780 781 // C function void glBindFramebufferOES ( GLenum target, GLuint framebuffer ) 782 783 public static native void glBindFramebufferOES( 784 int target, 785 int framebuffer 786 ); 787 788 // C function void glDeleteFramebuffersOES ( GLsizei n, const GLuint *framebuffers ) 789 790 public static native void glDeleteFramebuffersOES( 791 int n, 792 int[] framebuffers, 793 int offset 794 ); 795 796 // C function void glDeleteFramebuffersOES ( GLsizei n, const GLuint *framebuffers ) 797 798 public static native void glDeleteFramebuffersOES( 799 int n, 800 java.nio.IntBuffer framebuffers 801 ); 802 803 // C function void glGenFramebuffersOES ( GLsizei n, GLuint *framebuffers ) 804 805 public static native void glGenFramebuffersOES( 806 int n, 807 int[] framebuffers, 808 int offset 809 ); 810 811 // C function void glGenFramebuffersOES ( GLsizei n, GLuint *framebuffers ) 812 813 public static native void glGenFramebuffersOES( 814 int n, 815 java.nio.IntBuffer framebuffers 816 ); 817 818 // C function GLenum glCheckFramebufferStatusOES ( GLenum target ) 819 820 public static native int glCheckFramebufferStatusOES( 821 int target 822 ); 823 824 // C function void glFramebufferRenderbufferOES ( GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer ) 825 826 public static native void glFramebufferRenderbufferOES( 827 int target, 828 int attachment, 829 int renderbuffertarget, 830 int renderbuffer 831 ); 832 833 // C function void glFramebufferTexture2DOES ( GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level ) 834 835 public static native void glFramebufferTexture2DOES( 836 int target, 837 int attachment, 838 int textarget, 839 int texture, 840 int level 841 ); 842 843 // C function void glGetFramebufferAttachmentParameterivOES ( GLenum target, GLenum attachment, GLenum pname, GLint *params ) 844 845 public static native void glGetFramebufferAttachmentParameterivOES( 846 int target, 847 int attachment, 848 int pname, 849 int[] params, 850 int offset 851 ); 852 853 // C function void glGetFramebufferAttachmentParameterivOES ( GLenum target, GLenum attachment, GLenum pname, GLint *params ) 854 855 public static native void glGetFramebufferAttachmentParameterivOES( 856 int target, 857 int attachment, 858 int pname, 859 java.nio.IntBuffer params 860 ); 861 862 // C function void glGenerateMipmapOES ( GLenum target ) 863 864 public static native void glGenerateMipmapOES( 865 int target 866 ); 867 868 // C function void glCurrentPaletteMatrixOES ( GLuint matrixpaletteindex ) 869 870 public static native void glCurrentPaletteMatrixOES( 871 int matrixpaletteindex 872 ); 873 874 // C function void glLoadPaletteFromModelViewMatrixOES ( void ) 875 876 public static native void glLoadPaletteFromModelViewMatrixOES( 877 ); 878 879 // C function void glMatrixIndexPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) 880 881 private static native void glMatrixIndexPointerOESBounds( 882 int size, 883 int type, 884 int stride, 885 java.nio.Buffer pointer, 886 int remaining 887 ); 888 889 public static void glMatrixIndexPointerOES( 890 int size, 891 int type, 892 int stride, 893 java.nio.Buffer pointer 894 ) { 895 glMatrixIndexPointerOESBounds( 896 size, 897 type, 898 stride, 899 pointer, 900 pointer.remaining() 901 ); 902 if (((size == 2) || 903 (size == 3) || 904 (size == 4)) && 905 ((type == GL_FLOAT) || 906 (type == GL_BYTE) || 907 (type == GL_SHORT) || 908 (type == GL_FIXED)) && 909 (stride >= 0)) { 910 _matrixIndexPointerOES = pointer; 911 } 912 } 913 914 // C function void glWeightPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) 915 916 private static native void glWeightPointerOESBounds( 917 int size, 918 int type, 919 int stride, 920 java.nio.Buffer pointer, 921 int remaining 922 ); 923 924 public static void glWeightPointerOES( 925 int size, 926 int type, 927 int stride, 928 java.nio.Buffer pointer 929 ) { 930 glWeightPointerOESBounds( 931 size, 932 type, 933 stride, 934 pointer, 935 pointer.remaining() 936 ); 937 } 938 939 // C function void glDepthRangefOES ( GLclampf zNear, GLclampf zFar ) 940 941 public static native void glDepthRangefOES( 942 float zNear, 943 float zFar 944 ); 945 946 // C function void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 947 948 public static native void glFrustumfOES( 949 float left, 950 float right, 951 float bottom, 952 float top, 953 float zNear, 954 float zFar 955 ); 956 957 // C function void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) 958 959 public static native void glOrthofOES( 960 float left, 961 float right, 962 float bottom, 963 float top, 964 float zNear, 965 float zFar 966 ); 967 968 // C function void glClipPlanefOES ( GLenum plane, const GLfloat *equation ) 969 970 public static native void glClipPlanefOES( 971 int plane, 972 float[] equation, 973 int offset 974 ); 975 976 // C function void glClipPlanefOES ( GLenum plane, const GLfloat *equation ) 977 978 public static native void glClipPlanefOES( 979 int plane, 980 java.nio.FloatBuffer equation 981 ); 982 983 // C function void glGetClipPlanefOES ( GLenum pname, GLfloat *eqn ) 984 985 public static native void glGetClipPlanefOES( 986 int pname, 987 float[] eqn, 988 int offset 989 ); 990 991 // C function void glGetClipPlanefOES ( GLenum pname, GLfloat *eqn ) 992 993 public static native void glGetClipPlanefOES( 994 int pname, 995 java.nio.FloatBuffer eqn 996 ); 997 998 // C function void glClearDepthfOES ( GLclampf depth ) 999 1000 public static native void glClearDepthfOES( 1001 float depth 1002 ); 1003 1004 // C function void glTexGenfOES ( GLenum coord, GLenum pname, GLfloat param ) 1005 1006 public static native void glTexGenfOES( 1007 int coord, 1008 int pname, 1009 float param 1010 ); 1011 1012 // C function void glTexGenfvOES ( GLenum coord, GLenum pname, const GLfloat *params ) 1013 1014 public static native void glTexGenfvOES( 1015 int coord, 1016 int pname, 1017 float[] params, 1018 int offset 1019 ); 1020 1021 // C function void glTexGenfvOES ( GLenum coord, GLenum pname, const GLfloat *params ) 1022 1023 public static native void glTexGenfvOES( 1024 int coord, 1025 int pname, 1026 java.nio.FloatBuffer params 1027 ); 1028 1029 // C function void glTexGeniOES ( GLenum coord, GLenum pname, GLint param ) 1030 1031 public static native void glTexGeniOES( 1032 int coord, 1033 int pname, 1034 int param 1035 ); 1036 1037 // C function void glTexGenivOES ( GLenum coord, GLenum pname, const GLint *params ) 1038 1039 public static native void glTexGenivOES( 1040 int coord, 1041 int pname, 1042 int[] params, 1043 int offset 1044 ); 1045 1046 // C function void glTexGenivOES ( GLenum coord, GLenum pname, const GLint *params ) 1047 1048 public static native void glTexGenivOES( 1049 int coord, 1050 int pname, 1051 java.nio.IntBuffer params 1052 ); 1053 1054 // C function void glTexGenxOES ( GLenum coord, GLenum pname, GLfixed param ) 1055 1056 public static native void glTexGenxOES( 1057 int coord, 1058 int pname, 1059 int param 1060 ); 1061 1062 // C function void glTexGenxvOES ( GLenum coord, GLenum pname, const GLfixed *params ) 1063 1064 public static native void glTexGenxvOES( 1065 int coord, 1066 int pname, 1067 int[] params, 1068 int offset 1069 ); 1070 1071 // C function void glTexGenxvOES ( GLenum coord, GLenum pname, const GLfixed *params ) 1072 1073 public static native void glTexGenxvOES( 1074 int coord, 1075 int pname, 1076 java.nio.IntBuffer params 1077 ); 1078 1079 // C function void glGetTexGenfvOES ( GLenum coord, GLenum pname, GLfloat *params ) 1080 1081 public static native void glGetTexGenfvOES( 1082 int coord, 1083 int pname, 1084 float[] params, 1085 int offset 1086 ); 1087 1088 // C function void glGetTexGenfvOES ( GLenum coord, GLenum pname, GLfloat *params ) 1089 1090 public static native void glGetTexGenfvOES( 1091 int coord, 1092 int pname, 1093 java.nio.FloatBuffer params 1094 ); 1095 1096 // C function void glGetTexGenivOES ( GLenum coord, GLenum pname, GLint *params ) 1097 1098 public static native void glGetTexGenivOES( 1099 int coord, 1100 int pname, 1101 int[] params, 1102 int offset 1103 ); 1104 1105 // C function void glGetTexGenivOES ( GLenum coord, GLenum pname, GLint *params ) 1106 1107 public static native void glGetTexGenivOES( 1108 int coord, 1109 int pname, 1110 java.nio.IntBuffer params 1111 ); 1112 1113 // C function void glGetTexGenxvOES ( GLenum coord, GLenum pname, GLfixed *params ) 1114 1115 public static native void glGetTexGenxvOES( 1116 int coord, 1117 int pname, 1118 int[] params, 1119 int offset 1120 ); 1121 1122 // C function void glGetTexGenxvOES ( GLenum coord, GLenum pname, GLfixed *params ) 1123 1124 public static native void glGetTexGenxvOES( 1125 int coord, 1126 int pname, 1127 java.nio.IntBuffer params 1128 ); 1129 1130} 1131