Hash :
08b1e660
Author :
Date :
2019-08-09T15:31:19
Revert "Enable EVENT trace to print GLenum as string" This reverts commit 048547e743b655d12ad44bb3e63766b7b96cd9a0. Reason for revert: crashes on Debug bots (at least Mac) Original change's description: > Enable EVENT trace to print GLenum as string > > Bug: angleproject:3778 > Change-Id: Ib3a4bd6ba631e0165d571789bbfab9b4b1905d8d > Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1737141 > Commit-Queue: Jamie Madill <jmadill@chromium.org> > Reviewed-by: Jamie Madill <jmadill@chromium.org> > Reviewed-by: Tobin Ehlis <tobine@google.com> TBR=tobine@google.com,jmadill@chromium.org,lujc@google.com Change-Id: Ib72f932f9b99bf981399759b17cec456b3ffafc1 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: angleproject:3778 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1745835 Reviewed-by: Yuly Novikov <ynovikov@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226
// GENERATED FILE - DO NOT EDIT.
// Generated by gen_gl_enum_utils.py using data from gl.xml and gl_angle_ext.xml.
//
// Copyright 2019 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// gl_enum_utils_autogen.h:
// mapping of GLenum value to string.
#ifndef LIBANGLE_GL_ENUM_UTILS_AUTOGEN_H_
#define LIBANGLE_GL_ENUM_UTILS_AUTOGEN_H_
#include <string>
namespace gl
{
enum class GLenumGroup
{
AccumOp,
AlphaFunction,
AtomicCounterBufferPName,
AttribMask,
AttributeType,
BindTransformFeedbackTarget,
BlendEquationModeEXT,
BlendingFactor,
BlitFramebufferFilter,
Boolean,
Buffer,
BufferAccessARB,
BufferAccessMask,
BufferBitQCOM,
BufferStorageTarget,
BufferTargetARB,
BufferUsageARB,
CheckFramebufferStatusTarget,
ClearBufferMask,
ClientAttribMask,
ClipControlDepth,
ClipControlOrigin,
ClipPlaneName,
ColorBuffer,
ColorMaterialFace,
ColorMaterialParameter,
ColorPointerType,
ColorTableParameterPNameSGI,
ColorTableTarget,
ColorTableTargetSGI,
ContextFlagMask,
ContextProfileMask,
ConvolutionBorderModeEXT,
ConvolutionParameterEXT,
ConvolutionTarget,
ConvolutionTargetEXT,
CopyBufferSubDataTarget,
CullFaceMode,
DataType,
DebugSeverity,
DebugSource,
DebugType,
DefaultGroup,
DepthFunction,
DrawBufferMode,
DrawElementsType,
EnableCap,
ErrorCode,
ExternalHandleType,
FeedBackToken,
FeedbackType,
FfdMaskSGIX,
FfdTargetSGIX,
FogCoordinatePointerType,
FogMode,
FogPName,
FogParameter,
FogPointerTypeEXT,
FogPointerTypeIBM,
FragmentLightModelParameterSGIX,
FragmentOpATI,
FramebufferAttachment,
FramebufferAttachmentParameterName,
FramebufferFetchNoncoherent,
FramebufferParameterName,
FramebufferStatus,
FramebufferTarget,
FrontFaceDirection,
GetColorTableParameterPNameSGI,
GetConvolutionParameter,
GetFramebufferParameter,
GetHistogramParameterPNameEXT,
GetMapQuery,
GetMinmaxParameterPNameEXT,
GetPName,
GetPixelMap,
GetPointervPName,
GetTextureParameter,
GraphicsResetStatus,
HintMode,
HintTarget,
HistogramTargetEXT,
IndexPointerType,
InterleavedArrayFormat,
InternalFormat,
InternalFormatPName,
LightEnvModeSGIX,
LightEnvParameterSGIX,
LightModelColorControl,
LightModelParameter,
LightName,
LightParameter,
ListMode,
ListNameType,
ListParameterName,
LogicOp,
MapBufferUsageMask,
MapQuery,
MapTarget,
MapTextureFormatINTEL,
MaterialFace,
MaterialParameter,
MatrixMode,
MemoryBarrierMask,
MemoryObjectParameterName,
MeshMode1,
MeshMode2,
MinmaxTargetEXT,
NormalPointerType,
ObjectIdentifier,
OcclusionQueryEventMaskAMD,
PatchParameterName,
PathColor,
PathCoverMode,
PathElementType,
PathFillMode,
PathFontStyle,
PathFontTarget,
PathGenMode,
PathHandleMissingGlyphs,
PathListMode,
PathMetricMask,
PathParameter,
PathStringFormat,
PathTransformType,
PipelineParameterName,
PixelCopyType,
PixelFormat,
PixelMap,
PixelStoreParameter,
PixelStoreResampleMode,
PixelStoreSubsampleRate,
PixelTexGenMode,
PixelTexGenParameterNameSGIS,
PixelTransferParameter,
PixelType,
PointParameterNameSGIS,
PolygonMode,
PrecisionType,
PrimitiveType,
ProgramInterface,
ProgramInterfacePName,
ProgramParameterPName,
ProgramPropertyARB,
ProgramStagePName,
QueryObjectParameterName,
QueryParameterName,
QueryTarget,
ReadBufferMode,
RenderbufferParameterName,
RenderbufferTarget,
RenderingMode,
SamplePatternSGIS,
SamplerParameterName,
SemaphoreParameterName,
SeparableTargetEXT,
ShaderParameterName,
ShaderType,
ShadingModel,
StencilFaceDirection,
StencilFunction,
StencilOp,
StringName,
SubroutineParameterName,
SyncCondition,
SyncObjectMask,
SyncParameterName,
SyncStatus,
TexCoordPointerType,
TextureCoordName,
TextureEnvMode,
TextureEnvParameter,
TextureEnvTarget,
TextureFilterFuncSGIS,
TextureGenMode,
TextureGenParameter,
TextureLayout,
TextureMagFilter,
TextureMinFilter,
TextureParameterName,
TextureStorageMaskAMD,
TextureTarget,
TextureUnit,
TextureWrapMode,
TransformFeedbackPName,
TypeEnum,
UniformBlockPName,
UniformPName,
UseProgramStageMask,
VertexArrayPName,
VertexAttribEnum,
VertexAttribPointerType,
VertexAttribType,
VertexBufferObjectParameter,
VertexBufferObjectUsage,
VertexPointerType,
VertexProvokingMode
};
const char *GLenumToString(GLenumGroup enumGroup, unsigned int value);
std::string GLbitfieldToString(GLenumGroup enumGroup, unsigned int value);
} // namespace gl
#endif // LIBANGLE_GL_ENUM_UTILS_AUTOGEN_H_