Merge "Fix Ime Rotation" into tizen_2.1
[platform/framework/native/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  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
498  */
499 GL_APICALL void GL_APIENTRY glActiveTexture(GLenum texture);
500 /**
501  * 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>.
502  *
503  * @since 2.0
504  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
505  */
506 GL_APICALL void GL_APIENTRY glAttachShader(GLuint program, GLuint shader);
507 /**
508  * 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>.
509  *
510  * @since 2.0
511  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
512  */
513 GL_APICALL void GL_APIENTRY glBindAttribLocation(GLuint program, GLuint index, const char* name);
514 /**
515  * 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>.
516  *
517  * @since 2.0
518  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
519  */
520 GL_APICALL void GL_APIENTRY glBindBuffer(GLenum target, GLuint buffer);
521 /**
522  * 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>.
523  *
524  * @since 2.0
525  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
526  */
527 GL_APICALL void GL_APIENTRY glBindFramebuffer(GLenum target, GLuint framebuffer);
528 /**
529  * 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>.
530  *
531  * @since 2.0
532  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
533  */
534 GL_APICALL void GL_APIENTRY glBindRenderbuffer(GLenum target, GLuint renderbuffer);
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  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
540  */
541 GL_APICALL void GL_APIENTRY glBindTexture(GLenum target, GLuint texture);
542 /**
543  * 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>.
544  *
545  * @since 2.0
546  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
547  */
548 GL_APICALL void GL_APIENTRY glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
549 /**
550  * 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>.
551  *
552  * @since 2.0
553  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
554  */
555 GL_APICALL void GL_APIENTRY glBlendEquation(GLenum mode);
556 /**
557  * 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>.
558  *
559  * @since 2.0
560  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
561  */
562 GL_APICALL void GL_APIENTRY glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha);
563 /**
564  * 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>.
565  *
566  * @since 2.0
567  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
568  */
569 GL_APICALL void GL_APIENTRY glBlendFunc(GLenum sfactor, GLenum dfactor);
570 /**
571  * 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>.
572  *
573  * @since 2.0
574  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
575  */
576 GL_APICALL void GL_APIENTRY glBlendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
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  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
582  */
583 GL_APICALL void GL_APIENTRY glBufferData(GLenum target, GLsizeiptr size, const void* data, GLenum usage);
584 /**
585  * 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>.
586  *
587  * @since 2.0
588  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
589  */
590 GL_APICALL void GL_APIENTRY glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const void* data);
591 /**
592  * 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>.
593  *
594  * @since 2.0
595  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
596  */
597 GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus(GLenum target);
598 /**
599  * 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>.
600  *
601  * @since 2.0
602  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
603  */
604 GL_APICALL void GL_APIENTRY glClear(GLbitfield mask);
605 /**
606  * 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>.
607  *
608  * @since 2.0
609  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
610  */
611 GL_APICALL void GL_APIENTRY glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
612 /**
613  * 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>.
614  *
615  * @since 2.0
616  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
617  */
618 GL_APICALL void GL_APIENTRY glClearDepthf(GLclampf depth);
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  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
624  */
625 GL_APICALL void GL_APIENTRY glClearStencil(GLint s);
626 /**
627  * 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>.
628  *
629  * @since 2.0
630  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
631  */
632 GL_APICALL void GL_APIENTRY glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
633 /**
634  * 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>.
635  *
636  * @since 2.0
637  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
638  */
639 GL_APICALL void GL_APIENTRY glCompileShader(GLuint shader);
640 /**
641  * 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>.
642  *
643  * @since 2.0
644  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
645  */
646 GL_APICALL void GL_APIENTRY glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data);
647 /**
648  * 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>.
649  *
650  * @since 2.0
651  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
652  */
653 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);
654 /**
655  * 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>.
656  *
657  * @since 2.0
658  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
659  */
660 GL_APICALL void GL_APIENTRY glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
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  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
666  */
667 GL_APICALL void GL_APIENTRY glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
668 /**
669  * 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>.
670  *
671  * @since 2.0
672  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
673  */
674 GL_APICALL GLuint GL_APIENTRY glCreateProgram(void);
675 /**
676  * 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>.
677  *
678  * @since 2.0
679  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
680  */
681 GL_APICALL GLuint GL_APIENTRY glCreateShader(GLenum type);
682 /**
683  * 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>.
684  *
685  * @since 2.0
686  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
687  */
688 GL_APICALL void GL_APIENTRY glCullFace(GLenum mode);
689 /**
690  * 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>.
691  *
692  * @since 2.0
693  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
694  */
695 GL_APICALL void GL_APIENTRY glDeleteBuffers(GLsizei n, const GLuint* buffers);
696 /**
697  * 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>.
698  *
699  * @since 2.0
700  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
701  */
702 GL_APICALL void GL_APIENTRY glDeleteFramebuffers(GLsizei n, const GLuint* framebuffers);
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  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
708  */
709 GL_APICALL void GL_APIENTRY glDeleteProgram(GLuint program);
710 /**
711  * 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>.
712  *
713  * @since 2.0
714  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
715  */
716 GL_APICALL void GL_APIENTRY glDeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers);
717 /**
718  * 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>.
719  *
720  * @since 2.0
721  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
722  */
723 GL_APICALL void GL_APIENTRY glDeleteShader(GLuint shader);
724 /**
725  * 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>.
726  *
727  * @since 2.0
728  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
729  */
730 GL_APICALL void GL_APIENTRY glDeleteTextures(GLsizei n, const GLuint* textures);
731 /**
732  * 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>.
733  *
734  * @since 2.0
735  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
736  */
737 GL_APICALL void GL_APIENTRY glDepthFunc(GLenum func);
738 /**
739  * 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>.
740  *
741  * @since 2.0
742  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
743  */
744 GL_APICALL void GL_APIENTRY glDepthMask(GLboolean flag);
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  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
750  */
751 GL_APICALL void GL_APIENTRY glDepthRangef(GLclampf zNear, GLclampf zFar);
752 /**
753  * 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>.
754  *
755  * @since 2.0
756  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
757  */
758 GL_APICALL void GL_APIENTRY glDetachShader(GLuint program, GLuint shader);
759 /**
760  * 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>.
761  *
762  * @since 2.0
763  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
764  */
765 GL_APICALL void GL_APIENTRY glDisable(GLenum cap);
766 /**
767  * 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>.
768  *
769  * @since 2.0
770  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
771  */
772 GL_APICALL void GL_APIENTRY glDisableVertexAttribArray(GLuint index);
773 /**
774  * 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>.
775  *
776  * @since 2.0
777  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
778  */
779 GL_APICALL void GL_APIENTRY glDrawArrays(GLenum mode, GLint first, GLsizei count);
780 /**
781  * 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>.
782  *
783  * @since 2.0
784  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
785  */
786 GL_APICALL void GL_APIENTRY glDrawElements(GLenum mode, GLsizei count, GLenum type, const void* indices);
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  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
792  */
793 GL_APICALL void GL_APIENTRY glEnable(GLenum cap);
794 /**
795  * 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>.
796  *
797  * @since 2.0
798  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
799  */
800 GL_APICALL void GL_APIENTRY glEnableVertexAttribArray(GLuint index);
801 /**
802  * 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>.
803  *
804  * @since 2.0
805  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
806  */
807 GL_APICALL void GL_APIENTRY glFinish(void);
808 /**
809  * 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>.
810  *
811  * @since 2.0
812  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
813  */
814 GL_APICALL void GL_APIENTRY glFlush(void);
815 /**
816  * 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>.
817  *
818  * @since 2.0
819  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
820  */
821 GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
822 /**
823  * 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>.
824  *
825  * @since 2.0
826  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
827  */
828 GL_APICALL void GL_APIENTRY glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
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  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
834  */
835 GL_APICALL void GL_APIENTRY glFrontFace(GLenum mode);
836 /**
837  * 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>.
838  *
839  * @since 2.0
840  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
841  */
842 GL_APICALL void GL_APIENTRY glGenBuffers(GLsizei n, GLuint* buffers);
843 /**
844  * 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>.
845  *
846  * @since 2.0
847  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
848  */
849 GL_APICALL void GL_APIENTRY glGenerateMipmap(GLenum target);
850 /**
851  * 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>.
852  *
853  * @since 2.0
854  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
855  */
856 GL_APICALL void GL_APIENTRY glGenFramebuffers(GLsizei n, GLuint* framebuffers);
857 /**
858  * 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>.
859  *
860  * @since 2.0
861  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
862  */
863 GL_APICALL void GL_APIENTRY glGenRenderbuffers(GLsizei n, GLuint* renderbuffers);
864 /**
865  * 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>.
866  *
867  * @since 2.0
868  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
869  */
870 GL_APICALL void GL_APIENTRY glGenTextures(GLsizei n, GLuint* textures);
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  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
876  */
877 GL_APICALL void GL_APIENTRY glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name);
878 /**
879  * 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>.
880  *
881  * @since 2.0
882  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
883  */
884 GL_APICALL void GL_APIENTRY glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name);
885 /**
886  * 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>.
887  *
888  * @since 2.0
889  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
890  */
891 GL_APICALL void GL_APIENTRY glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
892 /**
893  * 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>.
894  *
895  * @since 2.0
896  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
897  */
898 GL_APICALL int GL_APIENTRY glGetAttribLocation(GLuint program, const char* name);
899 /**
900  * 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>.
901  *
902  * @since 2.0
903  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
904  */
905 GL_APICALL void GL_APIENTRY glGetBooleanv(GLenum pname, GLboolean* params);
906 /**
907  * 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>.
908  *
909  * @since 2.0
910  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
911  */
912 GL_APICALL void GL_APIENTRY glGetBufferParameteriv(GLenum target, GLenum pname, GLint* params);
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  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
918  */
919 GL_APICALL GLenum GL_APIENTRY glGetError(void);
920 /**
921  * 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>.
922  *
923  * @since 2.0
924  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
925  */
926 GL_APICALL void GL_APIENTRY glGetFloatv(GLenum pname, GLfloat* params);
927 /**
928  * 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>.
929  *
930  * @since 2.0
931  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
932  */
933 GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint* params);
934 /**
935  * 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>.
936  *
937  * @since 2.0
938  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
939  */
940 GL_APICALL void GL_APIENTRY glGetIntegerv(GLenum pname, GLint* params);
941 /**
942  * 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>.
943  *
944  * @since 2.0
945  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
946  */
947 GL_APICALL void GL_APIENTRY glGetProgramiv(GLuint program, GLenum pname, GLint* params);
948 /**
949  * 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>.
950  *
951  * @since 2.0
952  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
953  */
954 GL_APICALL void GL_APIENTRY glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, char* infolog);
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  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
960  */
961 GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* params);
962 /**
963  * 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>.
964  *
965  * @since 2.0
966  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
967  */
968 GL_APICALL void GL_APIENTRY glGetShaderiv(GLuint shader, GLenum pname, GLint* params);
969 /**
970  * 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>.
971  *
972  * @since 2.0
973  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
974  */
975 GL_APICALL void GL_APIENTRY glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, char* infolog);
976 /**
977  * 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>.
978  *
979  * @since 2.0
980  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
981  */
982 GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision);
983 /**
984  * 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>.
985  *
986  * @since 2.0
987  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
988  */
989 GL_APICALL void GL_APIENTRY glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, char* source);
990 /**
991  * 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>.
992  *
993  * @since 2.0
994  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
995  */
996 GL_APICALL const GLubyte* GL_APIENTRY glGetString(GLenum name);
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  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1002  */
1003 GL_APICALL void GL_APIENTRY glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params);
1004 /**
1005  * 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>.
1006  *
1007  * @since 2.0
1008  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1009  */
1010 GL_APICALL void GL_APIENTRY glGetTexParameteriv(GLenum target, GLenum pname, GLint* params);
1011 /**
1012  * 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>.
1013  *
1014  * @since 2.0
1015  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1016  */
1017 GL_APICALL void GL_APIENTRY glGetUniformfv(GLuint program, GLint location, GLfloat* params);
1018 /**
1019  * 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>.
1020  *
1021  * @since 2.0
1022  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1023  */
1024 GL_APICALL void GL_APIENTRY glGetUniformiv(GLuint program, GLint location, GLint* params);
1025 /**
1026  * 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>.
1027  *
1028  * @since 2.0
1029  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1030  */
1031 GL_APICALL int GL_APIENTRY glGetUniformLocation(GLuint program, const char* name);
1032 /**
1033  * 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>.
1034  *
1035  * @since 2.0
1036  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1037  */
1038 GL_APICALL void GL_APIENTRY glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params);
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  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1044  */
1045 GL_APICALL void GL_APIENTRY glGetVertexAttribiv(GLuint index, GLenum pname, GLint* params);
1046 /**
1047  * 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>.
1048  *
1049  * @since 2.0
1050  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1051  */
1052 GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer);
1053 /**
1054  * 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>.
1055  *
1056  * @since 2.0
1057  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1058  */
1059 GL_APICALL void GL_APIENTRY glHint(GLenum target, GLenum mode);
1060 /**
1061  * 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>.
1062  *
1063  * @since 2.0
1064  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1065  */
1066 GL_APICALL GLboolean GL_APIENTRY glIsBuffer(GLuint buffer);
1067 /**
1068  * 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>.
1069  *
1070  * @since 2.0
1071  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1072  */
1073 GL_APICALL GLboolean GL_APIENTRY glIsEnabled(GLenum cap);
1074 /**
1075  * 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>.
1076  *
1077  * @since 2.0
1078  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1079  */
1080 GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer(GLuint framebuffer);
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  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1086  */
1087 GL_APICALL GLboolean GL_APIENTRY glIsProgram(GLuint program);
1088 /**
1089  * 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>.
1090  *
1091  * @since 2.0
1092  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1093  */
1094 GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer(GLuint renderbuffer);
1095 /**
1096  * 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>.
1097  *
1098  * @since 2.0
1099  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1100  */
1101 GL_APICALL GLboolean GL_APIENTRY glIsShader(GLuint shader);
1102 /**
1103  * 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>.
1104  *
1105  * @since 2.0
1106  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1107  */
1108 GL_APICALL GLboolean GL_APIENTRY glIsTexture(GLuint texture);
1109 /**
1110  * 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>.
1111  *
1112  * @since 2.0
1113  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1114  */
1115 GL_APICALL void GL_APIENTRY glLineWidth(GLfloat width);
1116 /**
1117  * 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>.
1118  *
1119  * @since 2.0
1120  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1121  */
1122 GL_APICALL void GL_APIENTRY glLinkProgram(GLuint program);
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  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1128  */
1129 GL_APICALL void GL_APIENTRY glPixelStorei(GLenum pname, GLint param);
1130 /**
1131  * 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>.
1132  *
1133  * @since 2.0
1134  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1135  */
1136 GL_APICALL void GL_APIENTRY glPolygonOffset(GLfloat factor, GLfloat units);
1137 /**
1138  * 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>.
1139  *
1140  * @since 2.0
1141  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1142  */
1143 GL_APICALL void GL_APIENTRY glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void* pixels);
1144 /**
1145  * 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>.
1146  *
1147  * @since 2.0
1148  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1149  */
1150 GL_APICALL void GL_APIENTRY glReleaseShaderCompiler(void);
1151 /**
1152  * 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>.
1153  *
1154  * @since 2.0
1155  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1156  */
1157 GL_APICALL void GL_APIENTRY glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
1158 /**
1159  * 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>.
1160  *
1161  * @since 2.0
1162  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1163  */
1164 GL_APICALL void GL_APIENTRY glSampleCoverage(GLclampf value, GLboolean invert);
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  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1170  */
1171 GL_APICALL void GL_APIENTRY glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
1172 /**
1173  * 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>.
1174  *
1175  * @since 2.0
1176  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1177  */
1178 GL_APICALL void GL_APIENTRY glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryformat, const void* binary, GLsizei length);
1179 /**
1180  * 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>.
1181  *
1182  * @since 2.0
1183  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1184  */
1185 GL_APICALL void GL_APIENTRY glShaderSource(GLuint shader, GLsizei count, const char** string, const GLint* length);
1186 /**
1187  * 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>.
1188  *
1189  * @since 2.0
1190  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1191  */
1192 GL_APICALL void GL_APIENTRY glStencilFunc(GLenum func, GLint ref, GLuint mask);
1193 /**
1194  * 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>.
1195  *
1196  * @since 2.0
1197  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1198  */
1199 GL_APICALL void GL_APIENTRY glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
1200 /**
1201  * 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>.
1202  *
1203  * @since 2.0
1204  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1205  */
1206 GL_APICALL void GL_APIENTRY glStencilMask(GLuint mask);
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  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1212  */
1213 GL_APICALL void GL_APIENTRY glStencilMaskSeparate(GLenum face, GLuint mask);
1214 /**
1215  * 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>.
1216  *
1217  * @since 2.0
1218  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1219  */
1220 GL_APICALL void GL_APIENTRY glStencilOp(GLenum fail, GLenum zfail, GLenum zpass);
1221 /**
1222  * 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>.
1223  *
1224  * @since 2.0
1225  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1226  */
1227 GL_APICALL void GL_APIENTRY glStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
1228 /**
1229  * 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>.
1230  *
1231  * @since 2.0
1232  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1233  */
1234 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);
1235 /**
1236  * 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>.
1237  *
1238  * @since 2.0
1239  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1240  */
1241 GL_APICALL void GL_APIENTRY glTexParameterf(GLenum target, GLenum pname, GLfloat param);
1242 /**
1243  * 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>.
1244  *
1245  * @since 2.0
1246  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1247  */
1248 GL_APICALL void GL_APIENTRY glTexParameterfv(GLenum target, GLenum pname, const GLfloat* params);
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  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1254  */
1255 GL_APICALL void GL_APIENTRY glTexParameteri(GLenum target, GLenum pname, GLint param);
1256 /**
1257  * 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>.
1258  *
1259  * @since 2.0
1260  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1261  */
1262 GL_APICALL void GL_APIENTRY glTexParameteriv(GLenum target, GLenum pname, const GLint* params);
1263 /**
1264  * 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>.
1265  *
1266  * @since 2.0
1267  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1268  */
1269 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);
1270 /**
1271  * 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>.
1272  *
1273  * @since 2.0
1274  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1275  */
1276 GL_APICALL void GL_APIENTRY glUniform1f(GLint location, GLfloat x);
1277 /**
1278  * 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>.
1279  *
1280  * @since 2.0
1281  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1282  */
1283 GL_APICALL void GL_APIENTRY glUniform1fv(GLint location, GLsizei count, const GLfloat* v);
1284 /**
1285  * 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>.
1286  *
1287  * @since 2.0
1288  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1289  */
1290 GL_APICALL void GL_APIENTRY glUniform1i(GLint location, GLint 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  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1296  */
1297 GL_APICALL void GL_APIENTRY glUniform1iv(GLint location, GLsizei count, const GLint* v);
1298 /**
1299  * 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>.
1300  *
1301  * @since 2.0
1302  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1303  */
1304 GL_APICALL void GL_APIENTRY glUniform2f(GLint location, GLfloat x, GLfloat y);
1305 /**
1306  * 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>.
1307  *
1308  * @since 2.0
1309  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1310  */
1311 GL_APICALL void GL_APIENTRY glUniform2fv(GLint location, GLsizei count, const GLfloat* v);
1312 /**
1313  * 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>.
1314  *
1315  * @since 2.0
1316  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1317  */
1318 GL_APICALL void GL_APIENTRY glUniform2i(GLint location, GLint x, GLint y);
1319 /**
1320  * 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>.
1321  *
1322  * @since 2.0
1323  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1324  */
1325 GL_APICALL void GL_APIENTRY glUniform2iv(GLint location, GLsizei count, const GLint* v);
1326 /**
1327  * 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>.
1328  *
1329  * @since 2.0
1330  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1331  */
1332 GL_APICALL void GL_APIENTRY glUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z);
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  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1338  */
1339 GL_APICALL void GL_APIENTRY glUniform3fv(GLint location, GLsizei count, const GLfloat* v);
1340 /**
1341  * 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>.
1342  *
1343  * @since 2.0
1344  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1345  */
1346 GL_APICALL void GL_APIENTRY glUniform3i(GLint location, GLint x, GLint y, GLint z);
1347 /**
1348  * 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>.
1349  *
1350  * @since 2.0
1351  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1352  */
1353 GL_APICALL void GL_APIENTRY glUniform3iv(GLint location, GLsizei count, const GLint* v);
1354 /**
1355  * 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>.
1356  *
1357  * @since 2.0
1358  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1359  */
1360 GL_APICALL void GL_APIENTRY glUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1361 /**
1362  * 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>.
1363  *
1364  * @since 2.0
1365  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1366  */
1367 GL_APICALL void GL_APIENTRY glUniform4fv(GLint location, GLsizei count, const GLfloat* v);
1368 /**
1369  * 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>.
1370  *
1371  * @since 2.0
1372  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1373  */
1374 GL_APICALL void GL_APIENTRY glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w);
1375 /**
1376  * 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>.
1377  *
1378  * @since 2.0
1379  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1380  */
1381 GL_APICALL void GL_APIENTRY glUniform4iv(GLint location, GLsizei count, const GLint* v);
1382 /**
1383  * 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>.
1384  *
1385  * @since 2.0
1386  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1387  */
1388 GL_APICALL void GL_APIENTRY glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
1389 /**
1390  * 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>.
1391  *
1392  * @since 2.0
1393  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1394  */
1395 GL_APICALL void GL_APIENTRY glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
1396 /**
1397  * 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>.
1398  *
1399  * @since 2.0
1400  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1401  */
1402 GL_APICALL void GL_APIENTRY glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
1403 /**
1404  * 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>.
1405  *
1406  * @since 2.0
1407  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1408  */
1409 GL_APICALL void GL_APIENTRY glUseProgram(GLuint program);
1410 /**
1411  * 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>.
1412  *
1413  * @since 2.0
1414  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1415  */
1416 GL_APICALL void GL_APIENTRY glValidateProgram(GLuint program);
1417 /**
1418  * 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>.
1419  *
1420  * @since 2.0
1421  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1422  */
1423 GL_APICALL void GL_APIENTRY glVertexAttrib1f(GLuint indx, GLfloat x);
1424 /**
1425  * 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>.
1426  *
1427  * @since 2.0
1428  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1429  */
1430 GL_APICALL void GL_APIENTRY glVertexAttrib1fv(GLuint indx, const GLfloat* values);
1431 /**
1432  * 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>.
1433  *
1434  * @since 2.0
1435  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1436  */
1437 GL_APICALL void GL_APIENTRY glVertexAttrib2f(GLuint indx, GLfloat x, GLfloat y);
1438 /**
1439  * 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>.
1440  *
1441  * @since 2.0
1442  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1443  */
1444 GL_APICALL void GL_APIENTRY glVertexAttrib2fv(GLuint indx, const GLfloat* values);
1445 /**
1446  * 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>.
1447  *
1448  * @since 2.0
1449  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1450  */
1451 GL_APICALL void GL_APIENTRY glVertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z);
1452 /**
1453  * 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>.
1454  *
1455  * @since 2.0
1456  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1457  */
1458 GL_APICALL void GL_APIENTRY glVertexAttrib3fv(GLuint indx, const GLfloat* values);
1459 /**
1460  * 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>.
1461  *
1462  * @since 2.0
1463  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1464  */
1465 GL_APICALL void GL_APIENTRY glVertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1466 /**
1467  * 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>.
1468  *
1469  * @since 2.0
1470  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1471  */
1472 GL_APICALL void GL_APIENTRY glVertexAttrib4fv(GLuint indx, const GLfloat* values);
1473 /**
1474  * 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>.
1475  *
1476  * @since 2.0
1477  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1478  */
1479 GL_APICALL void GL_APIENTRY glVertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* ptr);
1480 /**
1481  * 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>.
1482  *
1483  * @since 2.0
1484  * @feature     %http://tizen.org/feature/opengles or %http://tizen.org/feature/opengles.version.2_0
1485  */
1486 GL_APICALL void GL_APIENTRY glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
1487
1488 /**
1489  * @}
1490  */
1491
1492 #ifdef __cplusplus
1493 }
1494 #endif
1495
1496 #endif /* __gl2_h_ */