]> git.tdb.fi Git - gldbg.git/blob - gles2enum.spec
736751034f2eb10845175d5f924dac9ad0d22015
[gldbg.git] / gles2enum.spec
1 GLES2 enum:\r
2         ES_VERSION_2_0                = 1\r
3         DEPTH_BUFFER_BIT              = 0x00000100\r
4         STENCIL_BUFFER_BIT            = 0x00000400\r
5         COLOR_BUFFER_BIT              = 0x00004000\r
6         FALSE                         = 0\r
7         TRUE                          = 1\r
8         POINTS                        = 0x0000\r
9         LINES                         = 0x0001\r
10         LINE_LOOP                     = 0x0002\r
11         LINE_STRIP                    = 0x0003\r
12         TRIANGLES                     = 0x0004\r
13         TRIANGLE_STRIP                = 0x0005\r
14         TRIANGLE_FAN                  = 0x0006\r
15         ZERO                          = 0\r
16         ONE                           = 1\r
17         SRC_COLOR                     = 0x0300\r
18         ONE_MINUS_SRC_COLOR           = 0x0301\r
19         SRC_ALPHA                     = 0x0302\r
20         ONE_MINUS_SRC_ALPHA           = 0x0303\r
21         DST_ALPHA                     = 0x0304\r
22         ONE_MINUS_DST_ALPHA           = 0x0305\r
23         DST_COLOR                     = 0x0306\r
24         ONE_MINUS_DST_COLOR           = 0x0307\r
25         SRC_ALPHA_SATURATE            = 0x0308\r
26         FUNC_ADD                      = 0x8006\r
27         BLEND_EQUATION                = 0x8009\r
28         BLEND_EQUATION_RGB            = 0x8009    /* same as BLEND_EQUATION */\r
29         BLEND_EQUATION_ALPHA          = 0x883D\r
30         FUNC_SUBTRACT                 = 0x800A\r
31         FUNC_REVERSE_SUBTRACT         = 0x800B\r
32         BLEND_DST_RGB                 = 0x80C8\r
33         BLEND_SRC_RGB                 = 0x80C9\r
34         BLEND_DST_ALPHA               = 0x80CA\r
35         BLEND_SRC_ALPHA               = 0x80CB\r
36         CONSTANT_COLOR                = 0x8001\r
37         ONE_MINUS_CONSTANT_COLOR      = 0x8002\r
38         CONSTANT_ALPHA                = 0x8003\r
39         ONE_MINUS_CONSTANT_ALPHA      = 0x8004\r
40         BLEND_COLOR                   = 0x8005\r
41         ARRAY_BUFFER                  = 0x8892\r
42         ELEMENT_ARRAY_BUFFER          = 0x8893\r
43         ARRAY_BUFFER_BINDING          = 0x8894\r
44         ELEMENT_ARRAY_BUFFER_BINDING  = 0x8895\r
45         STREAM_DRAW                   = 0x88E0\r
46         STATIC_DRAW                   = 0x88E4\r
47         DYNAMIC_DRAW                  = 0x88E8\r
48         BUFFER_SIZE                   = 0x8764\r
49         BUFFER_USAGE                  = 0x8765\r
50         CURRENT_VERTEX_ATTRIB         = 0x8626\r
51         FRONT                         = 0x0404\r
52         BACK                          = 0x0405\r
53         FRONT_AND_BACK                = 0x0408\r
54         TEXTURE_2D                    = 0x0DE1\r
55         CULL_FACE                     = 0x0B44\r
56         BLEND                         = 0x0BE2\r
57         DITHER                        = 0x0BD0\r
58         STENCIL_TEST                  = 0x0B90\r
59         DEPTH_TEST                    = 0x0B71\r
60         SCISSOR_TEST                  = 0x0C11\r
61         POLYGON_OFFSET_FILL           = 0x8037\r
62         SAMPLE_ALPHA_TO_COVERAGE      = 0x809E\r
63         SAMPLE_COVERAGE               = 0x80A0\r
64         NO_ERROR                      = 0\r
65         INVALID_ENUM                  = 0x0500\r
66         INVALID_VALUE                 = 0x0501\r
67         INVALID_OPERATION             = 0x0502\r
68         OUT_OF_MEMORY                 = 0x0505\r
69         CW                            = 0x0900\r
70         CCW                           = 0x0901\r
71         LINE_WIDTH                    = 0x0B21\r
72         ALIASED_POINT_SIZE_RANGE      = 0x846D\r
73         ALIASED_LINE_WIDTH_RANGE      = 0x846E\r
74         CULL_FACE_MODE                = 0x0B45\r
75         FRONT_FACE                    = 0x0B46\r
76         DEPTH_RANGE                   = 0x0B70\r
77         DEPTH_WRITEMASK               = 0x0B72\r
78         DEPTH_CLEAR_VALUE             = 0x0B73\r
79         DEPTH_FUNC                    = 0x0B74\r
80         STENCIL_CLEAR_VALUE           = 0x0B91\r
81         STENCIL_FUNC                  = 0x0B92\r
82         STENCIL_FAIL                  = 0x0B94\r
83         STENCIL_PASS_DEPTH_FAIL       = 0x0B95\r
84         STENCIL_PASS_DEPTH_PASS       = 0x0B96\r
85         STENCIL_REF                   = 0x0B97\r
86         STENCIL_VALUE_MASK            = 0x0B93\r
87         STENCIL_WRITEMASK             = 0x0B98\r
88         STENCIL_BACK_FUNC             = 0x8800\r
89         STENCIL_BACK_FAIL             = 0x8801\r
90         STENCIL_BACK_PASS_DEPTH_FAIL  = 0x8802\r
91         STENCIL_BACK_PASS_DEPTH_PASS  = 0x8803\r
92         STENCIL_BACK_REF              = 0x8CA3\r
93         STENCIL_BACK_VALUE_MASK       = 0x8CA4\r
94         STENCIL_BACK_WRITEMASK        = 0x8CA5\r
95         VIEWPORT                      = 0x0BA2\r
96         SCISSOR_BOX                   = 0x0C10\r
97         COLOR_CLEAR_VALUE             = 0x0C22\r
98         COLOR_WRITEMASK               = 0x0C23\r
99         UNPACK_ALIGNMENT              = 0x0CF5\r
100         PACK_ALIGNMENT                = 0x0D05\r
101         MAX_TEXTURE_SIZE              = 0x0D33\r
102         MAX_VIEWPORT_DIMS             = 0x0D3A\r
103         SUBPIXEL_BITS                 = 0x0D50\r
104         RED_BITS                      = 0x0D52\r
105         GREEN_BITS                    = 0x0D53\r
106         BLUE_BITS                     = 0x0D54\r
107         ALPHA_BITS                    = 0x0D55\r
108         DEPTH_BITS                    = 0x0D56\r
109         STENCIL_BITS                  = 0x0D57\r
110         POLYGON_OFFSET_UNITS          = 0x2A00\r
111         POLYGON_OFFSET_FACTOR         = 0x8038\r
112         TEXTURE_BINDING_2D            = 0x8069\r
113         SAMPLE_BUFFERS                = 0x80A8\r
114         SAMPLES                       = 0x80A9\r
115         SAMPLE_COVERAGE_VALUE         = 0x80AA\r
116         SAMPLE_COVERAGE_INVERT        = 0x80AB\r
117         NUM_COMPRESSED_TEXTURE_FORMATS= 0x86A2\r
118         COMPRESSED_TEXTURE_FORMATS    = 0x86A3\r
119         DONT_CARE                     = 0x1100\r
120         FASTEST                       = 0x1101\r
121         NICEST                        = 0x1102\r
122         GENERATE_MIPMAP_HINT           = 0x8192\r
123         BYTE                          = 0x1400\r
124         UNSIGNED_BYTE                 = 0x1401\r
125         SHORT                         = 0x1402\r
126         UNSIGNED_SHORT                = 0x1403\r
127         INT                           = 0x1404\r
128         UNSIGNED_INT                  = 0x1405\r
129         FLOAT                         = 0x1406\r
130         FIXED                         = 0x140C\r
131         DEPTH_COMPONENT               = 0x1902\r
132         ALPHA                         = 0x1906\r
133         RGB                           = 0x1907\r
134         RGBA                          = 0x1908\r
135         LUMINANCE                     = 0x1909\r
136         LUMINANCE_ALPHA               = 0x190A\r
137         UNSIGNED_SHORT_4_4_4_4        = 0x8033\r
138         UNSIGNED_SHORT_5_5_5_1        = 0x8034\r
139         UNSIGNED_SHORT_5_6_5          = 0x8363\r
140         FRAGMENT_SHADER                 = 0x8B30\r
141         VERTEX_SHADER                   = 0x8B31\r
142         MAX_VERTEX_ATTRIBS              = 0x8869\r
143         MAX_VERTEX_UNIFORM_VECTORS      = 0x8DFB\r
144         MAX_VARYING_VECTORS             = 0x8DFC\r
145         MAX_COMBINED_TEXTURE_IMAGE_UNITS= 0x8B4D\r
146         MAX_VERTEX_TEXTURE_IMAGE_UNITS  = 0x8B4C\r
147         MAX_TEXTURE_IMAGE_UNITS         = 0x8872\r
148         MAX_FRAGMENT_UNIFORM_VECTORS    = 0x8DFD\r
149         SHADER_TYPE                     = 0x8B4F\r
150         DELETE_STATUS                   = 0x8B80\r
151         LINK_STATUS                     = 0x8B82\r
152         VALIDATE_STATUS                 = 0x8B83\r
153         ATTACHED_SHADERS                = 0x8B85\r
154         ACTIVE_UNIFORMS                 = 0x8B86\r
155         ACTIVE_UNIFORM_MAX_LENGTH       = 0x8B87\r
156         ACTIVE_ATTRIBUTES               = 0x8B89\r
157         ACTIVE_ATTRIBUTE_MAX_LENGTH     = 0x8B8A\r
158         SHADING_LANGUAGE_VERSION        = 0x8B8C\r
159         CURRENT_PROGRAM                 = 0x8B8D\r
160         NEVER                         = 0x0200\r
161         LESS                          = 0x0201\r
162         EQUAL                         = 0x0202\r
163         LEQUAL                        = 0x0203\r
164         GREATER                       = 0x0204\r
165         NOTEQUAL                      = 0x0205\r
166         GEQUAL                        = 0x0206\r
167         ALWAYS                        = 0x0207\r
168         KEEP                          = 0x1E00\r
169         REPLACE                       = 0x1E01\r
170         INCR                          = 0x1E02\r
171         DECR                          = 0x1E03\r
172         INVERT                        = 0x150A\r
173         INCR_WRAP                     = 0x8507\r
174         DECR_WRAP                     = 0x8508\r
175         VENDOR                        = 0x1F00\r
176         RENDERER                      = 0x1F01\r
177         VERSION                       = 0x1F02\r
178         EXTENSIONS                    = 0x1F03\r
179         NEAREST                       = 0x2600\r
180         LINEAR                        = 0x2601\r
181         NEAREST_MIPMAP_NEAREST        = 0x2700\r
182         LINEAR_MIPMAP_NEAREST         = 0x2701\r
183         NEAREST_MIPMAP_LINEAR         = 0x2702\r
184         LINEAR_MIPMAP_LINEAR          = 0x2703\r
185         TEXTURE_MAG_FILTER            = 0x2800\r
186         TEXTURE_MIN_FILTER            = 0x2801\r
187         TEXTURE_WRAP_S                = 0x2802\r
188         TEXTURE_WRAP_T                = 0x2803\r
189         TEXTURE                       = 0x1702\r
190         TEXTURE_CUBE_MAP              = 0x8513\r
191         TEXTURE_BINDING_CUBE_MAP      = 0x8514\r
192         TEXTURE_CUBE_MAP_POSITIVE_X   = 0x8515\r
193         TEXTURE_CUBE_MAP_NEGATIVE_X   = 0x8516\r
194         TEXTURE_CUBE_MAP_POSITIVE_Y   = 0x8517\r
195         TEXTURE_CUBE_MAP_NEGATIVE_Y   = 0x8518\r
196         TEXTURE_CUBE_MAP_POSITIVE_Z   = 0x8519\r
197         TEXTURE_CUBE_MAP_NEGATIVE_Z   = 0x851A\r
198         MAX_CUBE_MAP_TEXTURE_SIZE     = 0x851C\r
199         TEXTURE0                      = 0x84C0\r
200         TEXTURE1                      = 0x84C1\r
201         TEXTURE2                      = 0x84C2\r
202         TEXTURE3                      = 0x84C3\r
203         TEXTURE4                      = 0x84C4\r
204         TEXTURE5                      = 0x84C5\r
205         TEXTURE6                      = 0x84C6\r
206         TEXTURE7                      = 0x84C7\r
207         TEXTURE8                      = 0x84C8\r
208         TEXTURE9                      = 0x84C9\r
209         TEXTURE10                     = 0x84CA\r
210         TEXTURE11                     = 0x84CB\r
211         TEXTURE12                     = 0x84CC\r
212         TEXTURE13                     = 0x84CD\r
213         TEXTURE14                     = 0x84CE\r
214         TEXTURE15                     = 0x84CF\r
215         TEXTURE16                     = 0x84D0\r
216         TEXTURE17                     = 0x84D1\r
217         TEXTURE18                     = 0x84D2\r
218         TEXTURE19                     = 0x84D3\r
219         TEXTURE20                     = 0x84D4\r
220         TEXTURE21                     = 0x84D5\r
221         TEXTURE22                     = 0x84D6\r
222         TEXTURE23                     = 0x84D7\r
223         TEXTURE24                     = 0x84D8\r
224         TEXTURE25                     = 0x84D9\r
225         TEXTURE26                     = 0x84DA\r
226         TEXTURE27                     = 0x84DB\r
227         TEXTURE28                     = 0x84DC\r
228         TEXTURE29                     = 0x84DD\r
229         TEXTURE30                     = 0x84DE\r
230         TEXTURE31                     = 0x84DF\r
231         ACTIVE_TEXTURE                = 0x84E0\r
232         REPEAT                        = 0x2901\r
233         CLAMP_TO_EDGE                 = 0x812F\r
234         MIRRORED_REPEAT               = 0x8370\r
235         FLOAT_VEC2                    = 0x8B50\r
236         FLOAT_VEC3                    = 0x8B51\r
237         FLOAT_VEC4                    = 0x8B52\r
238         INT_VEC2                      = 0x8B53\r
239         INT_VEC3                      = 0x8B54\r
240         INT_VEC4                      = 0x8B55\r
241         BOOL                          = 0x8B56\r
242         BOOL_VEC2                     = 0x8B57\r
243         BOOL_VEC3                     = 0x8B58\r
244         BOOL_VEC4                     = 0x8B59\r
245         FLOAT_MAT2                    = 0x8B5A\r
246         FLOAT_MAT3                    = 0x8B5B\r
247         FLOAT_MAT4                    = 0x8B5C\r
248         SAMPLER_2D                    = 0x8B5E\r
249         SAMPLER_CUBE                  = 0x8B60\r
250         VERTEX_ATTRIB_ARRAY_ENABLED       = 0x8622\r
251         VERTEX_ATTRIB_ARRAY_SIZE          = 0x8623\r
252         VERTEX_ATTRIB_ARRAY_STRIDE        = 0x8624\r
253         VERTEX_ATTRIB_ARRAY_TYPE          = 0x8625\r
254         VERTEX_ATTRIB_ARRAY_NORMALIZED    = 0x886A\r
255         VERTEX_ATTRIB_ARRAY_POINTER       = 0x8645\r
256         VERTEX_ATTRIB_ARRAY_BUFFER_BINDING= 0x889F\r
257         IMPLEMENTATION_COLOR_READ_TYPE  = 0x8B9A\r
258         IMPLEMENTATION_COLOR_READ_FORMAT= 0x8B9B\r
259         COMPILE_STATUS                = 0x8B81\r
260         INFO_LOG_LENGTH               = 0x8B84\r
261         SHADER_SOURCE_LENGTH          = 0x8B88\r
262         SHADER_COMPILER               = 0x8DFA\r
263         SHADER_BINARY_FORMATS         = 0x8DF8\r
264         NUM_SHADER_BINARY_FORMATS     = 0x8DF9\r
265         LOW_FLOAT                     = 0x8DF0\r
266         MEDIUM_FLOAT                  = 0x8DF1\r
267         HIGH_FLOAT                    = 0x8DF2\r
268         LOW_INT                       = 0x8DF3\r
269         MEDIUM_INT                    = 0x8DF4\r
270         HIGH_INT                      = 0x8DF5\r
271         FRAMEBUFFER                   = 0x8D40\r
272         RENDERBUFFER                  = 0x8D41\r
273         RGBA4                         = 0x8056\r
274         RGB5_A1                       = 0x8057\r
275         RGB565                        = 0x8D62\r
276         DEPTH_COMPONENT16             = 0x81A5\r
277         STENCIL_INDEX                 = 0x1901\r
278         STENCIL_INDEX8                = 0x8D48\r
279         RENDERBUFFER_WIDTH            = 0x8D42\r
280         RENDERBUFFER_HEIGHT           = 0x8D43\r
281         RENDERBUFFER_INTERNAL_FORMAT  = 0x8D44\r
282         RENDERBUFFER_RED_SIZE         = 0x8D50\r
283         RENDERBUFFER_GREEN_SIZE       = 0x8D51\r
284         RENDERBUFFER_BLUE_SIZE        = 0x8D52\r
285         RENDERBUFFER_ALPHA_SIZE       = 0x8D53\r
286         RENDERBUFFER_DEPTH_SIZE       = 0x8D54\r
287         RENDERBUFFER_STENCIL_SIZE     = 0x8D55\r
288         FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE          = 0x8CD0\r
289         FRAMEBUFFER_ATTACHMENT_OBJECT_NAME          = 0x8CD1\r
290         FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL        = 0x8CD2\r
291         FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE= 0x8CD3\r
292         COLOR_ATTACHMENT0             = 0x8CE0\r
293         DEPTH_ATTACHMENT              = 0x8D00\r
294         STENCIL_ATTACHMENT            = 0x8D20\r
295         NONE                          = 0\r
296         FRAMEBUFFER_COMPLETE                     = 0x8CD5\r
297         FRAMEBUFFER_INCOMPLETE_ATTACHMENT        = 0x8CD6\r
298         FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT= 0x8CD7\r
299         FRAMEBUFFER_INCOMPLETE_DIMENSIONS        = 0x8CD9\r
300         FRAMEBUFFER_UNSUPPORTED                  = 0x8CDD\r
301         FRAMEBUFFER_BINDING           = 0x8CA6\r
302         RENDERBUFFER_BINDING          = 0x8CA7\r
303         MAX_RENDERBUFFER_SIZE         = 0x84E8\r
304         INVALID_FRAMEBUFFER_OPERATION = 0x0506\r