1d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef __gl2ext_h_
2d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define __gl2ext_h_
3d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
4958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* $Revision: 10969 $ on $Date:: 2010-04-09 02:27:15 -0700 #$ */
5d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
6d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifdef __cplusplus
7d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopianextern "C" {
8d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
9d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
10d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/*
11d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian * This document is licensed under the SGI Free Software B License Version
12d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
13d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian */
14d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
15d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_APIENTRYP
16d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#   define GL_APIENTRYP GL_APIENTRY*
17d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
18d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
19d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/*------------------------------------------------------------------------*
20d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian * OES extension tokens
21d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian *------------------------------------------------------------------------*/
22d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
23d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_compressed_ETC1_RGB8_texture */
24d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_compressed_ETC1_RGB8_texture
25d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_ETC1_RGB8_OES                                        0x8D64
26d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
27d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
28d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_compressed_paletted_texture */
29d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_compressed_paletted_texture
30d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_PALETTE4_RGB8_OES                                    0x8B90
31d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_PALETTE4_RGBA8_OES                                   0x8B91
32d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_PALETTE4_R5_G6_B5_OES                                0x8B92
33d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_PALETTE4_RGBA4_OES                                   0x8B93
34d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_PALETTE4_RGB5_A1_OES                                 0x8B94
35d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_PALETTE8_RGB8_OES                                    0x8B95
36d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_PALETTE8_RGBA8_OES                                   0x8B96
37d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_PALETTE8_R5_G6_B5_OES                                0x8B97
38d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_PALETTE8_RGBA4_OES                                   0x8B98
39d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_PALETTE8_RGB5_A1_OES                                 0x8B99
40d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
41d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
42d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_depth24 */
43d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_depth24
44d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_DEPTH_COMPONENT24_OES                                0x81A6
45d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
46d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
47d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_depth32 */
48d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_depth32
49d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_DEPTH_COMPONENT32_OES                                0x81A7
50d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
51d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
52d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_depth_texture */
53d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* No new tokens introduced by this extension. */
54d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
55d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_EGL_image */
56d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_EGL_image
57d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef void* GLeglImageOES;
58d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
59d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
60958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_OES_element_index_uint */
61958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_OES_element_index_uint
62958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_UNSIGNED_INT                                         0x1405
63958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
64958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
65d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_get_program_binary */
66d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_get_program_binary
67d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_PROGRAM_BINARY_LENGTH_OES                            0x8741
68d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_NUM_PROGRAM_BINARY_FORMATS_OES                       0x87FE
69d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_PROGRAM_BINARY_FORMATS_OES                           0x87FF
70d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
71d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
72d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_mapbuffer */
73d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_mapbuffer
74d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_WRITE_ONLY_OES                                       0x88B9
75d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_BUFFER_ACCESS_OES                                    0x88BB
76d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_BUFFER_MAPPED_OES                                    0x88BC
77d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_BUFFER_MAP_POINTER_OES                               0x88BD
78d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
79d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
80d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_packed_depth_stencil */
81d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_packed_depth_stencil
82d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_DEPTH_STENCIL_OES                                    0x84F9
83d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_UNSIGNED_INT_24_8_OES                                0x84FA
84d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_DEPTH24_STENCIL8_OES                                 0x88F0
85d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
86d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
87d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_rgb8_rgba8 */
88d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_rgb8_rgba8
89d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_RGB8_OES                                             0x8051
90d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_RGBA8_OES                                            0x8058
91d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
92d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
93d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_standard_derivatives */
94d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_standard_derivatives
95d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES                  0x8B8B
96d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
97d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
98d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_stencil1 */
99d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_stencil1
100d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_STENCIL_INDEX1_OES                                   0x8D46
101d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
102d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
103d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_stencil4 */
104d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_stencil4
105d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_STENCIL_INDEX4_OES                                   0x8D47
106d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
107d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
108958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_OES_texture_3D */
109958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_OES_texture_3D
110d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_TEXTURE_WRAP_R_OES                                   0x8072
111d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_TEXTURE_3D_OES                                       0x806F
112d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_TEXTURE_BINDING_3D_OES                               0x806A
113d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_MAX_3D_TEXTURE_SIZE_OES                              0x8073
114d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_SAMPLER_3D_OES                                       0x8B5F
115d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES        0x8CD4
116d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
117d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
118958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_OES_texture_float */
119958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* No new tokens introduced by this extension. */
120958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
121958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_OES_texture_float_linear */
122958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* No new tokens introduced by this extension. */
123958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
124d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_texture_half_float */
125d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_texture_half_float
126d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_HALF_FLOAT_OES                                       0x8D61
127d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
128d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
129958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_OES_texture_half_float_linear */
130958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* No new tokens introduced by this extension. */
131958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
132958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_OES_texture_npot */
133958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* No new tokens introduced by this extension. */
134958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
135958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_OES_vertex_array_object */
136958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_OES_vertex_array_object
137958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_VERTEX_ARRAY_BINDING_OES                             0x85B5
138958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
139958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
140d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_vertex_half_float */
141d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_HALF_FLOAT_OES defined in GL_OES_texture_half_float already. */
142d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
143d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_vertex_type_10_10_10_2 */
144d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_vertex_type_10_10_10_2
145d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_UNSIGNED_INT_10_10_10_2_OES                          0x8DF6
146d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_INT_10_10_10_2_OES                                   0x8DF7
147d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
148d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
149e20a56d929fc8fedc2b468ea6d1900bd2aa6e81aMichael I. Gold/* GL_OES_EGL_image_external */
150e20a56d929fc8fedc2b468ea6d1900bd2aa6e81aMichael I. Gold#ifndef GL_OES_EGL_image_external
151f8b4b4408cb864bf604608221eafa9d37323d348Mathias Agopian#define GL_TEXTURE_EXTERNAL_OES                                 0x8D65
152e20a56d929fc8fedc2b468ea6d1900bd2aa6e81aMichael I. Gold#define GL_SAMPLER_EXTERNAL_OES                                 0x8D66
153e20a56d929fc8fedc2b468ea6d1900bd2aa6e81aMichael I. Gold#define GL_TEXTURE_BINDING_EXTERNAL_OES                         0x8D67
154e20a56d929fc8fedc2b468ea6d1900bd2aa6e81aMichael I. Gold#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES                     0x8D68
155f8b4b4408cb864bf604608221eafa9d37323d348Mathias Agopian#endif
156f8b4b4408cb864bf604608221eafa9d37323d348Mathias Agopian
157d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/*------------------------------------------------------------------------*
158d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian * AMD extension tokens
159d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian *------------------------------------------------------------------------*/
160d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
161d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_AMD_compressed_3DC_texture */
162d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_AMD_compressed_3DC_texture
163d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_3DC_X_AMD                                            0x87F9
164d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_3DC_XY_AMD                                           0x87FA
165d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
166d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
167d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_AMD_compressed_ATC_texture */
168d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_AMD_compressed_ATC_texture
169d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_ATC_RGB_AMD                                          0x8C92
170d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD                          0x8C93
171d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD                      0x87EE
172d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
173d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
174d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_AMD_performance_monitor */
175d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_AMD_performance_monitor
176d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_COUNTER_TYPE_AMD                                     0x8BC0
177d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_COUNTER_RANGE_AMD                                    0x8BC1
178d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_UNSIGNED_INT64_AMD                                   0x8BC2
179d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_PERCENTAGE_AMD                                       0x8BC3
180d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_PERFMON_RESULT_AVAILABLE_AMD                         0x8BC4
181d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_PERFMON_RESULT_SIZE_AMD                              0x8BC5
182d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_PERFMON_RESULT_AMD                                   0x8BC6
183d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
184d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
185958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_AMD_program_binary_Z400 */
186958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_AMD_program_binary_Z400
187958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_Z400_BINARY_AMD                                      0x8740
188958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
189958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
190d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/*------------------------------------------------------------------------*
191d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian * EXT extension tokens
192d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian *------------------------------------------------------------------------*/
193d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
194958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_EXT_blend_minmax */
195958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_EXT_blend_minmax
196958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_MIN_EXT                                              0x8007
197958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_MAX_EXT                                              0x8008
198958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
199958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
200958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_EXT_discard_framebuffer */
201958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_EXT_discard_framebuffer
202958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_COLOR_EXT                                            0x1800
203958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_DEPTH_EXT                                            0x1801
204958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_STENCIL_EXT                                          0x1802
205958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
206958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
207958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_EXT_multi_draw_arrays */
208958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* No new tokens introduced by this extension. */
209958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
210958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_EXT_read_format_bgra */
211958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_EXT_read_format_bgra
212958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_BGRA_EXT                                             0x80E1
213958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT                       0x8365
214958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT                       0x8366
215958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
216958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
217d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_EXT_texture_filter_anisotropic */
218d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_EXT_texture_filter_anisotropic
219d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_TEXTURE_MAX_ANISOTROPY_EXT                           0x84FE
220d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT                       0x84FF
221d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
222d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
223958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_EXT_texture_format_BGRA8888 */
224958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_EXT_texture_format_BGRA8888
225958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_BGRA_EXT                                             0x80E1
226958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
227958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
228d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_EXT_texture_type_2_10_10_10_REV */
229d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_EXT_texture_type_2_10_10_10_REV
230d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT                      0x8368
231d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
232d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
233958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_EXT_texture_compression_dxt1 */
234958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_EXT_texture_compression_dxt1
235958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT                         0x83F0
236958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT                        0x83F1
237d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
238d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
239d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/*------------------------------------------------------------------------*
240d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian * IMG extension tokens
241d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian *------------------------------------------------------------------------*/
242d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
243958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_IMG_program_binary */
244958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_IMG_program_binary
245958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_SGX_PROGRAM_BINARY_IMG                               0x9130
246958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
247958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
248d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_IMG_read_format */
249d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_IMG_read_format
250958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_BGRA_IMG                                             0x80E1
251958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG                       0x8365
252958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
253958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
254958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_IMG_shader_binary */
255958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_IMG_shader_binary
256958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_SGX_BINARY_IMG                                       0x8C0A
257d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
258d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
259d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_IMG_texture_compression_pvrtc */
260d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_IMG_texture_compression_pvrtc
261d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG                      0x8C00
262d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG                      0x8C01
263d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG                     0x8C02
264d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG                     0x8C03
265d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
266d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
267958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_IMG_multisampled_render_to_texture */
268958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_IMG_multisampled_render_to_texture
269958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_RENDERBUFFER_SAMPLES_IMG                             0x9133
270958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG               0x9134
271958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_MAX_SAMPLES_IMG                                      0x9135
272958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_TEXTURE_SAMPLES_IMG                                  0x9136
273958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
274958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
275d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/*------------------------------------------------------------------------*
276d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian * NV extension tokens
277d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian *------------------------------------------------------------------------*/
278d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
279d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_NV_fence */
280d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_NV_fence
281d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_ALL_COMPLETED_NV                                     0x84F2
282d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_FENCE_STATUS_NV                                      0x84F3
283d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_FENCE_CONDITION_NV                                   0x84F4
284d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
285d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
286958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_NV_coverage_sample */
287958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_NV_coverage_sample
288958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_COVERAGE_COMPONENT_NV                                0x8ED0
289958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_COVERAGE_COMPONENT4_NV                               0x8ED1
290958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_COVERAGE_ATTACHMENT_NV                               0x8ED2
291958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_COVERAGE_BUFFERS_NV                                  0x8ED3
292958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_COVERAGE_SAMPLES_NV                                  0x8ED4
293958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_COVERAGE_ALL_FRAGMENTS_NV                            0x8ED5
294958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_COVERAGE_EDGE_FRAGMENTS_NV                           0x8ED6
295958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_COVERAGE_AUTOMATIC_NV                                0x8ED7
296958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_COVERAGE_BUFFER_BIT_NV                               0x8000
297958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
298958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
299958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_NV_depth_nonlinear */
300958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_NV_depth_nonlinear
301958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_DEPTH_COMPONENT16_NONLINEAR_NV                       0x8E2C
302958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
303958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
304d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/*------------------------------------------------------------------------*
305d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian * QCOM extension tokens
306d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian *------------------------------------------------------------------------*/
307d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
308d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_QCOM_driver_control */
309d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* No new tokens introduced by this extension. */
310d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
311958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_QCOM_extended_get */
312958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_QCOM_extended_get
313958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_TEXTURE_WIDTH_QCOM                                   0x8BD2
314958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_TEXTURE_HEIGHT_QCOM                                  0x8BD3
315958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_TEXTURE_DEPTH_QCOM                                   0x8BD4
316958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_TEXTURE_INTERNAL_FORMAT_QCOM                         0x8BD5
317958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_TEXTURE_FORMAT_QCOM                                  0x8BD6
318958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_TEXTURE_TYPE_QCOM                                    0x8BD7
319958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_TEXTURE_IMAGE_VALID_QCOM                             0x8BD8
320958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_TEXTURE_NUM_LEVELS_QCOM                              0x8BD9
321958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_TEXTURE_TARGET_QCOM                                  0x8BDA
322958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_TEXTURE_OBJECT_VALID_QCOM                            0x8BDB
323958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_STATE_RESTORE                                        0x8BDC
324958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
325958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
326958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_QCOM_extended_get2 */
327958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* No new tokens introduced by this extension. */
328958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
329d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_QCOM_perfmon_global_mode */
330d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_QCOM_perfmon_global_mode
331d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_PERFMON_GLOBAL_MODE_QCOM                             0x8FA0
332d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
333d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
334958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_QCOM_writeonly_rendering */
335958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_QCOM_writeonly_rendering
336958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_WRITEONLY_RENDERING_QCOM                             0x8823
337958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
338958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
339958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_QCOM_tiled_rendering */
340958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_QCOM_tiled_rendering
341958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_COLOR_BUFFER_BIT0_QCOM                               0x00000001
342958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_COLOR_BUFFER_BIT1_QCOM                               0x00000002
343958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_COLOR_BUFFER_BIT2_QCOM                               0x00000004
344958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_COLOR_BUFFER_BIT3_QCOM                               0x00000008
345958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_COLOR_BUFFER_BIT4_QCOM                               0x00000010
346958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_COLOR_BUFFER_BIT5_QCOM                               0x00000020
347958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_COLOR_BUFFER_BIT6_QCOM                               0x00000040
348958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_COLOR_BUFFER_BIT7_QCOM                               0x00000080
349958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_DEPTH_BUFFER_BIT0_QCOM                               0x00000100
350958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_DEPTH_BUFFER_BIT1_QCOM                               0x00000200
351958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_DEPTH_BUFFER_BIT2_QCOM                               0x00000400
352958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_DEPTH_BUFFER_BIT3_QCOM                               0x00000800
353958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_DEPTH_BUFFER_BIT4_QCOM                               0x00001000
354958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_DEPTH_BUFFER_BIT5_QCOM                               0x00002000
355958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_DEPTH_BUFFER_BIT6_QCOM                               0x00004000
356958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_DEPTH_BUFFER_BIT7_QCOM                               0x00008000
357958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_STENCIL_BUFFER_BIT0_QCOM                             0x00010000
358958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_STENCIL_BUFFER_BIT1_QCOM                             0x00020000
359958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_STENCIL_BUFFER_BIT2_QCOM                             0x00040000
360958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_STENCIL_BUFFER_BIT3_QCOM                             0x00080000
361958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_STENCIL_BUFFER_BIT4_QCOM                             0x00100000
362958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_STENCIL_BUFFER_BIT5_QCOM                             0x00200000
363958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_STENCIL_BUFFER_BIT6_QCOM                             0x00400000
364958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_STENCIL_BUFFER_BIT7_QCOM                             0x00800000
365958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_MULTISAMPLE_BUFFER_BIT0_QCOM                         0x01000000
366958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_MULTISAMPLE_BUFFER_BIT1_QCOM                         0x02000000
367958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_MULTISAMPLE_BUFFER_BIT2_QCOM                         0x04000000
368958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_MULTISAMPLE_BUFFER_BIT3_QCOM                         0x08000000
369958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_MULTISAMPLE_BUFFER_BIT4_QCOM                         0x10000000
370958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_MULTISAMPLE_BUFFER_BIT5_QCOM                         0x20000000
371958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_MULTISAMPLE_BUFFER_BIT6_QCOM                         0x40000000
372958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_MULTISAMPLE_BUFFER_BIT7_QCOM                         0x80000000
373958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
374958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
375d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/*------------------------------------------------------------------------*
376d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian * End of extension tokens, start of corresponding extension functions
377d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian *------------------------------------------------------------------------*/
378d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
379d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/*------------------------------------------------------------------------*
380d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian * OES extension functions
381d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian *------------------------------------------------------------------------*/
382d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
383d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_compressed_ETC1_RGB8_texture */
384d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_compressed_ETC1_RGB8_texture
385d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_OES_compressed_ETC1_RGB8_texture 1
386d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
387d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
388d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_compressed_paletted_texture */
389d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_compressed_paletted_texture
390d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_OES_compressed_paletted_texture 1
391d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
392d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
393d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_depth24 */
394d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_depth24
395d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_OES_depth24 1
396d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
397d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
398d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_depth32 */
399d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_depth32
400d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_OES_depth32 1
401d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
402d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
403d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_depth_texture */
404d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_depth_texture
405d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_OES_depth_texture 1
406d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
407d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
408958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_OES_EGL_image */
409958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_OES_EGL_image
410958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_OES_EGL_image 1
411958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifdef GL_GLEXT_PROTOTYPES
412958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
413958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image);
414958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
415958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image);
416958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image);
417958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
418958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
419d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_element_index_uint */
420d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_element_index_uint
421d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_OES_element_index_uint 1
422d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
423d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
424d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_fbo_render_mipmap */
425d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_fbo_render_mipmap
426d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_OES_fbo_render_mipmap 1
427d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
428d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
429d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_fragment_precision_high */
430d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_fragment_precision_high
431d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_OES_fragment_precision_high 1
432d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
433d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
434d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_get_program_binary */
435d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_get_program_binary
436d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_OES_get_program_binary 1
437d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifdef GL_GLEXT_PROTOTYPES
438958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary);
439958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length);
440d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
441958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary);
442958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length);
443d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
444d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
445d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_mapbuffer */
446d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_mapbuffer
447d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_OES_mapbuffer 1
448d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifdef GL_GLEXT_PROTOTYPES
449d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias AgopianGL_APICALL void* GL_APIENTRY glMapBufferOES (GLenum target, GLenum access);
450d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias AgopianGL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target);
451958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, GLvoid** params);
452d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
453d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef void* (GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access);
454d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target);
455958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, GLvoid** params);
456d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
457d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
458d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_packed_depth_stencil */
459d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_packed_depth_stencil
460d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_OES_packed_depth_stencil 1
461d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
462d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
463d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_rgb8_rgba8 */
464d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_rgb8_rgba8
465d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_OES_rgb8_rgba8 1
466d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
467d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
468d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_standard_derivatives */
469d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_standard_derivatives
470d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_OES_standard_derivatives 1
471d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
472d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
473d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_stencil1 */
474d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_stencil1
475d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_OES_stencil1 1
476d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
477d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
478d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_stencil4 */
479d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_stencil4
480d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_OES_stencil4 1
481d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
482d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
483d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_texture_3D */
484d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_texture_3D
485d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_OES_texture_3D 1
486d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifdef GL_GLEXT_PROTOTYPES
487958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
488958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
489d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias AgopianGL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
490958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data);
491958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data);
492d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias AgopianGL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
493d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
494d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
495958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
496d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
497958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data);
498958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data);
499d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOES) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
500d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
501d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
502d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_texture_float */
503d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_texture_float
504d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_OES_texture_float 1
505d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
506d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
507958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_OES_texture_float_linear */
508958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_OES_texture_float_linear
509958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_OES_texture_float_linear 1
510958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
511958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
512d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_texture_half_float */
513d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_texture_half_float
514d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_OES_texture_half_float 1
515d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
516d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
517958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_OES_texture_half_float_linear */
518958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_OES_texture_half_float_linear
519958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_OES_texture_half_float_linear 1
520958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
521958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
522d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_texture_npot */
523d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_texture_npot
524d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_OES_texture_npot 1
525d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
526d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
527958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_OES_vertex_array_object */
528958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_OES_vertex_array_object
529958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_OES_vertex_array_object 1
530958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifdef GL_GLEXT_PROTOTYPES
531958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array);
532958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays);
533958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays);
534958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array);
535958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
536958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array);
537958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays);
538958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays);
539958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array);
540958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
541958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
542d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_vertex_half_float */
543d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_vertex_half_float
544d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_OES_vertex_half_float 1
545d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
546d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
547d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_OES_vertex_type_10_10_10_2 */
548d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_OES_vertex_type_10_10_10_2
549d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_OES_vertex_type_10_10_10_2 1
550d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
551d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
552e20a56d929fc8fedc2b468ea6d1900bd2aa6e81aMichael I. Gold/* GL_OES_EGL_image_external */
553e20a56d929fc8fedc2b468ea6d1900bd2aa6e81aMichael I. Gold#ifndef GL_OES_EGL_image_external
554e20a56d929fc8fedc2b468ea6d1900bd2aa6e81aMichael I. Gold#define GL_OES_EGL_image_external 1
555f8b4b4408cb864bf604608221eafa9d37323d348Mathias Agopian#endif
556f8b4b4408cb864bf604608221eafa9d37323d348Mathias Agopian
557d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/*------------------------------------------------------------------------*
558d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian * AMD extension functions
559d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian *------------------------------------------------------------------------*/
560d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
561d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_AMD_compressed_3DC_texture */
562d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_AMD_compressed_3DC_texture
563d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_AMD_compressed_3DC_texture 1
564d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
565d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
566d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_AMD_compressed_ATC_texture */
567d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_AMD_compressed_ATC_texture
568d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_AMD_compressed_ATC_texture 1
569d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
570d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
571d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* AMD_performance_monitor */
572d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_AMD_performance_monitor
573d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_AMD_performance_monitor 1
574d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifdef GL_GLEXT_PROTOTYPES
575d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias AgopianGL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
576d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias AgopianGL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
577958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
578958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
579958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, GLvoid *data);
580d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias AgopianGL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
581d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias AgopianGL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
582d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias AgopianGL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList);
583d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias AgopianGL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
584d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias AgopianGL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor);
585d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias AgopianGL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
586d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
587d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
588d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
589958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
590958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
591958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, GLvoid *data);
592d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
593d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
594d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList);
595d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
596d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
597d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
598d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
599d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
600958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_AMD_program_binary_Z400 */
601958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_AMD_program_binary_Z400
602958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_AMD_program_binary_Z400 1
603958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
604958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
605d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/*------------------------------------------------------------------------*
606d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian * EXT extension functions
607d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian *------------------------------------------------------------------------*/
608d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
609958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_EXT_blend_minmax */
610958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_EXT_blend_minmax
611958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_EXT_blend_minmax 1
612958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
613958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
614958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_EXT_discard_framebuffer */
615958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_EXT_discard_framebuffer
616958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_EXT_discard_framebuffer 1
617958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifdef GL_GLEXT_PROTOTYPES
618958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments);
619958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
620958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
621958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
622958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
623958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_EXT_multi_draw_arrays
624958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_EXT_multi_draw_arrays 1
625958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifdef GL_GLEXT_PROTOTYPES
6263b512cd56450d08c3bd8d2bd53c9bf8126b2557fMathias AgopianGL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
6273b512cd56450d08c3bd8d2bd53c9bf8126b2557fMathias AgopianGL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
628958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif /* GL_GLEXT_PROTOTYPES */
629958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
630958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
631958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
632958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
633958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_EXT_read_format_bgra */
634958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_EXT_read_format_bgra
635958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_EXT_read_format_bgra 1
636958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
637958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
638d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_EXT_texture_filter_anisotropic */
639d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_EXT_texture_filter_anisotropic
640d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_EXT_texture_filter_anisotropic 1
641d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
642d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
643958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_EXT_texture_format_BGRA8888 */
644958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_EXT_texture_format_BGRA8888
645958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_EXT_texture_format_BGRA8888 1
646958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
647958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
648d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_EXT_texture_type_2_10_10_10_REV */
649d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_EXT_texture_type_2_10_10_10_REV
650d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_EXT_texture_type_2_10_10_10_REV 1
651d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
652d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
653958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_EXT_texture_compression_dxt1 */
654958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_EXT_texture_compression_dxt1
655958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_EXT_texture_compression_dxt1 1
656d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
657d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
658d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/*------------------------------------------------------------------------*
659d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian * IMG extension functions
660d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian *------------------------------------------------------------------------*/
661d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
662958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_IMG_program_binary */
663958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_IMG_program_binary
664958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_IMG_program_binary 1
665958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
666958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
667d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_IMG_read_format */
668d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_IMG_read_format
669d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_IMG_read_format 1
670d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
671d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
672958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_IMG_shader_binary */
673958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_IMG_shader_binary
674958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_IMG_shader_binary 1
675958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
676958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
677d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_IMG_texture_compression_pvrtc */
678d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_IMG_texture_compression_pvrtc
679d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_IMG_texture_compression_pvrtc 1
680d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
681d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
682958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_IMG_multisampled_render_to_texture */
683958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_IMG_multisampled_render_to_texture
684958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_IMG_multisampled_render_to_texture 1
685958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifdef GL_GLEXT_PROTOTYPES
6863b512cd56450d08c3bd8d2bd53c9bf8126b2557fMathias AgopianGL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
6873b512cd56450d08c3bd8d2bd53c9bf8126b2557fMathias AgopianGL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
688958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
689958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMG) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
6903b512cd56450d08c3bd8d2bd53c9bf8126b2557fMathias Agopiantypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMG) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
691958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
692958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
693d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/*------------------------------------------------------------------------*
694d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian * NV extension functions
695d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian *------------------------------------------------------------------------*/
696d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
697d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_NV_fence */
698d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_NV_fence
699d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_NV_fence 1
700d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifdef GL_GLEXT_PROTOTYPES
7013b512cd56450d08c3bd8d2bd53c9bf8126b2557fMathias AgopianGL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
7023b512cd56450d08c3bd8d2bd53c9bf8126b2557fMathias AgopianGL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
7033b512cd56450d08c3bd8d2bd53c9bf8126b2557fMathias AgopianGL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence);
7043b512cd56450d08c3bd8d2bd53c9bf8126b2557fMathias AgopianGL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence);
7053b512cd56450d08c3bd8d2bd53c9bf8126b2557fMathias AgopianGL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
7063b512cd56450d08c3bd8d2bd53c9bf8126b2557fMathias AgopianGL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence);
7073b512cd56450d08c3bd8d2bd53c9bf8126b2557fMathias AgopianGL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
708d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
709d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
710d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
711d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
712d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
713d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
714d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
715d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
716d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
717d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
718958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_NV_coverage_sample */
719958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_NV_coverage_sample
720958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_NV_coverage_sample 1
721958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifdef GL_GLEXT_PROTOTYPES
722958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask);
723958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation);
724958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
725958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask);
726958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation);
727958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
728958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
729958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_NV_depth_nonlinear */
730958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_NV_depth_nonlinear
731958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_NV_depth_nonlinear 1
732958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
733958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
734d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/*------------------------------------------------------------------------*
735d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian * QCOM extension functions
736d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian *------------------------------------------------------------------------*/
737d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
738d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_QCOM_driver_control */
739d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_QCOM_driver_control
740d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_QCOM_driver_control 1
741d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifdef GL_GLEXT_PROTOTYPES
742d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias AgopianGL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls);
743958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString);
744d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias AgopianGL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl);
745d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias AgopianGL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl);
746d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
747d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls);
748958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString);
749d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl);
750d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopiantypedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl);
751d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
752d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
753958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_QCOM_extended_get */
754958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_QCOM_extended_get
755958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_QCOM_extended_get 1
756958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifdef GL_GLEXT_PROTOTYPES
757958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures);
758958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
759958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers);
760958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers);
761958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params);
762958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param);
763958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels);
764958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, GLvoid **params);
765958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
766958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures);
767958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
768958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers);
769958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers);
770958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params);
771958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param);
772958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels);
773958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, GLvoid **params);
774958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
775958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
776958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_QCOM_extended_get2 */
777958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_QCOM_extended_get2
778958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_QCOM_extended_get2 1
779958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifdef GL_GLEXT_PROTOTYPES
780958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders);
781958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms);
782958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program);
783958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length);
784958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
785958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders);
786958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms);
787958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program);
788958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length);
789958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
790958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
791d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian/* GL_QCOM_perfmon_global_mode */
792d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifndef GL_QCOM_perfmon_global_mode
793d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#define GL_QCOM_perfmon_global_mode 1
794d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
795d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
796958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_QCOM_writeonly_rendering */
797958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_QCOM_writeonly_rendering
798958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_QCOM_writeonly_rendering 1
799958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
800958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
801958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian/* GL_QCOM_tiled_rendering */
802958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifndef GL_QCOM_tiled_rendering
803958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#define GL_QCOM_tiled_rendering 1
804958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#ifdef GL_GLEXT_PROTOTYPES
805958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
806958f9006685c8b477fe76f44ddce59b8bfae8315Mathias AgopianGL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask);
807958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
808958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
809958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopiantypedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask);
810958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian#endif
811958f9006685c8b477fe76f44ddce59b8bfae8315Mathias Agopian
812d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#ifdef __cplusplus
813d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian}
814d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif
815d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian
816d53c8ee26b9e6703633033ea51f4f7c21b253dd1Mathias Agopian#endif /* __gl2ext_h_ */
817