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