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