• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // GENERATED FILE - DO NOT EDIT.
2 // Generated by gen_gl_enum_utils.py using data from gl.xml and gl_angle_ext.xml.
3 //
4 // Copyright 2019 The ANGLE Project Authors. All rights reserved.
5 // Use of this source code is governed by a BSD-style license that can be
6 // found in the LICENSE file.
7 //
8 // gl_enum_utils_autogen.h:
9 //   mapping of GLenum value to string.
10 
11 #ifndef COMMON_GL_ENUM_UTILS_AUTOGEN_H_
12 #define COMMON_GL_ENUM_UTILS_AUTOGEN_H_
13 
14 namespace gl
15 {
16 enum class GLESEnum
17 {
18     AccumOp,
19     AllEnums,
20     AlphaFunction,
21     AtomicCounterBufferPName,
22     AttribMask,
23     AttributeType,
24     BindTransformFeedbackTarget,
25     BinormalPointerTypeEXT,
26     BlendEquationModeEXT,
27     BlendingFactor,
28     BlitFramebufferFilter,
29     Boolean,
30     Buffer,
31     BufferAccessARB,
32     BufferPNameARB,
33     BufferPointerNameARB,
34     BufferStorageMask,
35     BufferStorageTarget,
36     BufferTargetARB,
37     BufferUsageARB,
38     ClampColorModeARB,
39     ClearBufferMask,
40     ClipPlaneName,
41     ColorBuffer,
42     ColorMaterialParameter,
43     ColorPointerType,
44     CombinerBiasNV,
45     CombinerComponentUsageNV,
46     CombinerPortionNV,
47     CombinerScaleNV,
48     ContainerType,
49     ContextFlagMask,
50     CopyBufferSubDataTarget,
51     CopyImageSubDataTarget,
52     DebugSeverity,
53     DebugSource,
54     DebugType,
55     DepthFunction,
56     DepthStencilTextureMode,
57     DrawBufferMode,
58     DrawElementsType,
59     ElementPointerTypeATI,
60     EnableCap,
61     ErrorCode,
62     EvalMapsModeNV,
63     ExternalHandleType,
64     FenceConditionNV,
65     FenceParameterNameNV,
66     FogCoordinatePointerType,
67     FogMode,
68     FogPName,
69     FogParameter,
70     FogPointerTypeEXT,
71     FogPointerTypeIBM,
72     FoveationConfigBitQCOM,
73     FragmentLightParameterSGIX,
74     FragmentShaderDestMaskATI,
75     FragmentShaderDestModMaskATI,
76     FragmentShaderGenericSourceATI,
77     FragmentShaderTextureSourceATI,
78     FragmentShaderValueRepATI,
79     FramebufferAttachment,
80     FramebufferAttachmentParameterName,
81     FramebufferParameterName,
82     FramebufferStatus,
83     FramebufferTarget,
84     FrontFaceDirection,
85     GetFramebufferParameter,
86     GetMultisamplePNameNV,
87     GetPName,
88     GetPointervPName,
89     GetTextureParameter,
90     GraphicsResetStatus,
91     HintMode,
92     HintTarget,
93     IndexFunctionEXT,
94     IndexPointerType,
95     InternalFormat,
96     InternalFormatPName,
97     InvalidateFramebufferAttachment,
98     LightEnvModeSGIX,
99     LightModelParameter,
100     LightName,
101     LightParameter,
102     ListNameType,
103     LogicOp,
104     MapBufferAccessMask,
105     MapTypeNV,
106     MaterialParameter,
107     MatrixIndexPointerTypeARB,
108     MatrixMode,
109     MemoryBarrierMask,
110     MemoryObjectParameterName,
111     NormalPointerType,
112     ObjectIdentifier,
113     PLSQueryFloat,
114     PLSQueryInt,
115     PatchParameterName,
116     PathColor,
117     PathColorFormat,
118     PathFillMode,
119     PathFontStyle,
120     PathGenMode,
121     PathTransformType,
122     PipelineParameterName,
123     PixelCopyType,
124     PixelFormat,
125     PixelStoreParameter,
126     PixelTexGenModeSGIX,
127     PixelTransferParameter,
128     PixelType,
129     PointParameterNameARB,
130     PolygonMode,
131     PrecisionType,
132     PrimitiveType,
133     ProgramInterface,
134     ProgramInterfacePName,
135     ProgramParameterPName,
136     ProgramPropertyARB,
137     ProgramResourceProperty,
138     QueryCounterTarget,
139     QueryObjectParameterName,
140     QueryParameterName,
141     QueryTarget,
142     ReadBufferMode,
143     RenderbufferParameterName,
144     RenderbufferTarget,
145     ReplacementCodeTypeSUN,
146     SamplerParameterF,
147     SamplerParameterI,
148     ScalarType,
149     SecondaryColorPointerTypeIBM,
150     SemaphoreParameterName,
151     ShaderBinaryFormat,
152     ShaderParameterName,
153     ShaderType,
154     ShadingModel,
155     ShadingRateQCOM,
156     SizedInternalFormat,
157     StencilFunction,
158     StencilOp,
159     StringName,
160     SubroutineParameterName,
161     SyncBehaviorFlags,
162     SyncCondition,
163     SyncObjectMask,
164     SyncParameterName,
165     SyncStatus,
166     TangentPointerTypeEXT,
167     TexCoordPointerType,
168     TextureCompareMode,
169     TextureCoordName,
170     TextureEnvMode,
171     TextureEnvParameter,
172     TextureEnvTarget,
173     TextureGenParameter,
174     TextureLayout,
175     TextureMagFilter,
176     TextureMinFilter,
177     TextureParameterName,
178     TextureSwizzle,
179     TextureTarget,
180     TextureUnit,
181     TextureWrapMode,
182     TransformFeedbackBufferMode,
183     TransformFeedbackPName,
184     TriangleFace,
185     UniformBlockPName,
186     UniformPName,
187     UniformType,
188     UseProgramStageMask,
189     VertexArrayPName,
190     VertexAttribEnum,
191     VertexAttribIType,
192     VertexAttribPointerPropertyARB,
193     VertexAttribPointerType,
194     VertexAttribPropertyARB,
195     VertexAttribType,
196     VertexBufferObjectUsage,
197     VertexPointerType,
198     VertexProvokingMode,
199     VertexShaderTextureUnitParameter,
200     VertexShaderWriteMaskEXT,
201     VertexWeightPointerTypeEXT,
202     WeightPointerTypeARB
203 };
204 
205 enum class BigGLEnum
206 {
207     AccumOp,
208     AllEnums,
209     AlphaFunction,
210     AtomicCounterBufferPName,
211     AttribMask,
212     AttributeType,
213     BindTransformFeedbackTarget,
214     BinormalPointerTypeEXT,
215     BlendEquationModeEXT,
216     BlendingFactor,
217     BlitFramebufferFilter,
218     Boolean,
219     Buffer,
220     BufferAccessARB,
221     BufferPNameARB,
222     BufferPointerNameARB,
223     BufferStorageMask,
224     BufferStorageTarget,
225     BufferTargetARB,
226     BufferUsageARB,
227     ClampColorModeARB,
228     ClampColorTargetARB,
229     ClearBufferMask,
230     ClientAttribMask,
231     ClipControlDepth,
232     ClipControlOrigin,
233     ClipPlaneName,
234     ColorBuffer,
235     ColorMaterialParameter,
236     ColorPointerType,
237     ColorTableTarget,
238     ColorTableTargetSGI,
239     CombinerBiasNV,
240     CombinerComponentUsageNV,
241     CombinerPortionNV,
242     CombinerScaleNV,
243     ConditionalRenderMode,
244     ContainerType,
245     ContextFlagMask,
246     ContextProfileMask,
247     ConvolutionTarget,
248     ConvolutionTargetEXT,
249     CopyBufferSubDataTarget,
250     CopyImageSubDataTarget,
251     DebugSeverity,
252     DebugSource,
253     DebugType,
254     DepthFunction,
255     DepthStencilTextureMode,
256     DrawBufferMode,
257     DrawElementsType,
258     ElementPointerTypeATI,
259     EnableCap,
260     ErrorCode,
261     ExternalHandleType,
262     FeedBackToken,
263     FeedbackType,
264     FenceConditionNV,
265     FenceParameterNameNV,
266     FogCoordSrc,
267     FogCoordinatePointerType,
268     FogMode,
269     FogPName,
270     FogParameter,
271     FogPointerTypeEXT,
272     FogPointerTypeIBM,
273     FragmentLightParameterSGIX,
274     FragmentShaderDestMaskATI,
275     FragmentShaderDestModMaskATI,
276     FragmentShaderGenericSourceATI,
277     FragmentShaderTextureSourceATI,
278     FragmentShaderValueRepATI,
279     FramebufferAttachment,
280     FramebufferAttachmentParameterName,
281     FramebufferParameterName,
282     FramebufferStatus,
283     FramebufferTarget,
284     FrontFaceDirection,
285     GetFramebufferParameter,
286     GetMapQuery,
287     GetMultisamplePNameNV,
288     GetPName,
289     GetPointervPName,
290     GetTextureParameter,
291     GraphicsResetStatus,
292     HintMode,
293     HintTarget,
294     HistogramTarget,
295     HistogramTargetEXT,
296     IndexFunctionEXT,
297     IndexMaterialParameterEXT,
298     IndexPointerType,
299     InterleavedArrayFormat,
300     InternalFormat,
301     InternalFormatPName,
302     InvalidateFramebufferAttachment,
303     LightEnvModeSGIX,
304     LightModelColorControl,
305     LightModelParameter,
306     LightName,
307     LightParameter,
308     LightTextureModeEXT,
309     ListMode,
310     ListNameType,
311     LogicOp,
312     MapBufferAccessMask,
313     MapQuery,
314     MapTarget,
315     MapTypeNV,
316     MaterialParameter,
317     MatrixIndexPointerTypeARB,
318     MatrixMode,
319     MemoryBarrierMask,
320     MemoryObjectParameterName,
321     MeshMode1,
322     MeshMode2,
323     MinmaxTarget,
324     MinmaxTargetEXT,
325     NormalPointerType,
326     ObjectIdentifier,
327     PatchParameterName,
328     PathColor,
329     PathColorFormat,
330     PathFillMode,
331     PathFontStyle,
332     PathGenMode,
333     PathTransformType,
334     PipelineParameterName,
335     PixelCopyType,
336     PixelFormat,
337     PixelMap,
338     PixelStoreParameter,
339     PixelTexGenModeSGIX,
340     PixelTransferParameter,
341     PixelType,
342     PointParameterNameARB,
343     PolygonMode,
344     PrecisionType,
345     PrimitiveType,
346     ProgramInterface,
347     ProgramInterfacePName,
348     ProgramParameterPName,
349     ProgramPropertyARB,
350     ProgramResourceProperty,
351     ProgramStagePName,
352     QueryCounterTarget,
353     QueryObjectParameterName,
354     QueryParameterName,
355     QueryTarget,
356     ReadBufferMode,
357     RenderbufferParameterName,
358     RenderbufferTarget,
359     RenderingMode,
360     ReplacementCodeTypeSUN,
361     SamplerParameterF,
362     SamplerParameterI,
363     ScalarType,
364     SecondaryColorPointerTypeIBM,
365     SemaphoreParameterName,
366     SeparableTarget,
367     SeparableTargetEXT,
368     ShaderBinaryFormat,
369     ShaderParameterName,
370     ShaderType,
371     ShadingModel,
372     SizedInternalFormat,
373     StencilFunction,
374     StencilOp,
375     StringName,
376     SubroutineParameterName,
377     SyncBehaviorFlags,
378     SyncCondition,
379     SyncObjectMask,
380     SyncParameterName,
381     SyncStatus,
382     TangentPointerTypeEXT,
383     TexCoordPointerType,
384     TextureCompareMode,
385     TextureCoordName,
386     TextureEnvMode,
387     TextureEnvParameter,
388     TextureEnvTarget,
389     TextureGenMode,
390     TextureGenParameter,
391     TextureLayout,
392     TextureMagFilter,
393     TextureMinFilter,
394     TextureParameterName,
395     TextureSwizzle,
396     TextureTarget,
397     TextureUnit,
398     TextureWrapMode,
399     TransformFeedbackBufferMode,
400     TransformFeedbackPName,
401     TriangleFace,
402     UniformBlockPName,
403     UniformPName,
404     UniformType,
405     UseProgramStageMask,
406     VertexArrayPName,
407     VertexAttribEnum,
408     VertexAttribIType,
409     VertexAttribLType,
410     VertexAttribPointerPropertyARB,
411     VertexAttribPointerType,
412     VertexAttribPropertyARB,
413     VertexAttribType,
414     VertexBufferObjectUsage,
415     VertexPointerType,
416     VertexProvokingMode,
417     VertexShaderTextureUnitParameter,
418     VertexShaderWriteMaskEXT,
419     VertexWeightPointerTypeEXT,
420     WeightPointerTypeARB
421 };
422 }  // namespace gl
423 
424 #endif  // COMMON_GL_ENUM_UTILS_AUTOGEN_H_
425