00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef __gles_h_
00030 #define __gles_h_
00031
00032
00033
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif
00038
00039 #ifdef __IPHONEOS__
00040 #include <OpenGLES/ES1/gl.h>
00041 #endif
00042
00043 #ifndef APIENTRY
00044 #define APIENTRY
00045 #endif
00046
00047 #ifndef GL_APIENTRY
00048 #define GL_APIENTRY
00049 #endif
00050
00051 #ifndef GL_API
00052 #define GL_API
00053 #endif
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089 typedef unsigned int GLenum;
00090 typedef unsigned char GLboolean;
00091 typedef unsigned int GLbitfield;
00092 typedef signed char GLbyte;
00093 typedef short GLshort;
00094 typedef int GLint;
00095 typedef int GLsizei;
00096 typedef unsigned char GLubyte;
00097 typedef unsigned short GLushort;
00098 typedef unsigned int GLuint;
00099 typedef float GLfloat;
00100 typedef float GLclampf;
00101 typedef void GLvoid;
00102 typedef int GLfixed;
00103 typedef int GLclampx;
00104
00105 typedef int GLintptr;
00106 typedef int GLsizeiptr;
00107
00108
00109
00110
00111
00112 #define GL_VERSION_ES_CM_1_0 1
00113 #define GL_VERSION_ES_CL_1_0 1
00114 #define GL_VERSION_ES_CM_1_1 1
00115 #define GL_VERSION_ES_CL_1_1 1
00116
00117
00118 #define GL_DEPTH_BUFFER_BIT 0x00000100
00119 #define GL_STENCIL_BUFFER_BIT 0x00000400
00120 #define GL_COLOR_BUFFER_BIT 0x00004000
00121
00122
00123 #define GL_FALSE 0
00124 #define GL_TRUE 1
00125
00126
00127 #define GL_POINTS 0x0000
00128 #define GL_LINES 0x0001
00129 #define GL_LINE_LOOP 0x0002
00130 #define GL_LINE_STRIP 0x0003
00131 #define GL_TRIANGLES 0x0004
00132 #define GL_TRIANGLE_STRIP 0x0005
00133 #define GL_TRIANGLE_FAN 0x0006
00134
00135
00136 #define GL_NEVER 0x0200
00137 #define GL_LESS 0x0201
00138 #define GL_EQUAL 0x0202
00139 #define GL_LEQUAL 0x0203
00140 #define GL_GREATER 0x0204
00141 #define GL_NOTEQUAL 0x0205
00142 #define GL_GEQUAL 0x0206
00143 #define GL_ALWAYS 0x0207
00144
00145
00146 #define GL_ZERO 0
00147 #define GL_ONE 1
00148 #define GL_SRC_COLOR 0x0300
00149 #define GL_ONE_MINUS_SRC_COLOR 0x0301
00150 #define GL_SRC_ALPHA 0x0302
00151 #define GL_ONE_MINUS_SRC_ALPHA 0x0303
00152 #define GL_DST_ALPHA 0x0304
00153 #define GL_ONE_MINUS_DST_ALPHA 0x0305
00154
00155
00156
00157
00158 #define GL_DST_COLOR 0x0306
00159 #define GL_ONE_MINUS_DST_COLOR 0x0307
00160 #define GL_SRC_ALPHA_SATURATE 0x0308
00161
00162
00163
00164
00165
00166
00167 #define GL_CLIP_PLANE0 0x3000
00168 #define GL_CLIP_PLANE1 0x3001
00169 #define GL_CLIP_PLANE2 0x3002
00170 #define GL_CLIP_PLANE3 0x3003
00171 #define GL_CLIP_PLANE4 0x3004
00172 #define GL_CLIP_PLANE5 0x3005
00173
00174
00175
00176
00177
00178
00179
00180
00181
00182
00183
00184
00185
00186 #define GL_FRONT 0x0404
00187 #define GL_BACK 0x0405
00188 #define GL_FRONT_AND_BACK 0x0408
00189
00190
00191
00192
00193
00194
00195
00196
00197
00198
00199
00200
00201 #define GL_FOG 0x0B60
00202 #define GL_LIGHTING 0x0B50
00203 #define GL_TEXTURE_2D 0x0DE1
00204 #define GL_CULL_FACE 0x0B44
00205 #define GL_ALPHA_TEST 0x0BC0
00206 #define GL_BLEND 0x0BE2
00207 #define GL_COLOR_LOGIC_OP 0x0BF2
00208 #define GL_DITHER 0x0BD0
00209 #define GL_STENCIL_TEST 0x0B90
00210 #define GL_DEPTH_TEST 0x0B71
00211
00212
00213
00214
00215
00216
00217
00218
00219 #define GL_POINT_SMOOTH 0x0B10
00220 #define GL_LINE_SMOOTH 0x0B20
00221 #define GL_SCISSOR_TEST 0x0C11
00222 #define GL_COLOR_MATERIAL 0x0B57
00223 #define GL_NORMALIZE 0x0BA1
00224 #define GL_RESCALE_NORMAL 0x803A
00225 #define GL_POLYGON_OFFSET_FILL 0x8037
00226 #define GL_VERTEX_ARRAY 0x8074
00227 #define GL_NORMAL_ARRAY 0x8075
00228 #define GL_COLOR_ARRAY 0x8076
00229 #define GL_TEXTURE_COORD_ARRAY 0x8078
00230 #define GL_MULTISAMPLE 0x809D
00231 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
00232 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
00233 #define GL_SAMPLE_COVERAGE 0x80A0
00234
00235
00236 #define GL_NO_ERROR 0
00237 #define GL_INVALID_ENUM 0x0500
00238 #define GL_INVALID_VALUE 0x0501
00239 #define GL_INVALID_OPERATION 0x0502
00240 #define GL_STACK_OVERFLOW 0x0503
00241 #define GL_STACK_UNDERFLOW 0x0504
00242 #define GL_OUT_OF_MEMORY 0x0505
00243
00244
00245
00246 #define GL_EXP 0x0800
00247 #define GL_EXP2 0x0801
00248
00249
00250 #define GL_FOG_DENSITY 0x0B62
00251 #define GL_FOG_START 0x0B63
00252 #define GL_FOG_END 0x0B64
00253 #define GL_FOG_MODE 0x0B65
00254 #define GL_FOG_COLOR 0x0B66
00255
00256
00257 #define GL_CW 0x0900
00258 #define GL_CCW 0x0901
00259
00260
00261 #define GL_CURRENT_COLOR 0x0B00
00262 #define GL_CURRENT_NORMAL 0x0B02
00263 #define GL_CURRENT_TEXTURE_COORDS 0x0B03
00264 #define GL_POINT_SIZE 0x0B11
00265 #define GL_POINT_SIZE_MIN 0x8126
00266 #define GL_POINT_SIZE_MAX 0x8127
00267 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
00268 #define GL_POINT_DISTANCE_ATTENUATION 0x8129
00269 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
00270 #define GL_LINE_WIDTH 0x0B21
00271 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
00272 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
00273 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
00274 #define GL_CULL_FACE_MODE 0x0B45
00275 #define GL_FRONT_FACE 0x0B46
00276 #define GL_SHADE_MODEL 0x0B54
00277 #define GL_DEPTH_RANGE 0x0B70
00278 #define GL_DEPTH_WRITEMASK 0x0B72
00279 #define GL_DEPTH_CLEAR_VALUE 0x0B73
00280 #define GL_DEPTH_FUNC 0x0B74
00281 #define GL_STENCIL_CLEAR_VALUE 0x0B91
00282 #define GL_STENCIL_FUNC 0x0B92
00283 #define GL_STENCIL_VALUE_MASK 0x0B93
00284 #define GL_STENCIL_FAIL 0x0B94
00285 #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95
00286 #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
00287 #define GL_STENCIL_REF 0x0B97
00288 #define GL_STENCIL_WRITEMASK 0x0B98
00289 #define GL_MATRIX_MODE 0x0BA0
00290 #define GL_VIEWPORT 0x0BA2
00291 #define GL_MODELVIEW_STACK_DEPTH 0x0BA3
00292 #define GL_PROJECTION_STACK_DEPTH 0x0BA4
00293 #define GL_TEXTURE_STACK_DEPTH 0x0BA5
00294 #define GL_MODELVIEW_MATRIX 0x0BA6
00295 #define GL_PROJECTION_MATRIX 0x0BA7
00296 #define GL_TEXTURE_MATRIX 0x0BA8
00297 #define GL_ALPHA_TEST_FUNC 0x0BC1
00298 #define GL_ALPHA_TEST_REF 0x0BC2
00299 #define GL_BLEND_DST 0x0BE0
00300 #define GL_BLEND_SRC 0x0BE1
00301 #define GL_LOGIC_OP_MODE 0x0BF0
00302 #define GL_SCISSOR_BOX 0x0C10
00303 #define GL_SCISSOR_TEST 0x0C11
00304 #define GL_COLOR_CLEAR_VALUE 0x0C22
00305 #define GL_COLOR_WRITEMASK 0x0C23
00306 #define GL_UNPACK_ALIGNMENT 0x0CF5
00307 #define GL_PACK_ALIGNMENT 0x0D05
00308 #define GL_MAX_LIGHTS 0x0D31
00309 #define GL_MAX_CLIP_PLANES 0x0D32
00310 #define GL_MAX_TEXTURE_SIZE 0x0D33
00311 #define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36
00312 #define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38
00313 #define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39
00314 #define GL_MAX_VIEWPORT_DIMS 0x0D3A
00315 #define GL_MAX_TEXTURE_UNITS 0x84E2
00316 #define GL_SUBPIXEL_BITS 0x0D50
00317 #define GL_RED_BITS 0x0D52
00318 #define GL_GREEN_BITS 0x0D53
00319 #define GL_BLUE_BITS 0x0D54
00320 #define GL_ALPHA_BITS 0x0D55
00321 #define GL_DEPTH_BITS 0x0D56
00322 #define GL_STENCIL_BITS 0x0D57
00323 #define GL_POLYGON_OFFSET_UNITS 0x2A00
00324 #define GL_POLYGON_OFFSET_FILL 0x8037
00325 #define GL_POLYGON_OFFSET_FACTOR 0x8038
00326 #define GL_TEXTURE_BINDING_2D 0x8069
00327 #define GL_VERTEX_ARRAY_SIZE 0x807A
00328 #define GL_VERTEX_ARRAY_TYPE 0x807B
00329 #define GL_VERTEX_ARRAY_STRIDE 0x807C
00330 #define GL_NORMAL_ARRAY_TYPE 0x807E
00331 #define GL_NORMAL_ARRAY_STRIDE 0x807F
00332 #define GL_COLOR_ARRAY_SIZE 0x8081
00333 #define GL_COLOR_ARRAY_TYPE 0x8082
00334 #define GL_COLOR_ARRAY_STRIDE 0x8083
00335 #define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088
00336 #define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089
00337 #define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A
00338 #define GL_VERTEX_ARRAY_POINTER 0x808E
00339 #define GL_NORMAL_ARRAY_POINTER 0x808F
00340 #define GL_COLOR_ARRAY_POINTER 0x8090
00341 #define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092
00342 #define GL_SAMPLE_BUFFERS 0x80A8
00343 #define GL_SAMPLES 0x80A9
00344 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
00345 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
00346
00347
00348 #ifndef GL_MAX_ELEMENTS_VERTICES
00349 #define GL_MAX_ELEMENTS_VERTICES 0x80E8
00350 #endif
00351 #ifndef GL_MAX_ELEMENTS_INDICES
00352 #define GL_MAX_ELEMENTS_INDICES 0x80E9
00353 #endif
00354
00355
00356
00357
00358
00359
00360
00361 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
00362 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
00363
00364
00365 #define GL_DONT_CARE 0x1100
00366 #define GL_FASTEST 0x1101
00367 #define GL_NICEST 0x1102
00368
00369
00370 #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
00371 #define GL_POINT_SMOOTH_HINT 0x0C51
00372 #define GL_LINE_SMOOTH_HINT 0x0C52
00373 #define GL_FOG_HINT 0x0C54
00374 #define GL_GENERATE_MIPMAP_HINT 0x8192
00375
00376
00377 #define GL_LIGHT_MODEL_AMBIENT 0x0B53
00378 #define GL_LIGHT_MODEL_TWO_SIDE 0x0B52
00379
00380
00381 #define GL_AMBIENT 0x1200
00382 #define GL_DIFFUSE 0x1201
00383 #define GL_SPECULAR 0x1202
00384 #define GL_POSITION 0x1203
00385 #define GL_SPOT_DIRECTION 0x1204
00386 #define GL_SPOT_EXPONENT 0x1205
00387 #define GL_SPOT_CUTOFF 0x1206
00388 #define GL_CONSTANT_ATTENUATION 0x1207
00389 #define GL_LINEAR_ATTENUATION 0x1208
00390 #define GL_QUADRATIC_ATTENUATION 0x1209
00391
00392
00393 #define GL_BYTE 0x1400
00394 #define GL_UNSIGNED_BYTE 0x1401
00395 #define GL_SHORT 0x1402
00396 #define GL_UNSIGNED_SHORT 0x1403
00397 #define GL_FLOAT 0x1406
00398 #define GL_FIXED 0x140C
00399
00400
00401 #define GL_CLEAR 0x1500
00402 #define GL_AND 0x1501
00403 #define GL_AND_REVERSE 0x1502
00404 #define GL_COPY 0x1503
00405 #define GL_AND_INVERTED 0x1504
00406 #define GL_NOOP 0x1505
00407 #define GL_XOR 0x1506
00408 #define GL_OR 0x1507
00409 #define GL_NOR 0x1508
00410 #define GL_EQUIV 0x1509
00411 #define GL_INVERT 0x150A
00412 #define GL_OR_REVERSE 0x150B
00413 #define GL_COPY_INVERTED 0x150C
00414 #define GL_OR_INVERTED 0x150D
00415 #define GL_NAND 0x150E
00416 #define GL_SET 0x150F
00417
00418
00419
00420
00421
00422 #define GL_EMISSION 0x1600
00423 #define GL_SHININESS 0x1601
00424 #define GL_AMBIENT_AND_DIFFUSE 0x1602
00425
00426
00427
00428
00429
00430 #define GL_MODELVIEW 0x1700
00431 #define GL_PROJECTION 0x1701
00432 #define GL_TEXTURE 0x1702
00433
00434
00435
00436
00437
00438
00439
00440
00441 #define GL_ALPHA 0x1906
00442 #define GL_RGB 0x1907
00443 #define GL_RGBA 0x1908
00444 #define GL_LUMINANCE 0x1909
00445 #define GL_LUMINANCE_ALPHA 0x190A
00446
00447
00448 #define GL_UNPACK_ALIGNMENT 0x0CF5
00449 #define GL_PACK_ALIGNMENT 0x0D05
00450
00451
00452
00453 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
00454 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
00455 #define GL_UNSIGNED_SHORT_5_6_5 0x8363
00456
00457
00458 #define GL_FLAT 0x1D00
00459 #define GL_SMOOTH 0x1D01
00460
00461
00462
00463
00464
00465
00466
00467
00468
00469
00470
00471
00472
00473 #define GL_KEEP 0x1E00
00474 #define GL_REPLACE 0x1E01
00475 #define GL_INCR 0x1E02
00476 #define GL_DECR 0x1E03
00477
00478
00479
00480 #define GL_VENDOR 0x1F00
00481 #define GL_RENDERER 0x1F01
00482 #define GL_VERSION 0x1F02
00483 #define GL_EXTENSIONS 0x1F03
00484
00485
00486
00487
00488
00489
00490
00491
00492 #define GL_MODULATE 0x2100
00493 #define GL_DECAL 0x2101
00494
00495 #define GL_ADD 0x0104
00496
00497
00498
00499 #define GL_TEXTURE_ENV_MODE 0x2200
00500 #define GL_TEXTURE_ENV_COLOR 0x2201
00501
00502
00503 #define GL_TEXTURE_ENV 0x2300
00504
00505
00506 #define GL_NEAREST 0x2600
00507 #define GL_LINEAR 0x2601
00508
00509
00510
00511
00512 #define GL_NEAREST_MIPMAP_NEAREST 0x2700
00513 #define GL_LINEAR_MIPMAP_NEAREST 0x2701
00514 #define GL_NEAREST_MIPMAP_LINEAR 0x2702
00515 #define GL_LINEAR_MIPMAP_LINEAR 0x2703
00516
00517
00518 #define GL_TEXTURE_MAG_FILTER 0x2800
00519 #define GL_TEXTURE_MIN_FILTER 0x2801
00520 #define GL_TEXTURE_WRAP_S 0x2802
00521 #define GL_TEXTURE_WRAP_T 0x2803
00522 #define GL_GENERATE_MIPMAP 0x8191
00523
00524
00525
00526
00527
00528 #define GL_TEXTURE0 0x84C0
00529 #define GL_TEXTURE1 0x84C1
00530 #define GL_TEXTURE2 0x84C2
00531 #define GL_TEXTURE3 0x84C3
00532 #define GL_TEXTURE4 0x84C4
00533 #define GL_TEXTURE5 0x84C5
00534 #define GL_TEXTURE6 0x84C6
00535 #define GL_TEXTURE7 0x84C7
00536 #define GL_TEXTURE8 0x84C8
00537 #define GL_TEXTURE9 0x84C9
00538 #define GL_TEXTURE10 0x84CA
00539 #define GL_TEXTURE11 0x84CB
00540 #define GL_TEXTURE12 0x84CC
00541 #define GL_TEXTURE13 0x84CD
00542 #define GL_TEXTURE14 0x84CE
00543 #define GL_TEXTURE15 0x84CF
00544 #define GL_TEXTURE16 0x84D0
00545 #define GL_TEXTURE17 0x84D1
00546 #define GL_TEXTURE18 0x84D2
00547 #define GL_TEXTURE19 0x84D3
00548 #define GL_TEXTURE20 0x84D4
00549 #define GL_TEXTURE21 0x84D5
00550 #define GL_TEXTURE22 0x84D6
00551 #define GL_TEXTURE23 0x84D7
00552 #define GL_TEXTURE24 0x84D8
00553 #define GL_TEXTURE25 0x84D9
00554 #define GL_TEXTURE26 0x84DA
00555 #define GL_TEXTURE27 0x84DB
00556 #define GL_TEXTURE28 0x84DC
00557 #define GL_TEXTURE29 0x84DD
00558 #define GL_TEXTURE30 0x84DE
00559 #define GL_TEXTURE31 0x84DF
00560 #define GL_ACTIVE_TEXTURE 0x84E0
00561 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
00562
00563
00564 #define GL_REPEAT 0x2901
00565 #define GL_CLAMP_TO_EDGE 0x812F
00566
00567
00568
00569
00570
00571
00572
00573
00574 #define GL_LIGHT0 0x4000
00575 #define GL_LIGHT1 0x4001
00576 #define GL_LIGHT2 0x4002
00577 #define GL_LIGHT3 0x4003
00578 #define GL_LIGHT4 0x4004
00579 #define GL_LIGHT5 0x4005
00580 #define GL_LIGHT6 0x4006
00581 #define GL_LIGHT7 0x4007
00582
00583
00584 #define GL_ARRAY_BUFFER 0x8892
00585 #define GL_ELEMENT_ARRAY_BUFFER 0x8893
00586
00587 #define GL_ARRAY_BUFFER_BINDING 0x8894
00588 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
00589 #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896
00590 #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897
00591 #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898
00592 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
00593
00594 #define GL_STATIC_DRAW 0x88E4
00595 #define GL_DYNAMIC_DRAW 0x88E8
00596
00597 #define GL_BUFFER_SIZE 0x8764
00598 #define GL_BUFFER_USAGE 0x8765
00599
00600
00601 #define GL_SUBTRACT 0x84E7
00602 #define GL_COMBINE 0x8570
00603 #define GL_COMBINE_RGB 0x8571
00604 #define GL_COMBINE_ALPHA 0x8572
00605 #define GL_RGB_SCALE 0x8573
00606 #define GL_ADD_SIGNED 0x8574
00607 #define GL_INTERPOLATE 0x8575
00608 #define GL_CONSTANT 0x8576
00609 #define GL_PRIMARY_COLOR 0x8577
00610 #define GL_PREVIOUS 0x8578
00611 #define GL_OPERAND0_RGB 0x8590
00612 #define GL_OPERAND1_RGB 0x8591
00613 #define GL_OPERAND2_RGB 0x8592
00614 #define GL_OPERAND0_ALPHA 0x8598
00615 #define GL_OPERAND1_ALPHA 0x8599
00616 #define GL_OPERAND2_ALPHA 0x859A
00617
00618 #define GL_ALPHA_SCALE 0x0D1C
00619
00620 #define GL_SRC0_RGB 0x8580
00621 #define GL_SRC1_RGB 0x8581
00622 #define GL_SRC2_RGB 0x8582
00623 #define GL_SRC0_ALPHA 0x8588
00624 #define GL_SRC1_ALPHA 0x8589
00625 #define GL_SRC2_ALPHA 0x858A
00626
00627 #define GL_DOT3_RGB 0x86AE
00628 #define GL_DOT3_RGBA 0x86AF
00629
00630
00631
00632
00633
00634
00635 #ifndef GL_OES_read_format
00636 #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
00637 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
00638 #endif
00639
00640
00641 #ifndef GL_OES_compressed_paletted_texture
00642 #define GL_PALETTE4_RGB8_OES 0x8B90
00643 #define GL_PALETTE4_RGBA8_OES 0x8B91
00644 #define GL_PALETTE4_R5_G6_B5_OES 0x8B92
00645 #define GL_PALETTE4_RGBA4_OES 0x8B93
00646 #define GL_PALETTE4_RGB5_A1_OES 0x8B94
00647 #define GL_PALETTE8_RGB8_OES 0x8B95
00648 #define GL_PALETTE8_RGBA8_OES 0x8B96
00649 #define GL_PALETTE8_R5_G6_B5_OES 0x8B97
00650 #define GL_PALETTE8_RGBA4_OES 0x8B98
00651 #define GL_PALETTE8_RGB5_A1_OES 0x8B99
00652 #endif
00653
00654
00655 #ifndef GL_OES_point_size_array
00656 #define GL_POINT_SIZE_ARRAY_OES 0x8B9C
00657 #define GL_POINT_SIZE_ARRAY_TYPE_OES 0x898A
00658 #define GL_POINT_SIZE_ARRAY_STRIDE_OES 0x898B
00659 #define GL_POINT_SIZE_ARRAY_POINTER_OES 0x898C
00660 #define GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES 0x8B9F
00661 #endif
00662
00663
00664 #ifndef GL_OES_point_sprite
00665 #define GL_POINT_SPRITE_OES 0x8861
00666 #define GL_COORD_REPLACE_OES 0x8862
00667 #endif
00668
00669
00670 #ifndef GL_OES_draw_texture
00671 #define GL_TEXTURE_CROP_RECT_OES 0x8B9D
00672 #endif
00673
00674
00675 #ifndef GL_OES_vertex_buffer_object
00676 #define GL_ARRAY_BUFFER_OES 0x8892
00677 #define GL_ELEMENT_ARRAY_BUFFER_OES 0x8893
00678 #define GL_ARRAY_BUFFER_BINDING_OES 0x8894
00679 #define GL_ELEMENT_ARRAY_BUFFER_BINDING_OES 0x8895
00680 #define GL_VERTEX_ARRAY_BUFFER_BINDING_OES 0x8896
00681 #define GL_NORMAL_ARRAY_BUFFER_BINDING_OES 0x8897
00682 #define GL_COLOR_ARRAY_BUFFER_BINDING_OES 0x8898
00683 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_OES 0x889A
00684 #define GL_STATIC_DRAW_OES 0x88E4
00685 #define GL_DYNAMIC_DRAW_OES 0x88E8
00686 #define GL_WRITE_ONLY_OES 0x88B9
00687 #define GL_BUFFER_SIZE_OES 0x8764
00688 #define GL_BUFFER_USAGE_OES 0x8765
00689 #define GL_BUFFER_ACCESS_OES 0x88BB
00690 #endif
00691
00692
00693
00694
00695 GL_API void GL_APIENTRY glAlphaFunc(GLenum func, GLclampf ref);
00696 GL_API void GL_APIENTRY glClearColor(GLclampf red, GLclampf green,
00697 GLclampf blue, GLclampf alpha);
00698 GL_API void GL_APIENTRY glClearDepthf(GLclampf depth);
00699 GL_API void GL_APIENTRY glClipPlanef(GLenum plane,
00700 const GLfloat * equation);
00701 GL_API void GL_APIENTRY glColor4f(GLfloat red, GLfloat green,
00702 GLfloat blue, GLfloat alpha);
00703 GL_API void GL_APIENTRY glDepthRangef(GLclampf zNear, GLclampf zFar);
00704 GL_API void GL_APIENTRY glFogf(GLenum pname, GLfloat param);
00705 GL_API void GL_APIENTRY glFogfv(GLenum pname, const GLfloat * params);
00706 GL_API void GL_APIENTRY glFrustumf(GLfloat left, GLfloat right,
00707 GLfloat bottom, GLfloat top,
00708 GLfloat zNear, GLfloat zFar);
00709 GL_API void GL_APIENTRY glGetClipPlanef(GLenum pname, GLfloat eqn[4]);
00710 GL_API void GL_APIENTRY glGetFloatv(GLenum pname, GLfloat * params);
00711 GL_API void GL_APIENTRY glGetLightfv(GLenum light, GLenum pname,
00712 GLfloat * params);
00713 GL_API void GL_APIENTRY glGetMaterialfv(GLenum face, GLenum pname,
00714 GLfloat * params);
00715 GL_API void GL_APIENTRY glGetTexEnvfv(GLenum env, GLenum pname,
00716 GLfloat * params);
00717 GL_API void GL_APIENTRY glGetTexParameterfv(GLenum target, GLenum pname,
00718 GLfloat * params);
00719 GL_API void GL_APIENTRY glLightModelf(GLenum pname, GLfloat param);
00720 GL_API void GL_APIENTRY glLightModelfv(GLenum pname,
00721 const GLfloat * params);
00722 GL_API void GL_APIENTRY glLightf(GLenum light, GLenum pname,
00723 GLfloat param);
00724 GL_API void GL_APIENTRY glLightfv(GLenum light, GLenum pname,
00725 const GLfloat * params);
00726 GL_API void GL_APIENTRY glLineWidth(GLfloat width);
00727 GL_API void GL_APIENTRY glLoadMatrixf(const GLfloat * m);
00728 GL_API void GL_APIENTRY glMaterialf(GLenum face, GLenum pname,
00729 GLfloat param);
00730 GL_API void GL_APIENTRY glMaterialfv(GLenum face, GLenum pname,
00731 const GLfloat * params);
00732 GL_API void GL_APIENTRY glMultMatrixf(const GLfloat * m);
00733 GL_API void GL_APIENTRY glMultiTexCoord4f(GLenum target, GLfloat s,
00734 GLfloat t, GLfloat r,
00735 GLfloat q);
00736 GL_API void GL_APIENTRY glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz);
00737 GL_API void GL_APIENTRY glOrthof(GLfloat left, GLfloat right,
00738 GLfloat bottom, GLfloat top,
00739 GLfloat zNear, GLfloat zFar);
00740 GL_API void GL_APIENTRY glPointParameterf(GLenum pname, GLfloat param);
00741 GL_API void GL_APIENTRY glPointParameterfv(GLenum pname,
00742 const GLfloat * params);
00743 GL_API void GL_APIENTRY glPointSize(GLfloat size);
00744 GL_API void GL_APIENTRY glPolygonOffset(GLfloat factor, GLfloat units);
00745 GL_API void GL_APIENTRY glRotatef(GLfloat angle, GLfloat x, GLfloat y,
00746 GLfloat z);
00747 GL_API void GL_APIENTRY glScalef(GLfloat x, GLfloat y, GLfloat z);
00748 GL_API void GL_APIENTRY glTexEnvf(GLenum target, GLenum pname,
00749 GLfloat param);
00750 GL_API void GL_APIENTRY glTexEnvfv(GLenum target, GLenum pname,
00751 const GLfloat * params);
00752 GL_API void GL_APIENTRY glTexParameterf(GLenum target, GLenum pname,
00753 GLfloat param);
00754 GL_API void GL_APIENTRY glTexParameterfv(GLenum target, GLenum pname,
00755 const GLfloat * params);
00756 GL_API void GL_APIENTRY glTranslatef(GLfloat x, GLfloat y, GLfloat z);
00757
00758
00759 GL_API void GL_APIENTRY glActiveTexture(GLenum texture);
00760 GL_API void GL_APIENTRY glAlphaFuncx(GLenum func, GLclampx ref);
00761 GL_API void GL_APIENTRY glBindBuffer(GLenum target, GLuint buffer);
00762 GL_API void GL_APIENTRY glBindTexture(GLenum target, GLuint texture);
00763 GL_API void GL_APIENTRY glBlendFunc(GLenum sfactor, GLenum dfactor);
00764 GL_API void GL_APIENTRY glBufferData(GLenum target, GLsizeiptr size,
00765 const GLvoid * data, GLenum usage);
00766 GL_API void GL_APIENTRY glBufferSubData(GLenum target, GLintptr offset,
00767 GLsizeiptr size,
00768 const GLvoid * data);
00769 GL_API void GL_APIENTRY glClear(GLbitfield mask);
00770 GL_API void GL_APIENTRY glClearColorx(GLclampx red, GLclampx green,
00771 GLclampx blue, GLclampx alpha);
00772 GL_API void GL_APIENTRY glClearDepthx(GLclampx depth);
00773 GL_API void GL_APIENTRY glClearStencil(GLint s);
00774 GL_API void GL_APIENTRY glClientActiveTexture(GLenum texture);
00775 GL_API void GL_APIENTRY glClipPlanex(GLenum plane,
00776 const GLfixed * equation);
00777 GL_API void GL_APIENTRY glColor4ub(GLubyte red, GLubyte green,
00778 GLubyte blue, GLubyte alpha);
00779 GL_API void GL_APIENTRY glColor4x(GLfixed red, GLfixed green,
00780 GLfixed blue, GLfixed alpha);
00781 GL_API void GL_APIENTRY glColorMask(GLboolean red, GLboolean green,
00782 GLboolean blue, GLboolean alpha);
00783 GL_API void GL_APIENTRY glColorPointer(GLint size, GLenum type,
00784 GLsizei stride,
00785 const GLvoid * pointer);
00786 GL_API void GL_APIENTRY glCompressedTexImage2D(GLenum target, GLint level,
00787 GLenum internalformat,
00788 GLsizei width,
00789 GLsizei height,
00790 GLint border,
00791 GLsizei imageSize,
00792 const GLvoid * data);
00793 GL_API void GL_APIENTRY glCompressedTexSubImage2D(GLenum target,
00794 GLint level,
00795 GLint xoffset,
00796 GLint yoffset,
00797 GLsizei width,
00798 GLsizei height,
00799 GLenum format,
00800 GLsizei imageSize,
00801 const GLvoid * data);
00802 GL_API void GL_APIENTRY glCopyTexImage2D(GLenum target, GLint level,
00803 GLenum internalformat, GLint x,
00804 GLint y, GLsizei width,
00805 GLsizei height, GLint border);
00806 GL_API void GL_APIENTRY glCopyTexSubImage2D(GLenum target, GLint level,
00807 GLint xoffset, GLint yoffset,
00808 GLint x, GLint y,
00809 GLsizei width,
00810 GLsizei height);
00811 GL_API void GL_APIENTRY glCullFace(GLenum mode);
00812 GL_API void GL_APIENTRY glDeleteBuffers(GLsizei n,
00813 const GLuint * buffers);
00814 GL_API void GL_APIENTRY glDeleteTextures(GLsizei n,
00815 const GLuint * textures);
00816 GL_API void GL_APIENTRY glDepthFunc(GLenum func);
00817 GL_API void GL_APIENTRY glDepthMask(GLboolean flag);
00818 GL_API void GL_APIENTRY glDepthRangex(GLclampx zNear, GLclampx zFar);
00819 GL_API void GL_APIENTRY glDisable(GLenum cap);
00820 GL_API void GL_APIENTRY glDisableClientState(GLenum array);
00821 GL_API void GL_APIENTRY glDrawArrays(GLenum mode, GLint first,
00822 GLsizei count);
00823 GL_API void GL_APIENTRY glDrawElements(GLenum mode, GLsizei count,
00824 GLenum type,
00825 const GLvoid * indices);
00826 GL_API void GL_APIENTRY glEnable(GLenum cap);
00827 GL_API void GL_APIENTRY glEnableClientState(GLenum array);
00828 GL_API void GL_APIENTRY glFinish(void);
00829 GL_API void GL_APIENTRY glFlush(void);
00830 GL_API void GL_APIENTRY glFogx(GLenum pname, GLfixed param);
00831 GL_API void GL_APIENTRY glFogxv(GLenum pname, const GLfixed * params);
00832 GL_API void GL_APIENTRY glFrontFace(GLenum mode);
00833 GL_API void GL_APIENTRY glFrustumx(GLfixed left, GLfixed right,
00834 GLfixed bottom, GLfixed top,
00835 GLfixed zNear, GLfixed zFar);
00836 GL_API void GL_APIENTRY glGetBooleanv(GLenum pname, GLboolean * params);
00837 GL_API void GL_APIENTRY glGetBufferParameteriv(GLenum target,
00838 GLenum pname,
00839 GLint * params);
00840 GL_API void GL_APIENTRY glGetClipPlanex(GLenum pname, GLfixed eqn[4]);
00841 GL_API void GL_APIENTRY glGenBuffers(GLsizei n, GLuint * buffers);
00842 GL_API void GL_APIENTRY glGenTextures(GLsizei n, GLuint * textures);
00843 GL_API GLenum GL_APIENTRY glGetError(void);
00844 GL_API void GL_APIENTRY glGetFixedv(GLenum pname, GLfixed * params);
00845 GL_API void GL_APIENTRY glGetIntegerv(GLenum pname, GLint * params);
00846 GL_API void GL_APIENTRY glGetLightxv(GLenum light, GLenum pname,
00847 GLfixed * params);
00848 GL_API void GL_APIENTRY glGetMaterialxv(GLenum face, GLenum pname,
00849 GLfixed * params);
00850 GL_API void GL_APIENTRY glGetPointerv(GLenum pname, void **params);
00851 GL_API const GLubyte *GL_APIENTRY glGetString(GLenum name);
00852 GL_API void GL_APIENTRY glGetTexEnviv(GLenum env, GLenum pname,
00853 GLint * params);
00854 GL_API void GL_APIENTRY glGetTexEnvxv(GLenum env, GLenum pname,
00855 GLfixed * params);
00856 GL_API void GL_APIENTRY glGetTexParameteriv(GLenum target, GLenum pname,
00857 GLint * params);
00858 GL_API void GL_APIENTRY glGetTexParameterxv(GLenum target, GLenum pname,
00859 GLfixed * params);
00860 GL_API void GL_APIENTRY glHint(GLenum target, GLenum mode);
00861 GL_API GLboolean GL_APIENTRY glIsBuffer(GLuint buffer);
00862 GL_API GLboolean GL_APIENTRY glIsEnabled(GLenum cap);
00863 GL_API GLboolean GL_APIENTRY glIsTexture(GLuint texture);
00864 GL_API void GL_APIENTRY glLightModelx(GLenum pname, GLfixed param);
00865 GL_API void GL_APIENTRY glLightModelxv(GLenum pname,
00866 const GLfixed * params);
00867 GL_API void GL_APIENTRY glLightx(GLenum light, GLenum pname,
00868 GLfixed param);
00869 GL_API void GL_APIENTRY glLightxv(GLenum light, GLenum pname,
00870 const GLfixed * params);
00871 GL_API void GL_APIENTRY glLineWidthx(GLfixed width);
00872 GL_API void GL_APIENTRY glLoadIdentity(void);
00873 GL_API void GL_APIENTRY glLoadMatrixx(const GLfixed * m);
00874 GL_API void GL_APIENTRY glLogicOp(GLenum opcode);
00875 GL_API void GL_APIENTRY glMaterialx(GLenum face, GLenum pname,
00876 GLfixed param);
00877 GL_API void GL_APIENTRY glMaterialxv(GLenum face, GLenum pname,
00878 const GLfixed * params);
00879 GL_API void GL_APIENTRY glMatrixMode(GLenum mode);
00880 GL_API void GL_APIENTRY glMultMatrixx(const GLfixed * m);
00881 GL_API void GL_APIENTRY glMultiTexCoord4x(GLenum target, GLfixed s,
00882 GLfixed t, GLfixed r,
00883 GLfixed q);
00884 GL_API void GL_APIENTRY glNormal3x(GLfixed nx, GLfixed ny, GLfixed nz);
00885 GL_API void GL_APIENTRY glNormalPointer(GLenum type, GLsizei stride,
00886 const GLvoid * pointer);
00887 GL_API void GL_APIENTRY glOrthox(GLfixed left, GLfixed right,
00888 GLfixed bottom, GLfixed top,
00889 GLfixed zNear, GLfixed zFar);
00890 GL_API void GL_APIENTRY glPixelStorei(GLenum pname, GLint param);
00891 GL_API void GL_APIENTRY glPointParameterx(GLenum pname, GLfixed param);
00892 GL_API void GL_APIENTRY glPointParameterxv(GLenum pname,
00893 const GLfixed * params);
00894 GL_API void GL_APIENTRY glPointSizex(GLfixed size);
00895 GL_API void GL_APIENTRY glPolygonOffsetx(GLfixed factor, GLfixed units);
00896 GL_API void GL_APIENTRY glPopMatrix(void);
00897 GL_API void GL_APIENTRY glPushMatrix(void);
00898 GL_API void GL_APIENTRY glReadPixels(GLint x, GLint y, GLsizei width,
00899 GLsizei height, GLenum format,
00900 GLenum type, GLvoid * pixels);
00901 GL_API void GL_APIENTRY glRotatex(GLfixed angle, GLfixed x, GLfixed y,
00902 GLfixed z);
00903 GL_API void GL_APIENTRY glSampleCoverage(GLclampf value,
00904 GLboolean invert);
00905 GL_API void GL_APIENTRY glSampleCoveragex(GLclampx value,
00906 GLboolean invert);
00907 GL_API void GL_APIENTRY glScalex(GLfixed x, GLfixed y, GLfixed z);
00908 GL_API void GL_APIENTRY glScissor(GLint x, GLint y, GLsizei width,
00909 GLsizei height);
00910 GL_API void GL_APIENTRY glShadeModel(GLenum mode);
00911 GL_API void GL_APIENTRY glStencilFunc(GLenum func, GLint ref,
00912 GLuint mask);
00913 GL_API void GL_APIENTRY glStencilMask(GLuint mask);
00914 GL_API void GL_APIENTRY glStencilOp(GLenum fail, GLenum zfail,
00915 GLenum zpass);
00916 GL_API void GL_APIENTRY glTexCoordPointer(GLint size, GLenum type,
00917 GLsizei stride,
00918 const GLvoid * pointer);
00919 GL_API void GL_APIENTRY glTexEnvi(GLenum target, GLenum pname,
00920 GLint param);
00921 GL_API void GL_APIENTRY glTexEnvx(GLenum target, GLenum pname,
00922 GLfixed param);
00923 GL_API void GL_APIENTRY glTexEnviv(GLenum target, GLenum pname,
00924 const GLint * params);
00925 GL_API void GL_APIENTRY glTexEnvxv(GLenum target, GLenum pname,
00926 const GLfixed * params);
00927 GL_API void GL_APIENTRY glTexImage2D(GLenum target, GLint level,
00928 GLint internalformat, GLsizei width,
00929 GLsizei height, GLint border,
00930 GLenum format, GLenum type,
00931 const GLvoid * pixels);
00932 GL_API void GL_APIENTRY glTexParameteri(GLenum target, GLenum pname,
00933 GLint param);
00934 GL_API void GL_APIENTRY glTexParameterx(GLenum target, GLenum pname,
00935 GLfixed param);
00936 GL_API void GL_APIENTRY glTexParameteriv(GLenum target, GLenum pname,
00937 const GLint * params);
00938 GL_API void GL_APIENTRY glTexParameterxv(GLenum target, GLenum pname,
00939 const GLfixed * params);
00940 GL_API void GL_APIENTRY glTexSubImage2D(GLenum target, GLint level,
00941 GLint xoffset, GLint yoffset,
00942 GLsizei width, GLsizei height,
00943 GLenum format, GLenum type,
00944 const GLvoid * pixels);
00945 GL_API void GL_APIENTRY glTranslatex(GLfixed x, GLfixed y, GLfixed z);
00946 GL_API void GL_APIENTRY glVertexPointer(GLint size, GLenum type,
00947 GLsizei stride,
00948 const GLvoid * pointer);
00949 GL_API void GL_APIENTRY glViewport(GLint x, GLint y, GLsizei width,
00950 GLsizei height);
00951
00952
00953
00954
00955
00956
00957 #ifndef GL_OES_read_format
00958 #define GL_OES_read_format 1
00959 #endif
00960
00961
00962 #ifndef GL_OES_compressed_paletted_texture
00963 #define GL_OES_compressed_paletted_texture 1
00964 #endif
00965
00966
00967 #ifndef GL_OES_point_size_array
00968 #define GL_OES_point_size_array 1
00969 GL_API void GL_APIENTRY glPointSizePointerOES(GLenum type, GLsizei stride,
00970 const GLvoid * pointer);
00971 #endif
00972
00973
00974 #ifndef GL_OES_query_matrix
00975 #define GL_OES_query_matrix 1
00976 GL_API GLbitfield GL_APIENTRY glQueryMatrixxOES(GLfixed mantissa[16],
00977 GLint exponent[16]);
00978 #endif
00979
00980
00981 #ifndef GL_OES_point_sprite
00982 #define GL_OES_point_sprite 1
00983 #endif
00984
00985
00986 #ifndef GL_OES_draw_texture
00987 #define GL_OES_draw_texture 1
00988 GL_API void GL_APIENTRY glDrawTexsOES(GLshort x, GLshort y, GLshort z,
00989 GLshort width, GLshort height);
00990 GL_API void GL_APIENTRY glDrawTexiOES(GLint x, GLint y, GLint z,
00991 GLint width, GLint height);
00992 GL_API void GL_APIENTRY glDrawTexxOES(GLfixed x, GLfixed y, GLfixed z,
00993 GLfixed width, GLfixed height);
00994 GL_API void GL_APIENTRY glDrawTexsvOES(const GLshort * coords);
00995 GL_API void GL_APIENTRY glDrawTexivOES(const GLint * coords);
00996 GL_API void GL_APIENTRY glDrawTexxvOES(const GLfixed * coords);
00997 GL_API void GL_APIENTRY glDrawTexfOES(GLfloat x, GLfloat y, GLfloat z,
00998 GLfloat width, GLfloat height);
00999 GL_API void GL_APIENTRY glDrawTexfvOES(const GLfloat * coords);
01000 #endif
01001
01002
01003 #ifndef GL_OES_single_precision
01004 #define GL_OES_single_precision 1
01005 GL_API void GL_APIENTRY glDepthRangefOES(GLclampf zNear, GLclampf zFar);
01006 GL_API void GL_APIENTRY glFrustumfOES(GLfloat left, GLfloat right,
01007 GLfloat bottom, GLfloat top,
01008 GLfloat zNear, GLfloat zFar);
01009 GL_API void GL_APIENTRY glOrthofOES(GLfloat left, GLfloat right,
01010 GLfloat bottom, GLfloat top,
01011 GLfloat zNear, GLfloat zFar);
01012 GL_API void GL_APIENTRY glClipPlanefOES(GLenum plane,
01013 const GLfloat * equation);
01014 GL_API void GL_APIENTRY glGetClipPlanefOES(GLenum pname, GLfloat eqn[4]);
01015 GL_API void GL_APIENTRY glClearDepthfOES(GLclampf depth);
01016 #endif
01017
01018
01019 #ifndef GL_OES_vertex_buffer_object
01020 #define GL_OES_vertex_buffer_object 1
01021 GL_API void APIENTRY glBindBufferOES(GLenum, GLuint);
01022 GL_API void APIENTRY glDeleteBuffersOES(GLsizei, const GLuint *);
01023 GL_API void APIENTRY glGenBuffersOES(GLsizei, GLuint *);
01024 GL_API GLboolean APIENTRY glIsBufferOES(GLuint);
01025 GL_API void APIENTRY glBufferDataOES(GLenum, GLsizeiptr, const GLvoid *,
01026 GLenum);
01027 GL_API void APIENTRY glBufferSubDataOES(GLenum, GLintptr, GLsizeiptr,
01028 const GLvoid *);
01029 GL_API void APIENTRY glGetBufferParameterivOES(GLenum, GLenum, GLint *);
01030 #endif
01031
01032 #ifdef __cplusplus
01033 }
01034 #endif
01035
01036 #endif