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