GLES11.java revision 843ef36f7b96cc19ea7d2996b7c8661b41ec3452
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 GLES11 extends GLES10 { 25 public static final int GL_ACTIVE_TEXTURE = 0x84E0; 26 public static final int GL_ADD_SIGNED = 0x8574; 27 public static final int GL_ALPHA_SCALE = 0x0D1C; 28 public static final int GL_ALPHA_TEST_FUNC = 0x0BC1; 29 public static final int GL_ALPHA_TEST_REF = 0x0BC2; 30 public static final int GL_ARRAY_BUFFER = 0x8892; 31 public static final int GL_ARRAY_BUFFER_BINDING = 0x8894; 32 public static final int GL_BLEND_DST = 0x0BE0; 33 public static final int GL_BLEND_SRC = 0x0BE1; 34 public static final int GL_BUFFER_ACCESS = 0x88BB; 35 public static final int GL_BUFFER_SIZE = 0x8764; 36 public static final int GL_BUFFER_USAGE = 0x8765; 37 public static final int GL_CLIENT_ACTIVE_TEXTURE = 0x84E1; 38 public static final int GL_CLIP_PLANE0 = 0x3000; 39 public static final int GL_CLIP_PLANE1 = 0x3001; 40 public static final int GL_CLIP_PLANE2 = 0x3002; 41 public static final int GL_CLIP_PLANE3 = 0x3003; 42 public static final int GL_CLIP_PLANE4 = 0x3004; 43 public static final int GL_CLIP_PLANE5 = 0x3005; 44 public static final int GL_COLOR_ARRAY_BUFFER_BINDING = 0x8898; 45 public static final int GL_COLOR_ARRAY_POINTER = 0x8090; 46 public static final int GL_COLOR_ARRAY_SIZE = 0x8081; 47 public static final int GL_COLOR_ARRAY_STRIDE = 0x8083; 48 public static final int GL_COLOR_ARRAY_TYPE = 0x8082; 49 public static final int GL_COLOR_CLEAR_VALUE = 0x0C22; 50 public static final int GL_COLOR_WRITEMASK = 0x0C23; 51 public static final int GL_COMBINE = 0x8570; 52 public static final int GL_COMBINE_ALPHA = 0x8572; 53 public static final int GL_COMBINE_RGB = 0x8571; 54 public static final int GL_CONSTANT = 0x8576; 55 public static final int GL_COORD_REPLACE_OES = 0x8862; 56 public static final int GL_CULL_FACE_MODE = 0x0B45; 57 public static final int GL_CURRENT_COLOR = 0x0B00; 58 public static final int GL_CURRENT_NORMAL = 0x0B02; 59 public static final int GL_CURRENT_TEXTURE_COORDS = 0x0B03; 60 public static final int GL_DEPTH_CLEAR_VALUE = 0x0B73; 61 public static final int GL_DEPTH_FUNC = 0x0B74; 62 public static final int GL_DEPTH_RANGE = 0x0B70; 63 public static final int GL_DEPTH_WRITEMASK = 0x0B72; 64 public static final int GL_DOT3_RGB = 0x86AE; 65 public static final int GL_DOT3_RGBA = 0x86AF; 66 public static final int GL_DYNAMIC_DRAW = 0x88E8; 67 public static final int GL_ELEMENT_ARRAY_BUFFER = 0x8893; 68 public static final int GL_ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; 69 public static final int GL_FRONT_FACE = 0x0B46; 70 public static final int GL_GENERATE_MIPMAP = 0x8191; 71 public static final int GL_GENERATE_MIPMAP_HINT = 0x8192; 72 public static final int GL_INTERPOLATE = 0x8575; 73 public static final int GL_LINE_WIDTH = 0x0B21; 74 public static final int GL_LOGIC_OP_MODE = 0x0BF0; 75 public static final int GL_MATRIX_MODE = 0x0BA0; 76 public static final int GL_MAX_CLIP_PLANES = 0x0D32; 77 public static final int GL_MODELVIEW_MATRIX = 0x0BA6; 78 public static final int GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898D; 79 public static final int GL_MODELVIEW_STACK_DEPTH = 0x0BA3; 80 public static final int GL_NORMAL_ARRAY_BUFFER_BINDING = 0x8897; 81 public static final int GL_NORMAL_ARRAY_POINTER = 0x808F; 82 public static final int GL_NORMAL_ARRAY_STRIDE = 0x807F; 83 public static final int GL_NORMAL_ARRAY_TYPE = 0x807E; 84 public static final int GL_OPERAND0_ALPHA = 0x8598; 85 public static final int GL_OPERAND0_RGB = 0x8590; 86 public static final int GL_OPERAND1_ALPHA = 0x8599; 87 public static final int GL_OPERAND1_RGB = 0x8591; 88 public static final int GL_OPERAND2_ALPHA = 0x859A; 89 public static final int GL_OPERAND2_RGB = 0x8592; 90 public static final int GL_POINT_DISTANCE_ATTENUATION = 0x8129; 91 public static final int GL_POINT_FADE_THRESHOLD_SIZE = 0x8128; 92 public static final int GL_POINT_SIZE = 0x0B11; 93 public static final int GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES = 0x8B9F; 94 public static final int GL_POINT_SIZE_ARRAY_OES = 0x8B9C; 95 public static final int GL_POINT_SIZE_ARRAY_POINTER_OES = 0x898C; 96 public static final int GL_POINT_SIZE_ARRAY_STRIDE_OES = 0x898B; 97 public static final int GL_POINT_SIZE_ARRAY_TYPE_OES = 0x898A; 98 public static final int GL_POINT_SIZE_MAX = 0x8127; 99 public static final int GL_POINT_SIZE_MIN = 0x8126; 100 public static final int GL_POINT_SPRITE_OES = 0x8861; 101 public static final int GL_POLYGON_OFFSET_FACTOR = 0x8038; 102 public static final int GL_POLYGON_OFFSET_UNITS = 0x2A00; 103 public static final int GL_PREVIOUS = 0x8578; 104 public static final int GL_PRIMARY_COLOR = 0x8577; 105 public static final int GL_PROJECTION_MATRIX = 0x0BA7; 106 public static final int GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898E; 107 public static final int GL_PROJECTION_STACK_DEPTH = 0x0BA4; 108 public static final int GL_RGB_SCALE = 0x8573; 109 public static final int GL_SAMPLE_BUFFERS = 0x80A8; 110 public static final int GL_SAMPLE_COVERAGE_INVERT = 0x80AB; 111 public static final int GL_SAMPLE_COVERAGE_VALUE = 0x80AA; 112 public static final int GL_SAMPLES = 0x80A9; 113 public static final int GL_SCISSOR_BOX = 0x0C10; 114 public static final int GL_SHADE_MODEL = 0x0B54; 115 public static final int GL_SRC0_ALPHA = 0x8588; 116 public static final int GL_SRC0_RGB = 0x8580; 117 public static final int GL_SRC1_ALPHA = 0x8589; 118 public static final int GL_SRC1_RGB = 0x8581; 119 public static final int GL_SRC2_ALPHA = 0x858A; 120 public static final int GL_SRC2_RGB = 0x8582; 121 public static final int GL_STATIC_DRAW = 0x88E4; 122 public static final int GL_STENCIL_CLEAR_VALUE = 0x0B91; 123 public static final int GL_STENCIL_FAIL = 0x0B94; 124 public static final int GL_STENCIL_FUNC = 0x0B92; 125 public static final int GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95; 126 public static final int GL_STENCIL_PASS_DEPTH_PASS = 0x0B96; 127 public static final int GL_STENCIL_REF = 0x0B97; 128 public static final int GL_STENCIL_VALUE_MASK = 0x0B93; 129 public static final int GL_STENCIL_WRITEMASK = 0x0B98; 130 public static final int GL_SUBTRACT = 0x84E7; 131 public static final int GL_TEXTURE_BINDING_2D = 0x8069; 132 public static final int GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING = 0x889A; 133 public static final int GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092; 134 public static final int GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088; 135 public static final int GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A; 136 public static final int GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089; 137 public static final int GL_TEXTURE_MATRIX = 0x0BA8; 138 public static final int GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898F; 139 public static final int GL_TEXTURE_STACK_DEPTH = 0x0BA5; 140 public static final int GL_VERTEX_ARRAY_BUFFER_BINDING = 0x8896; 141 public static final int GL_VERTEX_ARRAY_POINTER = 0x808E; 142 public static final int GL_VERTEX_ARRAY_SIZE = 0x807A; 143 public static final int GL_VERTEX_ARRAY_STRIDE = 0x807C; 144 public static final int GL_VERTEX_ARRAY_TYPE = 0x807B; 145 public static final int GL_VIEWPORT = 0x0BA2; 146 public static final int GL_WRITE_ONLY = 0x88B9; 147 148 native private static void _nativeClassInit(); 149 static { 150 _nativeClassInit(); 151 } 152 153 // C function void glBindBuffer ( GLenum target, GLuint buffer ) 154 155 public static native void glBindBuffer( 156 int target, 157 int buffer 158 ); 159 160 // C function void glBufferData ( GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage ) 161 162 public static native void glBufferData( 163 int target, 164 int size, 165 java.nio.Buffer data, 166 int usage 167 ); 168 169 // C function void glBufferSubData ( GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data ) 170 171 public static native void glBufferSubData( 172 int target, 173 int offset, 174 int size, 175 java.nio.Buffer data 176 ); 177 178 // C function void glClipPlanef ( GLenum plane, const GLfloat *equation ) 179 180 public static native void glClipPlanef( 181 int plane, 182 float[] equation, 183 int offset 184 ); 185 186 // C function void glClipPlanef ( GLenum plane, const GLfloat *equation ) 187 188 public static native void glClipPlanef( 189 int plane, 190 java.nio.FloatBuffer equation 191 ); 192 193 // C function void glClipPlanex ( GLenum plane, const GLfixed *equation ) 194 195 public static native void glClipPlanex( 196 int plane, 197 int[] equation, 198 int offset 199 ); 200 201 // C function void glClipPlanex ( GLenum plane, const GLfixed *equation ) 202 203 public static native void glClipPlanex( 204 int plane, 205 java.nio.IntBuffer equation 206 ); 207 208 // C function void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) 209 210 public static native void glColor4ub( 211 byte red, 212 byte green, 213 byte blue, 214 byte alpha 215 ); 216 217 // C function void glColorPointer ( GLint size, GLenum type, GLsizei stride, GLint offset ) 218 219 public static native void glColorPointer( 220 int size, 221 int type, 222 int stride, 223 int offset 224 ); 225 226 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) 227 228 public static native void glDeleteBuffers( 229 int n, 230 int[] buffers, 231 int offset 232 ); 233 234 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) 235 236 public static native void glDeleteBuffers( 237 int n, 238 java.nio.IntBuffer buffers 239 ); 240 241 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset ) 242 243 public static native void glDrawElements( 244 int mode, 245 int count, 246 int type, 247 int offset 248 ); 249 250 // C function void glGenBuffers ( GLsizei n, GLuint *buffers ) 251 252 public static native void glGenBuffers( 253 int n, 254 int[] buffers, 255 int offset 256 ); 257 258 // C function void glGenBuffers ( GLsizei n, GLuint *buffers ) 259 260 public static native void glGenBuffers( 261 int n, 262 java.nio.IntBuffer buffers 263 ); 264 265 // C function void glGetBooleanv ( GLenum pname, GLboolean *params ) 266 267 public static native void glGetBooleanv( 268 int pname, 269 boolean[] params, 270 int offset 271 ); 272 273 // C function void glGetBooleanv ( GLenum pname, GLboolean *params ) 274 275 public static native void glGetBooleanv( 276 int pname, 277 java.nio.IntBuffer params 278 ); 279 280 // C function void glGetBufferParameteriv ( GLenum target, GLenum pname, GLint *params ) 281 282 public static native void glGetBufferParameteriv( 283 int target, 284 int pname, 285 int[] params, 286 int offset 287 ); 288 289 // C function void glGetBufferParameteriv ( GLenum target, GLenum pname, GLint *params ) 290 291 public static native void glGetBufferParameteriv( 292 int target, 293 int pname, 294 java.nio.IntBuffer params 295 ); 296 297 // C function void glGetClipPlanef ( GLenum pname, GLfloat *eqn ) 298 299 public static native void glGetClipPlanef( 300 int pname, 301 float[] eqn, 302 int offset 303 ); 304 305 // C function void glGetClipPlanef ( GLenum pname, GLfloat *eqn ) 306 307 public static native void glGetClipPlanef( 308 int pname, 309 java.nio.FloatBuffer eqn 310 ); 311 312 // C function void glGetClipPlanex ( GLenum pname, GLfixed *eqn ) 313 314 public static native void glGetClipPlanex( 315 int pname, 316 int[] eqn, 317 int offset 318 ); 319 320 // C function void glGetClipPlanex ( GLenum pname, GLfixed *eqn ) 321 322 public static native void glGetClipPlanex( 323 int pname, 324 java.nio.IntBuffer eqn 325 ); 326 327 // C function void glGetFixedv ( GLenum pname, GLfixed *params ) 328 329 public static native void glGetFixedv( 330 int pname, 331 int[] params, 332 int offset 333 ); 334 335 // C function void glGetFixedv ( GLenum pname, GLfixed *params ) 336 337 public static native void glGetFixedv( 338 int pname, 339 java.nio.IntBuffer params 340 ); 341 342 // C function void glGetFloatv ( GLenum pname, GLfloat *params ) 343 344 public static native void glGetFloatv( 345 int pname, 346 float[] params, 347 int offset 348 ); 349 350 // C function void glGetFloatv ( GLenum pname, GLfloat *params ) 351 352 public static native void glGetFloatv( 353 int pname, 354 java.nio.FloatBuffer params 355 ); 356 357 // C function void glGetLightfv ( GLenum light, GLenum pname, GLfloat *params ) 358 359 public static native void glGetLightfv( 360 int light, 361 int pname, 362 float[] params, 363 int offset 364 ); 365 366 // C function void glGetLightfv ( GLenum light, GLenum pname, GLfloat *params ) 367 368 public static native void glGetLightfv( 369 int light, 370 int pname, 371 java.nio.FloatBuffer params 372 ); 373 374 // C function void glGetLightxv ( GLenum light, GLenum pname, GLfixed *params ) 375 376 public static native void glGetLightxv( 377 int light, 378 int pname, 379 int[] params, 380 int offset 381 ); 382 383 // C function void glGetLightxv ( GLenum light, GLenum pname, GLfixed *params ) 384 385 public static native void glGetLightxv( 386 int light, 387 int pname, 388 java.nio.IntBuffer params 389 ); 390 391 // C function void glGetMaterialfv ( GLenum face, GLenum pname, GLfloat *params ) 392 393 public static native void glGetMaterialfv( 394 int face, 395 int pname, 396 float[] params, 397 int offset 398 ); 399 400 // C function void glGetMaterialfv ( GLenum face, GLenum pname, GLfloat *params ) 401 402 public static native void glGetMaterialfv( 403 int face, 404 int pname, 405 java.nio.FloatBuffer params 406 ); 407 408 // C function void glGetMaterialxv ( GLenum face, GLenum pname, GLfixed *params ) 409 410 public static native void glGetMaterialxv( 411 int face, 412 int pname, 413 int[] params, 414 int offset 415 ); 416 417 // C function void glGetMaterialxv ( GLenum face, GLenum pname, GLfixed *params ) 418 419 public static native void glGetMaterialxv( 420 int face, 421 int pname, 422 java.nio.IntBuffer params 423 ); 424 425 // C function void glGetTexEnvfv ( GLenum env, GLenum pname, GLfloat *params ) 426 427 public static native void glGetTexEnvfv( 428 int env, 429 int pname, 430 float[] params, 431 int offset 432 ); 433 434 // C function void glGetTexEnvfv ( GLenum env, GLenum pname, GLfloat *params ) 435 436 public static native void glGetTexEnvfv( 437 int env, 438 int pname, 439 java.nio.FloatBuffer params 440 ); 441 442 // C function void glGetTexEnviv ( GLenum env, GLenum pname, GLint *params ) 443 444 public static native void glGetTexEnviv( 445 int env, 446 int pname, 447 int[] params, 448 int offset 449 ); 450 451 // C function void glGetTexEnviv ( GLenum env, GLenum pname, GLint *params ) 452 453 public static native void glGetTexEnviv( 454 int env, 455 int pname, 456 java.nio.IntBuffer params 457 ); 458 459 // C function void glGetTexEnvxv ( GLenum env, GLenum pname, GLfixed *params ) 460 461 public static native void glGetTexEnvxv( 462 int env, 463 int pname, 464 int[] params, 465 int offset 466 ); 467 468 // C function void glGetTexEnvxv ( GLenum env, GLenum pname, GLfixed *params ) 469 470 public static native void glGetTexEnvxv( 471 int env, 472 int pname, 473 java.nio.IntBuffer params 474 ); 475 476 // C function void glGetTexParameterfv ( GLenum target, GLenum pname, GLfloat *params ) 477 478 public static native void glGetTexParameterfv( 479 int target, 480 int pname, 481 float[] params, 482 int offset 483 ); 484 485 // C function void glGetTexParameterfv ( GLenum target, GLenum pname, GLfloat *params ) 486 487 public static native void glGetTexParameterfv( 488 int target, 489 int pname, 490 java.nio.FloatBuffer params 491 ); 492 493 // C function void glGetTexParameteriv ( GLenum target, GLenum pname, GLint *params ) 494 495 public static native void glGetTexParameteriv( 496 int target, 497 int pname, 498 int[] params, 499 int offset 500 ); 501 502 // C function void glGetTexParameteriv ( GLenum target, GLenum pname, GLint *params ) 503 504 public static native void glGetTexParameteriv( 505 int target, 506 int pname, 507 java.nio.IntBuffer params 508 ); 509 510 // C function void glGetTexParameterxv ( GLenum target, GLenum pname, GLfixed *params ) 511 512 public static native void glGetTexParameterxv( 513 int target, 514 int pname, 515 int[] params, 516 int offset 517 ); 518 519 // C function void glGetTexParameterxv ( GLenum target, GLenum pname, GLfixed *params ) 520 521 public static native void glGetTexParameterxv( 522 int target, 523 int pname, 524 java.nio.IntBuffer params 525 ); 526 527 // C function GLboolean glIsBuffer ( GLuint buffer ) 528 529 public static native boolean glIsBuffer( 530 int buffer 531 ); 532 533 // C function GLboolean glIsEnabled ( GLenum cap ) 534 535 public static native boolean glIsEnabled( 536 int cap 537 ); 538 539 // C function GLboolean glIsTexture ( GLuint texture ) 540 541 public static native boolean glIsTexture( 542 int texture 543 ); 544 545 // C function void glNormalPointer ( GLenum type, GLsizei stride, GLint offset ) 546 547 public static native void glNormalPointer( 548 int type, 549 int stride, 550 int offset 551 ); 552 553 // C function void glPointParameterf ( GLenum pname, GLfloat param ) 554 555 public static native void glPointParameterf( 556 int pname, 557 float param 558 ); 559 560 // C function void glPointParameterfv ( GLenum pname, const GLfloat *params ) 561 562 public static native void glPointParameterfv( 563 int pname, 564 float[] params, 565 int offset 566 ); 567 568 // C function void glPointParameterfv ( GLenum pname, const GLfloat *params ) 569 570 public static native void glPointParameterfv( 571 int pname, 572 java.nio.FloatBuffer params 573 ); 574 575 // C function void glPointParameterx ( GLenum pname, GLfixed param ) 576 577 public static native void glPointParameterx( 578 int pname, 579 int param 580 ); 581 582 // C function void glPointParameterxv ( GLenum pname, const GLfixed *params ) 583 584 public static native void glPointParameterxv( 585 int pname, 586 int[] params, 587 int offset 588 ); 589 590 // C function void glPointParameterxv ( GLenum pname, const GLfixed *params ) 591 592 public static native void glPointParameterxv( 593 int pname, 594 java.nio.IntBuffer params 595 ); 596 597 // C function void glPointSizePointerOES ( GLenum type, GLsizei stride, const GLvoid *pointer ) 598 599 public static native void glPointSizePointerOES( 600 int type, 601 int stride, 602 java.nio.Buffer pointer 603 ); 604 605 // C function void glTexCoordPointer ( GLint size, GLenum type, GLsizei stride, GLint offset ) 606 607 public static native void glTexCoordPointer( 608 int size, 609 int type, 610 int stride, 611 int offset 612 ); 613 614 // C function void glTexEnvi ( GLenum target, GLenum pname, GLint param ) 615 616 public static native void glTexEnvi( 617 int target, 618 int pname, 619 int param 620 ); 621 622 // C function void glTexEnviv ( GLenum target, GLenum pname, const GLint *params ) 623 624 public static native void glTexEnviv( 625 int target, 626 int pname, 627 int[] params, 628 int offset 629 ); 630 631 // C function void glTexEnviv ( GLenum target, GLenum pname, const GLint *params ) 632 633 public static native void glTexEnviv( 634 int target, 635 int pname, 636 java.nio.IntBuffer params 637 ); 638 639 // C function void glTexParameterfv ( GLenum target, GLenum pname, const GLfloat *params ) 640 641 public static native void glTexParameterfv( 642 int target, 643 int pname, 644 float[] params, 645 int offset 646 ); 647 648 // C function void glTexParameterfv ( GLenum target, GLenum pname, const GLfloat *params ) 649 650 public static native void glTexParameterfv( 651 int target, 652 int pname, 653 java.nio.FloatBuffer params 654 ); 655 656 // C function void glTexParameteri ( GLenum target, GLenum pname, GLint param ) 657 658 public static native void glTexParameteri( 659 int target, 660 int pname, 661 int param 662 ); 663 664 // C function void glTexParameteriv ( GLenum target, GLenum pname, const GLint *params ) 665 666 public static native void glTexParameteriv( 667 int target, 668 int pname, 669 int[] params, 670 int offset 671 ); 672 673 // C function void glTexParameteriv ( GLenum target, GLenum pname, const GLint *params ) 674 675 public static native void glTexParameteriv( 676 int target, 677 int pname, 678 java.nio.IntBuffer params 679 ); 680 681 // C function void glTexParameterxv ( GLenum target, GLenum pname, const GLfixed *params ) 682 683 public static native void glTexParameterxv( 684 int target, 685 int pname, 686 int[] params, 687 int offset 688 ); 689 690 // C function void glTexParameterxv ( GLenum target, GLenum pname, const GLfixed *params ) 691 692 public static native void glTexParameterxv( 693 int target, 694 int pname, 695 java.nio.IntBuffer params 696 ); 697 698 // C function void glVertexPointer ( GLint size, GLenum type, GLsizei stride, GLint offset ) 699 700 public static native void glVertexPointer( 701 int size, 702 int type, 703 int stride, 704 int offset 705 ); 706 707} 708