Tizen 2.1 base
[framework/osp/uifw.git] / inc / gl2.h
1 /* $Change: 1028567 $ */
2 #ifndef __gl2_h_
3 #define __gl2_h_
4
5 /* $Revision: #1 $ on $Date: 2011/08/12 $ */
6
7 /**
8  * @file                gl2.h
9  * @brief               This is the header file for the OpenGL(R) ES 2.0.
10  *
11  * This header file contains the declarations of the OpenGL(R) ES 2.0.
12  */
13
14 #include "gl2platform.h"
15 #include "gl2macro.h"
16
17
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21
22 /*
23  * This document is licensed under the SGI Free Software B License Version
24  * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
25  */
26
27 /**
28  * @addtogroup opengles
29  *
30  * @{
31  */
32
33 /*-------------------------------------------------------------------------
34  * Data type definitions
35  *-----------------------------------------------------------------------*/
36
37 #if 0   // move to "khrplatform.h"
38 typedef void GLvoid;
39 typedef unsigned int GLenum;
40 typedef unsigned char GLboolean;
41 typedef unsigned int GLbitfield;
42 typedef khronos_int8_t GLbyte;
43 typedef short GLshort;
44 typedef int GLint;
45 typedef int GLsizei;
46 typedef khronos_uint8_t GLubyte;
47 typedef unsigned short GLushort;
48 typedef unsigned int GLuint;
49 typedef khronos_float_t GLfloat;
50 typedef khronos_float_t GLclampf;
51 typedef khronos_int32_t GLfixed;
52
53 /* GL types for handling large vertex buffer objects */
54 typedef khronos_intptr_t GLintptr;
55 typedef khronos_ssize_t GLsizeiptr;
56 #endif
57
58 /* OpenGL ES core versions */
59 #define GL_ES_VERSION_2_0                 1
60
61 /* ClearBufferMask */
62 #define GL_DEPTH_BUFFER_BIT               0x00000100
63 #define GL_STENCIL_BUFFER_BIT             0x00000400
64 #define GL_COLOR_BUFFER_BIT               0x00004000
65
66 /* Boolean */
67 #define GL_FALSE                          0
68 #define GL_TRUE                           1
69
70 /* BeginMode */
71 #define GL_POINTS                         0x0000
72 #define GL_LINES                          0x0001
73 #define GL_LINE_LOOP                      0x0002
74 #define GL_LINE_STRIP                     0x0003
75 #define GL_TRIANGLES                      0x0004
76 #define GL_TRIANGLE_STRIP                 0x0005
77 #define GL_TRIANGLE_FAN                   0x0006
78
79 /* AlphaFunction (not supported in ES20) */
80 /*      GL_NEVER */
81 /*      GL_LESS */
82 /*      GL_EQUAL */
83 /*      GL_LEQUAL */
84 /*      GL_GREATER */
85 /*      GL_NOTEQUAL */
86 /*      GL_GEQUAL */
87 /*      GL_ALWAYS */
88
89 /* BlendingFactorDest */
90 #define GL_ZERO                           0
91 #define GL_ONE                            1
92 #define GL_SRC_COLOR                      0x0300
93 #define GL_ONE_MINUS_SRC_COLOR            0x0301
94 #define GL_SRC_ALPHA                      0x0302
95 #define GL_ONE_MINUS_SRC_ALPHA            0x0303
96 #define GL_DST_ALPHA                      0x0304
97 #define GL_ONE_MINUS_DST_ALPHA            0x0305
98
99 /* BlendingFactorSrc */
100 /*      GL_ZERO */
101 /*      GL_ONE */
102 #define GL_DST_COLOR                      0x0306
103 #define GL_ONE_MINUS_DST_COLOR            0x0307
104 #define GL_SRC_ALPHA_SATURATE             0x0308
105 /*      GL_SRC_ALPHA */
106 /*      GL_ONE_MINUS_SRC_ALPHA */
107 /*      GL_DST_ALPHA */
108 /*      GL_ONE_MINUS_DST_ALPHA */
109
110 /* BlendEquationSeparate */
111 #define GL_FUNC_ADD                        0x8006
112 #define GL_BLEND_EQUATION                  0x8009
113 #define GL_BLEND_EQUATION_RGB              0x8009   /* same as BLEND_EQUATION */
114 #define GL_BLEND_EQUATION_ALPHA            0x883D
115
116 /* BlendSubtract */
117 #define GL_FUNC_SUBTRACT                   0x800A
118 #define GL_FUNC_REVERSE_SUBTRACT           0x800B
119
120 /* Separate Blend Functions */
121 #define GL_BLEND_DST_RGB                   0x80C8
122 #define GL_BLEND_SRC_RGB                   0x80C9
123 #define GL_BLEND_DST_ALPHA                 0x80CA
124 #define GL_BLEND_SRC_ALPHA                 0x80CB
125 #define GL_CONSTANT_COLOR                  0x8001
126 #define GL_ONE_MINUS_CONSTANT_COLOR        0x8002
127 #define GL_CONSTANT_ALPHA                  0x8003
128 #define GL_ONE_MINUS_CONSTANT_ALPHA        0x8004
129 #define GL_BLEND_COLOR                     0x8005
130
131 /* Buffer Objects */
132 #define GL_ARRAY_BUFFER                   0x8892
133 #define GL_ELEMENT_ARRAY_BUFFER           0x8893
134 #define GL_ARRAY_BUFFER_BINDING           0x8894
135 #define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
136
137 #define GL_STREAM_DRAW                    0x88E0
138 #define GL_STATIC_DRAW                    0x88E4
139 #define GL_DYNAMIC_DRAW                   0x88E8
140
141 #define GL_BUFFER_SIZE                    0x8764
142 #define GL_BUFFER_USAGE                   0x8765
143
144 #define GL_CURRENT_VERTEX_ATTRIB          0x8626
145
146 /* CullFaceMode */
147 #define GL_FRONT                          0x0404
148 #define GL_BACK                           0x0405
149 #define GL_FRONT_AND_BACK                 0x0408
150
151 /* DepthFunction */
152 /*      GL_NEVER */
153 /*      GL_LESS */
154 /*      GL_EQUAL */
155 /*      GL_LEQUAL */
156 /*      GL_GREATER */
157 /*      GL_NOTEQUAL */
158 /*      GL_GEQUAL */
159 /*      GL_ALWAYS */
160
161 /* EnableCap */
162 #define GL_TEXTURE_2D                     0x0DE1
163 #define GL_CULL_FACE                      0x0B44
164 #define GL_BLEND                          0x0BE2
165 #define GL_DITHER                         0x0BD0
166 #define GL_STENCIL_TEST                   0x0B90
167 #define GL_DEPTH_TEST                     0x0B71
168 #define GL_SCISSOR_TEST                   0x0C11
169 #define GL_POLYGON_OFFSET_FILL            0x8037
170 #define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
171 #define GL_SAMPLE_COVERAGE                0x80A0
172
173 /* ErrorCode */
174 #define GL_NO_ERROR                       0
175 #define GL_INVALID_ENUM                   0x0500
176 #define GL_INVALID_VALUE                  0x0501
177 #define GL_INVALID_OPERATION              0x0502
178 #define GL_OUT_OF_MEMORY                  0x0505
179
180 /* FrontFaceDirection */
181 #define GL_CW                             0x0900
182 #define GL_CCW                            0x0901
183
184 /* GetPName */
185 #define GL_LINE_WIDTH                     0x0B21
186 #define GL_ALIASED_POINT_SIZE_RANGE       0x846D
187 #define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
188 #define GL_CULL_FACE_MODE                 0x0B45
189 #define GL_FRONT_FACE                     0x0B46
190 #define GL_DEPTH_RANGE                    0x0B70
191 #define GL_DEPTH_WRITEMASK                0x0B72
192 #define GL_DEPTH_CLEAR_VALUE              0x0B73
193 #define GL_DEPTH_FUNC                     0x0B74
194 #define GL_STENCIL_CLEAR_VALUE            0x0B91
195 #define GL_STENCIL_FUNC                   0x0B92
196 #define GL_STENCIL_FAIL                   0x0B94
197 #define GL_STENCIL_PASS_DEPTH_FAIL        0x0B95
198 #define GL_STENCIL_PASS_DEPTH_PASS        0x0B96
199 #define GL_STENCIL_REF                    0x0B97
200 #define GL_STENCIL_VALUE_MASK             0x0B93
201 #define GL_STENCIL_WRITEMASK              0x0B98
202 #define GL_STENCIL_BACK_FUNC              0x8800
203 #define GL_STENCIL_BACK_FAIL              0x8801
204 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
205 #define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
206 #define GL_STENCIL_BACK_REF               0x8CA3
207 #define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
208 #define GL_STENCIL_BACK_WRITEMASK         0x8CA5
209 #define GL_VIEWPORT                       0x0BA2
210 #define GL_SCISSOR_BOX                    0x0C10
211 #define GL_SCISSOR_TEST                   0x0C11
212 #define GL_COLOR_CLEAR_VALUE              0x0C22
213 #define GL_COLOR_WRITEMASK                0x0C23
214 #define GL_UNPACK_ALIGNMENT               0x0CF5
215 #define GL_PACK_ALIGNMENT                 0x0D05
216 #define GL_MAX_TEXTURE_SIZE               0x0D33
217 #define GL_MAX_VIEWPORT_DIMS              0x0D3A
218 #define GL_SUBPIXEL_BITS                  0x0D50
219 #define GL_RED_BITS                       0x0D52
220 #define GL_GREEN_BITS                     0x0D53
221 #define GL_BLUE_BITS                      0x0D54
222 #define GL_ALPHA_BITS                     0x0D55
223 #define GL_DEPTH_BITS                     0x0D56
224 #define GL_STENCIL_BITS                   0x0D57
225 #define GL_POLYGON_OFFSET_UNITS           0x2A00
226 #define GL_POLYGON_OFFSET_FILL            0x8037
227 #define GL_POLYGON_OFFSET_FACTOR          0x8038
228 #define GL_TEXTURE_BINDING_2D             0x8069
229 #define GL_SAMPLE_BUFFERS                 0x80A8
230 #define GL_SAMPLES                        0x80A9
231 #define GL_SAMPLE_COVERAGE_VALUE          0x80AA
232 #define GL_SAMPLE_COVERAGE_INVERT         0x80AB
233
234 /* GetTextureParameter */
235 /*      GL_TEXTURE_MAG_FILTER */
236 /*      GL_TEXTURE_MIN_FILTER */
237 /*      GL_TEXTURE_WRAP_S */
238 /*      GL_TEXTURE_WRAP_T */
239
240 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS       0x86A2
241 #define GL_COMPRESSED_TEXTURE_FORMATS           0x86A3
242
243 /* HintMode */
244 #define GL_DONT_CARE                      0x1100
245 #define GL_FASTEST                        0x1101
246 #define GL_NICEST                         0x1102
247
248 /* HintTarget */
249 #define GL_GENERATE_MIPMAP_HINT            0x8192
250
251 /* DataType */
252 #define GL_BYTE                           0x1400
253 #define GL_UNSIGNED_BYTE                  0x1401
254 #define GL_SHORT                          0x1402
255 #define GL_UNSIGNED_SHORT                 0x1403
256 #define GL_INT                            0x1404
257 #define GL_UNSIGNED_INT                   0x1405
258 #define GL_FLOAT                          0x1406
259 #define GL_FIXED                          0x140C
260
261 /* PixelFormat */
262 #define GL_DEPTH_COMPONENT                0x1902
263 #define GL_ALPHA                          0x1906
264 #define GL_RGB                            0x1907
265 #define GL_RGBA                           0x1908
266 #define GL_LUMINANCE                      0x1909
267 #define GL_LUMINANCE_ALPHA                0x190A
268
269 /* PixelType */
270 /*      GL_UNSIGNED_BYTE */
271 #define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
272 #define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
273 #define GL_UNSIGNED_SHORT_5_6_5           0x8363
274
275 /* Shaders */
276 #define GL_FRAGMENT_SHADER                0x8B30
277 #define GL_VERTEX_SHADER                  0x8B31
278 #define GL_MAX_VERTEX_ATTRIBS             0x8869
279 #define GL_MAX_VERTEX_UNIFORM_VECTORS       0x8DFB
280 #define GL_MAX_VARYING_VECTORS              0x8DFC
281 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
282 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
283 #define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
284 #define GL_MAX_FRAGMENT_UNIFORM_VECTORS     0x8DFD
285 #define GL_SHADER_TYPE                    0x8B4F
286 #define GL_DELETE_STATUS                  0x8B80
287 #define GL_LINK_STATUS                    0x8B82
288 #define GL_VALIDATE_STATUS                0x8B83
289 #define GL_ATTACHED_SHADERS               0x8B85
290 #define GL_ACTIVE_UNIFORMS                0x8B86
291 #define GL_ACTIVE_UNIFORM_MAX_LENGTH      0x8B87
292 #define GL_ACTIVE_ATTRIBUTES              0x8B89
293 #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH    0x8B8A
294 #define GL_SHADING_LANGUAGE_VERSION       0x8B8C
295 #define GL_CURRENT_PROGRAM                0x8B8D
296
297 /* StencilFunction */
298 #define GL_NEVER                          0x0200
299 #define GL_LESS                           0x0201
300 #define GL_EQUAL                          0x0202
301 #define GL_LEQUAL                         0x0203
302 #define GL_GREATER                        0x0204
303 #define GL_NOTEQUAL                       0x0205
304 #define GL_GEQUAL                         0x0206
305 #define GL_ALWAYS                         0x0207
306
307 /* StencilOp */
308 /*      GL_ZERO */
309 #define GL_KEEP                           0x1E00
310 #define GL_REPLACE                        0x1E01
311 #define GL_INCR                           0x1E02
312 #define GL_DECR                           0x1E03
313 #define GL_INVERT                         0x150A
314 #define GL_INCR_WRAP                      0x8507
315 #define GL_DECR_WRAP                      0x8508
316
317 /* StringName */
318 #define GL_VENDOR                         0x1F00
319 #define GL_RENDERER                       0x1F01
320 #define GL_VERSION                        0x1F02
321 #define GL_EXTENSIONS                     0x1F03
322
323 /* TextureMagFilter */
324 #define GL_NEAREST                        0x2600
325 #define GL_LINEAR                         0x2601
326
327 /* TextureMinFilter */
328 /*      GL_NEAREST */
329 /*      GL_LINEAR */
330 #define GL_NEAREST_MIPMAP_NEAREST         0x2700
331 #define GL_LINEAR_MIPMAP_NEAREST          0x2701
332 #define GL_NEAREST_MIPMAP_LINEAR          0x2702
333 #define GL_LINEAR_MIPMAP_LINEAR           0x2703
334
335 /* TextureParameterName */
336 #define GL_TEXTURE_MAG_FILTER             0x2800
337 #define GL_TEXTURE_MIN_FILTER             0x2801
338 #define GL_TEXTURE_WRAP_S                 0x2802
339 #define GL_TEXTURE_WRAP_T                 0x2803
340
341 /* TextureTarget */
342 /*      GL_TEXTURE_2D */
343 #define GL_TEXTURE                        0x1702
344
345 #define GL_TEXTURE_CUBE_MAP               0x8513
346 #define GL_TEXTURE_BINDING_CUBE_MAP       0x8514
347 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X    0x8515
348 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X    0x8516
349 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y    0x8517
350 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    0x8518
351 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z    0x8519
352 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    0x851A
353 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE      0x851C
354
355 /* TextureUnit */
356 #define GL_TEXTURE0                       0x84C0
357 #define GL_TEXTURE1                       0x84C1
358 #define GL_TEXTURE2                       0x84C2
359 #define GL_TEXTURE3                       0x84C3
360 #define GL_TEXTURE4                       0x84C4
361 #define GL_TEXTURE5                       0x84C5
362 #define GL_TEXTURE6                       0x84C6
363 #define GL_TEXTURE7                       0x84C7
364 #define GL_TEXTURE8                       0x84C8
365 #define GL_TEXTURE9                       0x84C9
366 #define GL_TEXTURE10                      0x84CA
367 #define GL_TEXTURE11                      0x84CB
368 #define GL_TEXTURE12                      0x84CC
369 #define GL_TEXTURE13                      0x84CD
370 #define GL_TEXTURE14                      0x84CE
371 #define GL_TEXTURE15                      0x84CF
372 #define GL_TEXTURE16                      0x84D0
373 #define GL_TEXTURE17                      0x84D1
374 #define GL_TEXTURE18                      0x84D2
375 #define GL_TEXTURE19                      0x84D3
376 #define GL_TEXTURE20                      0x84D4
377 #define GL_TEXTURE21                      0x84D5
378 #define GL_TEXTURE22                      0x84D6
379 #define GL_TEXTURE23                      0x84D7
380 #define GL_TEXTURE24                      0x84D8
381 #define GL_TEXTURE25                      0x84D9
382 #define GL_TEXTURE26                      0x84DA
383 #define GL_TEXTURE27                      0x84DB
384 #define GL_TEXTURE28                      0x84DC
385 #define GL_TEXTURE29                      0x84DD
386 #define GL_TEXTURE30                      0x84DE
387 #define GL_TEXTURE31                      0x84DF
388 #define GL_ACTIVE_TEXTURE                 0x84E0
389
390 /* TextureWrapMode */
391 #define GL_REPEAT                         0x2901
392 #define GL_CLAMP_TO_EDGE                  0x812F
393 #define GL_MIRRORED_REPEAT                0x8370
394
395 /* Uniform Types */
396 #define GL_FLOAT_VEC2                     0x8B50
397 #define GL_FLOAT_VEC3                     0x8B51
398 #define GL_FLOAT_VEC4                     0x8B52
399 #define GL_INT_VEC2                       0x8B53
400 #define GL_INT_VEC3                       0x8B54
401 #define GL_INT_VEC4                       0x8B55
402 #define GL_BOOL                           0x8B56
403 #define GL_BOOL_VEC2                      0x8B57
404 #define GL_BOOL_VEC3                      0x8B58
405 #define GL_BOOL_VEC4                      0x8B59
406 #define GL_FLOAT_MAT2                     0x8B5A
407 #define GL_FLOAT_MAT3                     0x8B5B
408 #define GL_FLOAT_MAT4                     0x8B5C
409 #define GL_SAMPLER_2D                     0x8B5E
410 #define GL_SAMPLER_CUBE                   0x8B60
411
412 /* Vertex Arrays */
413 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
414 #define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
415 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
416 #define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
417 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
418 #define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
419 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
420
421 /* Read Format */
422 #define GL_IMPLEMENTATION_COLOR_READ_TYPE   0x8B9A
423 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
424
425 /* Shader Source */
426 #define GL_COMPILE_STATUS                 0x8B81
427 #define GL_INFO_LOG_LENGTH                0x8B84
428 #define GL_SHADER_SOURCE_LENGTH           0x8B88
429 #define GL_SHADER_COMPILER                0x8DFA
430
431 /* Shader Binary */
432 #define GL_PLATFORM_BINARY                0x8D63
433 #define GL_SHADER_BINARY_FORMATS          0x8DF8
434 #define GL_NUM_SHADER_BINARY_FORMATS      0x8DF9
435
436 /* Shader Precision-Specified Types */
437 #define GL_LOW_FLOAT                      0x8DF0
438 #define GL_MEDIUM_FLOAT                   0x8DF1
439 #define GL_HIGH_FLOAT                     0x8DF2
440 #define GL_LOW_INT                        0x8DF3
441 #define GL_MEDIUM_INT                     0x8DF4
442 #define GL_HIGH_INT                       0x8DF5
443
444 /* Framebuffer Object. */
445 #define GL_FRAMEBUFFER                    0x8D40
446 #define GL_RENDERBUFFER                   0x8D41
447
448 #define GL_RGBA4                          0x8056
449 #define GL_RGB5_A1                        0x8057
450 #define GL_RGB565                         0x8D62
451 #define GL_DEPTH_COMPONENT16              0x81A5
452 #define GL_STENCIL_INDEX                  0x1901
453 #define GL_STENCIL_INDEX8                 0x8D48
454
455 #define GL_RENDERBUFFER_WIDTH             0x8D42
456 #define GL_RENDERBUFFER_HEIGHT            0x8D43
457 #define GL_RENDERBUFFER_INTERNAL_FORMAT   0x8D44
458 #define GL_RENDERBUFFER_RED_SIZE          0x8D50
459 #define GL_RENDERBUFFER_GREEN_SIZE        0x8D51
460 #define GL_RENDERBUFFER_BLUE_SIZE         0x8D52
461 #define GL_RENDERBUFFER_ALPHA_SIZE        0x8D53
462 #define GL_RENDERBUFFER_DEPTH_SIZE        0x8D54
463 #define GL_RENDERBUFFER_STENCIL_SIZE      0x8D55
464
465 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE            0x8CD0
466 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME            0x8CD1
467 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL          0x8CD2
468 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE  0x8CD3
469
470 #define GL_COLOR_ATTACHMENT0                             0x8CE0
471 #define GL_DEPTH_ATTACHMENT                              0x8D00
472 #define GL_STENCIL_ATTACHMENT                            0x8D20
473
474 #define GL_NONE                                              0
475
476 #define GL_FRAMEBUFFER_COMPLETE                          0x8CD5
477 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT             0x8CD6
478 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT     0x8CD7
479 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS             0x8CD9
480 #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS        0x8CDA
481 #define GL_FRAMEBUFFER_UNSUPPORTED                       0x8CDD
482
483 #define GL_FRAMEBUFFER_BINDING                           0x8CA6
484 #define GL_RENDERBUFFER_BINDING                          0x8CA7
485 #define GL_MAX_RENDERBUFFER_SIZE                         0x84E8
486
487 #define GL_INVALID_FRAMEBUFFER_OPERATION                 0x0506
488
489 /*-------------------------------------------------------------------------
490  * GL core functions.
491  *-----------------------------------------------------------------------*/
492
493 /**
494  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
495  *
496  * @since 2.0
497  */
498 GL_APICALL void GL_APIENTRY glActiveTexture(GLenum texture);
499 /**
500  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
501  *
502  * @since 2.0
503  */
504 GL_APICALL void GL_APIENTRY glAttachShader(GLuint program, GLuint shader);
505 /**
506  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
507  *
508  * @since 2.0
509  */
510 GL_APICALL void GL_APIENTRY glBindAttribLocation(GLuint program, GLuint index, const char* name);
511 /**
512  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
513  *
514  * @since 2.0
515  */
516 GL_APICALL void GL_APIENTRY glBindBuffer(GLenum target, GLuint buffer);
517 /**
518  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
519  *
520  * @since 2.0
521  */
522 GL_APICALL void GL_APIENTRY glBindFramebuffer(GLenum target, GLuint framebuffer);
523 /**
524  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
525  *
526  * @since 2.0
527  */
528 GL_APICALL void GL_APIENTRY glBindRenderbuffer(GLenum target, GLuint renderbuffer);
529 /**
530  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
531  *
532  * @since 2.0
533  */
534 GL_APICALL void GL_APIENTRY glBindTexture(GLenum target, GLuint texture);
535 /**
536  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
537  *
538  * @since 2.0
539  */
540 GL_APICALL void GL_APIENTRY glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
541 /**
542  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
543  *
544  * @since 2.0
545  */
546 GL_APICALL void GL_APIENTRY glBlendEquation(GLenum mode);
547 /**
548  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
549  *
550  * @since 2.0
551  */
552 GL_APICALL void GL_APIENTRY glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha);
553 /**
554  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
555  *
556  * @since 2.0
557  */
558 GL_APICALL void GL_APIENTRY glBlendFunc(GLenum sfactor, GLenum dfactor);
559 /**
560  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
561  *
562  * @since 2.0
563  */
564 GL_APICALL void GL_APIENTRY glBlendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
565 /**
566  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
567  *
568  * @since 2.0
569  */
570 GL_APICALL void GL_APIENTRY glBufferData(GLenum target, GLsizeiptr size, const void* data, GLenum usage);
571 /**
572  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
573  *
574  * @since 2.0
575  */
576 GL_APICALL void GL_APIENTRY glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const void* data);
577 /**
578  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
579  *
580  * @since 2.0
581  */
582 GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus(GLenum target);
583 /**
584  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
585  *
586  * @since 2.0
587  */
588 GL_APICALL void GL_APIENTRY glClear(GLbitfield mask);
589 /**
590  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
591  *
592  * @since 2.0
593  */
594 GL_APICALL void GL_APIENTRY glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
595 /**
596  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
597  *
598  * @since 2.0
599  */
600 GL_APICALL void GL_APIENTRY glClearDepthf(GLclampf depth);
601 /**
602  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
603  *
604  * @since 2.0
605  */
606 GL_APICALL void GL_APIENTRY glClearStencil(GLint s);
607 /**
608  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
609  *
610  * @since 2.0
611  */
612 GL_APICALL void GL_APIENTRY glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
613 /**
614  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
615  *
616  * @since 2.0
617  */
618 GL_APICALL void GL_APIENTRY glCompileShader(GLuint shader);
619 /**
620  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
621  *
622  * @since 2.0
623  */
624 GL_APICALL void GL_APIENTRY glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data);
625 /**
626  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
627  *
628  * @since 2.0
629  */
630 GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data);
631 /**
632  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
633  *
634  * @since 2.0
635  */
636 GL_APICALL void GL_APIENTRY glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
637 /**
638  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
639  *
640  * @since 2.0
641  */
642 GL_APICALL void GL_APIENTRY glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
643 /**
644  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
645  *
646  * @since 2.0
647  */
648 GL_APICALL GLuint GL_APIENTRY glCreateProgram(void);
649 /**
650  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
651  *
652  * @since 2.0
653  */
654 GL_APICALL GLuint GL_APIENTRY glCreateShader(GLenum type);
655 /**
656  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
657  *
658  * @since 2.0
659  */
660 GL_APICALL void GL_APIENTRY glCullFace(GLenum mode);
661 /**
662  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
663  *
664  * @since 2.0
665  */
666 GL_APICALL void GL_APIENTRY glDeleteBuffers(GLsizei n, const GLuint* buffers);
667 /**
668  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
669  *
670  * @since 2.0
671  */
672 GL_APICALL void GL_APIENTRY glDeleteFramebuffers(GLsizei n, const GLuint* framebuffers);
673 /**
674  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
675  *
676  * @since 2.0
677  */
678 GL_APICALL void GL_APIENTRY glDeleteProgram(GLuint program);
679 /**
680  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
681  *
682  * @since 2.0
683  */
684 GL_APICALL void GL_APIENTRY glDeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers);
685 /**
686  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
687  *
688  * @since 2.0
689  */
690 GL_APICALL void GL_APIENTRY glDeleteShader(GLuint shader);
691 /**
692  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
693  *
694  * @since 2.0
695  */
696 GL_APICALL void GL_APIENTRY glDeleteTextures(GLsizei n, const GLuint* textures);
697 /**
698  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
699  *
700  * @since 2.0
701  */
702 GL_APICALL void GL_APIENTRY glDepthFunc(GLenum func);
703 /**
704  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
705  *
706  * @since 2.0
707  */
708 GL_APICALL void GL_APIENTRY glDepthMask(GLboolean flag);
709 /**
710  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
711  *
712  * @since 2.0
713  */
714 GL_APICALL void GL_APIENTRY glDepthRangef(GLclampf zNear, GLclampf zFar);
715 /**
716  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
717  *
718  * @since 2.0
719  */
720 GL_APICALL void GL_APIENTRY glDetachShader(GLuint program, GLuint shader);
721 /**
722  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
723  *
724  * @since 2.0
725  */
726 GL_APICALL void GL_APIENTRY glDisable(GLenum cap);
727 /**
728  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
729  *
730  * @since 2.0
731  */
732 GL_APICALL void GL_APIENTRY glDisableVertexAttribArray(GLuint index);
733 /**
734  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
735  *
736  * @since 2.0
737  */
738 GL_APICALL void GL_APIENTRY glDrawArrays(GLenum mode, GLint first, GLsizei count);
739 /**
740  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
741  *
742  * @since 2.0
743  */
744 GL_APICALL void GL_APIENTRY glDrawElements(GLenum mode, GLsizei count, GLenum type, const void* indices);
745 /**
746  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
747  *
748  * @since 2.0
749  */
750 GL_APICALL void GL_APIENTRY glEnable(GLenum cap);
751 /**
752  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
753  *
754  * @since 2.0
755  */
756 GL_APICALL void GL_APIENTRY glEnableVertexAttribArray(GLuint index);
757 /**
758  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
759  *
760  * @since 2.0
761  */
762 GL_APICALL void GL_APIENTRY glFinish(void);
763 /**
764  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
765  *
766  * @since 2.0
767  */
768 GL_APICALL void GL_APIENTRY glFlush(void);
769 /**
770  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
771  *
772  * @since 2.0
773  */
774 GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
775 /**
776  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
777  *
778  * @since 2.0
779  */
780 GL_APICALL void GL_APIENTRY glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
781 /**
782  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
783  *
784  * @since 2.0
785  */
786 GL_APICALL void GL_APIENTRY glFrontFace(GLenum mode);
787 /**
788  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
789  *
790  * @since 2.0
791  */
792 GL_APICALL void GL_APIENTRY glGenBuffers(GLsizei n, GLuint* buffers);
793 /**
794  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
795  *
796  * @since 2.0
797  */
798 GL_APICALL void GL_APIENTRY glGenerateMipmap(GLenum target);
799 /**
800  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
801  *
802  * @since 2.0
803  */
804 GL_APICALL void GL_APIENTRY glGenFramebuffers(GLsizei n, GLuint* framebuffers);
805 /**
806  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
807  *
808  * @since 2.0
809  */
810 GL_APICALL void GL_APIENTRY glGenRenderbuffers(GLsizei n, GLuint* renderbuffers);
811 /**
812  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
813  *
814  * @since 2.0
815  */
816 GL_APICALL void GL_APIENTRY glGenTextures(GLsizei n, GLuint* textures);
817 /**
818  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
819  *
820  * @since 2.0
821  */
822 GL_APICALL void GL_APIENTRY glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name);
823 /**
824  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
825  *
826  * @since 2.0
827  */
828 GL_APICALL void GL_APIENTRY glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name);
829 /**
830  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
831  *
832  * @since 2.0
833  */
834 GL_APICALL void GL_APIENTRY glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
835 /**
836  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
837  *
838  * @since 2.0
839  */
840 GL_APICALL int GL_APIENTRY glGetAttribLocation(GLuint program, const char* name);
841 /**
842  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
843  *
844  * @since 2.0
845  */
846 GL_APICALL void GL_APIENTRY glGetBooleanv(GLenum pname, GLboolean* params);
847 /**
848  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
849  *
850  * @since 2.0
851  */
852 GL_APICALL void GL_APIENTRY glGetBufferParameteriv(GLenum target, GLenum pname, GLint* params);
853 /**
854  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
855  *
856  * @since 2.0
857  */
858 GL_APICALL GLenum GL_APIENTRY glGetError(void);
859 /**
860  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
861  *
862  * @since 2.0
863  */
864 GL_APICALL void GL_APIENTRY glGetFloatv(GLenum pname, GLfloat* params);
865 /**
866  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
867  *
868  * @since 2.0
869  */
870 GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint* params);
871 /**
872  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
873  *
874  * @since 2.0
875  */
876 GL_APICALL void GL_APIENTRY glGetIntegerv(GLenum pname, GLint* params);
877 /**
878  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
879  *
880  * @since 2.0
881  */
882 GL_APICALL void GL_APIENTRY glGetProgramiv(GLuint program, GLenum pname, GLint* params);
883 /**
884  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
885  *
886  * @since 2.0
887  */
888 GL_APICALL void GL_APIENTRY glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, char* infolog);
889 /**
890  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
891  *
892  * @since 2.0
893  */
894 GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* params);
895 /**
896  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
897  *
898  * @since 2.0
899  */
900 GL_APICALL void GL_APIENTRY glGetShaderiv(GLuint shader, GLenum pname, GLint* params);
901 /**
902  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
903  *
904  * @since 2.0
905  */
906 GL_APICALL void GL_APIENTRY glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, char* infolog);
907 /**
908  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
909  *
910  * @since 2.0
911  */
912 GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision);
913 /**
914  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
915  *
916  * @since 2.0
917  */
918 GL_APICALL void GL_APIENTRY glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, char* source);
919 /**
920  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
921  *
922  * @since 2.0
923  */
924 GL_APICALL const GLubyte* GL_APIENTRY glGetString(GLenum name);
925 /**
926  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
927  *
928  * @since 2.0
929  */
930 GL_APICALL void GL_APIENTRY glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params);
931 /**
932  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
933  *
934  * @since 2.0
935  */
936 GL_APICALL void GL_APIENTRY glGetTexParameteriv(GLenum target, GLenum pname, GLint* params);
937 /**
938  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
939  *
940  * @since 2.0
941  */
942 GL_APICALL void GL_APIENTRY glGetUniformfv(GLuint program, GLint location, GLfloat* params);
943 /**
944  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
945  *
946  * @since 2.0
947  */
948 GL_APICALL void GL_APIENTRY glGetUniformiv(GLuint program, GLint location, GLint* params);
949 /**
950  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
951  *
952  * @since 2.0
953  */
954 GL_APICALL int GL_APIENTRY glGetUniformLocation(GLuint program, const char* name);
955 /**
956  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
957  *
958  * @since 2.0
959  */
960 GL_APICALL void GL_APIENTRY glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params);
961 /**
962  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
963  *
964  * @since 2.0
965  */
966 GL_APICALL void GL_APIENTRY glGetVertexAttribiv(GLuint index, GLenum pname, GLint* params);
967 /**
968  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
969  *
970  * @since 2.0
971  */
972 GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer);
973 /**
974  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
975  *
976  * @since 2.0
977  */
978 GL_APICALL void GL_APIENTRY glHint(GLenum target, GLenum mode);
979 /**
980  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
981  *
982  * @since 2.0
983  */
984 GL_APICALL GLboolean GL_APIENTRY glIsBuffer(GLuint buffer);
985 /**
986  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
987  *
988  * @since 2.0
989  */
990 GL_APICALL GLboolean GL_APIENTRY glIsEnabled(GLenum cap);
991 /**
992  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
993  *
994  * @since 2.0
995  */
996 GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer(GLuint framebuffer);
997 /**
998  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
999  *
1000  * @since 2.0
1001  */
1002 GL_APICALL GLboolean GL_APIENTRY glIsProgram(GLuint program);
1003 /**
1004  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1005  *
1006  * @since 2.0
1007  */
1008 GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer(GLuint renderbuffer);
1009 /**
1010  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1011  *
1012  * @since 2.0
1013  */
1014 GL_APICALL GLboolean GL_APIENTRY glIsShader(GLuint shader);
1015 /**
1016  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1017  *
1018  * @since 2.0
1019  */
1020 GL_APICALL GLboolean GL_APIENTRY glIsTexture(GLuint texture);
1021 /**
1022  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1023  *
1024  * @since 2.0
1025  */
1026 GL_APICALL void GL_APIENTRY glLineWidth(GLfloat width);
1027 /**
1028  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1029  *
1030  * @since 2.0
1031  */
1032 GL_APICALL void GL_APIENTRY glLinkProgram(GLuint program);
1033 /**
1034  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1035  *
1036  * @since 2.0
1037  */
1038 GL_APICALL void GL_APIENTRY glPixelStorei(GLenum pname, GLint param);
1039 /**
1040  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1041  *
1042  * @since 2.0
1043  */
1044 GL_APICALL void GL_APIENTRY glPolygonOffset(GLfloat factor, GLfloat units);
1045 /**
1046  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1047  *
1048  * @since 2.0
1049  */
1050 GL_APICALL void GL_APIENTRY glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void* pixels);
1051 /**
1052  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1053  *
1054  * @since 2.0
1055  */
1056 GL_APICALL void GL_APIENTRY glReleaseShaderCompiler(void);
1057 /**
1058  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1059  *
1060  * @since 2.0
1061  */
1062 GL_APICALL void GL_APIENTRY glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
1063 /**
1064  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1065  *
1066  * @since 2.0
1067  */
1068 GL_APICALL void GL_APIENTRY glSampleCoverage(GLclampf value, GLboolean invert);
1069 /**
1070  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1071  *
1072  * @since 2.0
1073  */
1074 GL_APICALL void GL_APIENTRY glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
1075 /**
1076  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1077  *
1078  * @since 2.0
1079  */
1080 GL_APICALL void GL_APIENTRY glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryformat, const void* binary, GLsizei length);
1081 /**
1082  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1083  *
1084  * @since 2.0
1085  */
1086 GL_APICALL void GL_APIENTRY glShaderSource(GLuint shader, GLsizei count, const char** string, const GLint* length);
1087 /**
1088  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1089  *
1090  * @since 2.0
1091  */
1092 GL_APICALL void GL_APIENTRY glStencilFunc(GLenum func, GLint ref, GLuint mask);
1093 /**
1094  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1095  *
1096  * @since 2.0
1097  */
1098 GL_APICALL void GL_APIENTRY glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
1099 /**
1100  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1101  *
1102  * @since 2.0
1103  */
1104 GL_APICALL void GL_APIENTRY glStencilMask(GLuint mask);
1105 /**
1106  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1107  *
1108  * @since 2.0
1109  */
1110 GL_APICALL void GL_APIENTRY glStencilMaskSeparate(GLenum face, GLuint mask);
1111 /**
1112  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1113  *
1114  * @since 2.0
1115  */
1116 GL_APICALL void GL_APIENTRY glStencilOp(GLenum fail, GLenum zfail, GLenum zpass);
1117 /**
1118  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1119  *
1120  * @since 2.0
1121  */
1122 GL_APICALL void GL_APIENTRY glStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
1123 /**
1124  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1125  *
1126  * @since 2.0
1127  */
1128 GL_APICALL void GL_APIENTRY glTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels);
1129 /**
1130  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1131  *
1132  * @since 2.0
1133  */
1134 GL_APICALL void GL_APIENTRY glTexParameterf(GLenum target, GLenum pname, GLfloat param);
1135 /**
1136  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1137  *
1138  * @since 2.0
1139  */
1140 GL_APICALL void GL_APIENTRY glTexParameterfv(GLenum target, GLenum pname, const GLfloat* params);
1141 /**
1142  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1143  *
1144  * @since 2.0
1145  */
1146 GL_APICALL void GL_APIENTRY glTexParameteri(GLenum target, GLenum pname, GLint param);
1147 /**
1148  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1149  *
1150  * @since 2.0
1151  */
1152 GL_APICALL void GL_APIENTRY glTexParameteriv(GLenum target, GLenum pname, const GLint* params);
1153 /**
1154  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1155  *
1156  * @since 2.0
1157  */
1158 GL_APICALL void GL_APIENTRY glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels);
1159 /**
1160  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1161  *
1162  * @since 2.0
1163  */
1164 GL_APICALL void GL_APIENTRY glUniform1f(GLint location, GLfloat x);
1165 /**
1166  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1167  *
1168  * @since 2.0
1169  */
1170 GL_APICALL void GL_APIENTRY glUniform1fv(GLint location, GLsizei count, const GLfloat* v);
1171 /**
1172  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1173  *
1174  * @since 2.0
1175  */
1176 GL_APICALL void GL_APIENTRY glUniform1i(GLint location, GLint x);
1177 /**
1178  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1179  *
1180  * @since 2.0
1181  */
1182 GL_APICALL void GL_APIENTRY glUniform1iv(GLint location, GLsizei count, const GLint* v);
1183 /**
1184  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1185  *
1186  * @since 2.0
1187  */
1188 GL_APICALL void GL_APIENTRY glUniform2f(GLint location, GLfloat x, GLfloat y);
1189 /**
1190  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1191  *
1192  * @since 2.0
1193  */
1194 GL_APICALL void GL_APIENTRY glUniform2fv(GLint location, GLsizei count, const GLfloat* v);
1195 /**
1196  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1197  *
1198  * @since 2.0
1199  */
1200 GL_APICALL void GL_APIENTRY glUniform2i(GLint location, GLint x, GLint y);
1201 /**
1202  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1203  *
1204  * @since 2.0
1205  */
1206 GL_APICALL void GL_APIENTRY glUniform2iv(GLint location, GLsizei count, const GLint* v);
1207 /**
1208  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1209  *
1210  * @since 2.0
1211  */
1212 GL_APICALL void GL_APIENTRY glUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z);
1213 /**
1214  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1215  *
1216  * @since 2.0
1217  */
1218 GL_APICALL void GL_APIENTRY glUniform3fv(GLint location, GLsizei count, const GLfloat* v);
1219 /**
1220  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1221  *
1222  * @since 2.0
1223  */
1224 GL_APICALL void GL_APIENTRY glUniform3i(GLint location, GLint x, GLint y, GLint z);
1225 /**
1226  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1227  *
1228  * @since 2.0
1229  */
1230 GL_APICALL void GL_APIENTRY glUniform3iv(GLint location, GLsizei count, const GLint* v);
1231 /**
1232  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1233  *
1234  * @since 2.0
1235  */
1236 GL_APICALL void GL_APIENTRY glUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1237 /**
1238  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1239  *
1240  * @since 2.0
1241  */
1242 GL_APICALL void GL_APIENTRY glUniform4fv(GLint location, GLsizei count, const GLfloat* v);
1243 /**
1244  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1245  *
1246  * @since 2.0
1247  */
1248 GL_APICALL void GL_APIENTRY glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w);
1249 /**
1250  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1251  *
1252  * @since 2.0
1253  */
1254 GL_APICALL void GL_APIENTRY glUniform4iv(GLint location, GLsizei count, const GLint* v);
1255 /**
1256  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1257  *
1258  * @since 2.0
1259  */
1260 GL_APICALL void GL_APIENTRY glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
1261 /**
1262  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1263  *
1264  * @since 2.0
1265  */
1266 GL_APICALL void GL_APIENTRY glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
1267 /**
1268  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1269  *
1270  * @since 2.0
1271  */
1272 GL_APICALL void GL_APIENTRY glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
1273 /**
1274  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1275  *
1276  * @since 2.0
1277  */
1278 GL_APICALL void GL_APIENTRY glUseProgram(GLuint program);
1279 /**
1280  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1281  *
1282  * @since 2.0
1283  */
1284 GL_APICALL void GL_APIENTRY glValidateProgram(GLuint program);
1285 /**
1286  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1287  *
1288  * @since 2.0
1289  */
1290 GL_APICALL void GL_APIENTRY glVertexAttrib1f(GLuint indx, GLfloat x);
1291 /**
1292  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1293  *
1294  * @since 2.0
1295  */
1296 GL_APICALL void GL_APIENTRY glVertexAttrib1fv(GLuint indx, const GLfloat* values);
1297 /**
1298  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1299  *
1300  * @since 2.0
1301  */
1302 GL_APICALL void GL_APIENTRY glVertexAttrib2f(GLuint indx, GLfloat x, GLfloat y);
1303 /**
1304  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1305  *
1306  * @since 2.0
1307  */
1308 GL_APICALL void GL_APIENTRY glVertexAttrib2fv(GLuint indx, const GLfloat* values);
1309 /**
1310  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1311  *
1312  * @since 2.0
1313  */
1314 GL_APICALL void GL_APIENTRY glVertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z);
1315 /**
1316  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1317  *
1318  * @since 2.0
1319  */
1320 GL_APICALL void GL_APIENTRY glVertexAttrib3fv(GLuint indx, const GLfloat* values);
1321 /**
1322  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1323  *
1324  * @since 2.0
1325  */
1326 GL_APICALL void GL_APIENTRY glVertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1327 /**
1328  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1329  *
1330  * @since 2.0
1331  */
1332 GL_APICALL void GL_APIENTRY glVertexAttrib4fv(GLuint indx, const GLfloat* values);
1333 /**
1334  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1335  *
1336  * @since 2.0
1337  */
1338 GL_APICALL void GL_APIENTRY glVertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* ptr);
1339 /**
1340  * You can find more details at the Khronos Group site: <a href="#" onClick="window.open('http://www.khronos.org/opengles/sdk/2.0/docs/man')" target="_blank">Khronos Group site - OpenGL(R) ES 2.0</a>.
1341  *
1342  * @since 2.0
1343  */
1344 GL_APICALL void GL_APIENTRY glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
1345
1346 /**
1347  * @}
1348  */
1349
1350 #ifdef __cplusplus
1351 }
1352 #endif
1353
1354 #endif /* __gl2_h_ */