summaryrefslogtreecommitdiffstats
path: root/o3d/gpu/command_buffer/common/gles2_cmd_ids_autogen.h
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/gpu/command_buffer/common/gles2_cmd_ids_autogen.h')
-rw-r--r--o3d/gpu/command_buffer/common/gles2_cmd_ids_autogen.h187
1 files changed, 187 insertions, 0 deletions
diff --git a/o3d/gpu/command_buffer/common/gles2_cmd_ids_autogen.h b/o3d/gpu/command_buffer/common/gles2_cmd_ids_autogen.h
new file mode 100644
index 0000000..3fee2f9
--- /dev/null
+++ b/o3d/gpu/command_buffer/common/gles2_cmd_ids_autogen.h
@@ -0,0 +1,187 @@
+// This file is auto-generated. DO NOT EDIT!
+
+#define GLES2_COMMAND_LIST(OP) \
+ OP(ActiveTexture) /* 1024 */ \
+ OP(AttachShader) /* 1025 */ \
+ OP(BindAttribLocation) /* 1026 */ \
+ OP(BindAttribLocationImmediate) /* 1027 */ \
+ OP(BindBuffer) /* 1028 */ \
+ OP(BindFramebuffer) /* 1029 */ \
+ OP(BindRenderbuffer) /* 1030 */ \
+ OP(BindTexture) /* 1031 */ \
+ OP(BlendColor) /* 1032 */ \
+ OP(BlendEquation) /* 1033 */ \
+ OP(BlendEquationSeparate) /* 1034 */ \
+ OP(BlendFunc) /* 1035 */ \
+ OP(BlendFuncSeparate) /* 1036 */ \
+ OP(BufferData) /* 1037 */ \
+ OP(BufferDataImmediate) /* 1038 */ \
+ OP(BufferSubData) /* 1039 */ \
+ OP(BufferSubDataImmediate) /* 1040 */ \
+ OP(CheckFramebufferStatus) /* 1041 */ \
+ OP(Clear) /* 1042 */ \
+ OP(ClearColor) /* 1043 */ \
+ OP(ClearDepthf) /* 1044 */ \
+ OP(ClearStencil) /* 1045 */ \
+ OP(ColorMask) /* 1046 */ \
+ OP(CompileShader) /* 1047 */ \
+ OP(CompressedTexImage2D) /* 1048 */ \
+ OP(CompressedTexImage2DImmediate) /* 1049 */ \
+ OP(CompressedTexSubImage2D) /* 1050 */ \
+ OP(CompressedTexSubImage2DImmediate) /* 1051 */ \
+ OP(CopyTexImage2D) /* 1052 */ \
+ OP(CopyTexSubImage2D) /* 1053 */ \
+ OP(CreateProgram) /* 1054 */ \
+ OP(CreateShader) /* 1055 */ \
+ OP(CullFace) /* 1056 */ \
+ OP(DeleteBuffers) /* 1057 */ \
+ OP(DeleteBuffersImmediate) /* 1058 */ \
+ OP(DeleteFramebuffers) /* 1059 */ \
+ OP(DeleteFramebuffersImmediate) /* 1060 */ \
+ OP(DeleteProgram) /* 1061 */ \
+ OP(DeleteRenderbuffers) /* 1062 */ \
+ OP(DeleteRenderbuffersImmediate) /* 1063 */ \
+ OP(DeleteShader) /* 1064 */ \
+ OP(DeleteTextures) /* 1065 */ \
+ OP(DeleteTexturesImmediate) /* 1066 */ \
+ OP(DepthFunc) /* 1067 */ \
+ OP(DepthMask) /* 1068 */ \
+ OP(DepthRangef) /* 1069 */ \
+ OP(DetachShader) /* 1070 */ \
+ OP(Disable) /* 1071 */ \
+ OP(DisableVertexAttribArray) /* 1072 */ \
+ OP(DrawArrays) /* 1073 */ \
+ OP(DrawElements) /* 1074 */ \
+ OP(Enable) /* 1075 */ \
+ OP(EnableVertexAttribArray) /* 1076 */ \
+ OP(Finish) /* 1077 */ \
+ OP(Flush) /* 1078 */ \
+ OP(FramebufferRenderbuffer) /* 1079 */ \
+ OP(FramebufferTexture2D) /* 1080 */ \
+ OP(FrontFace) /* 1081 */ \
+ OP(GenBuffers) /* 1082 */ \
+ OP(GenBuffersImmediate) /* 1083 */ \
+ OP(GenerateMipmap) /* 1084 */ \
+ OP(GenFramebuffers) /* 1085 */ \
+ OP(GenFramebuffersImmediate) /* 1086 */ \
+ OP(GenRenderbuffers) /* 1087 */ \
+ OP(GenRenderbuffersImmediate) /* 1088 */ \
+ OP(GenTextures) /* 1089 */ \
+ OP(GenTexturesImmediate) /* 1090 */ \
+ OP(GetActiveAttrib) /* 1091 */ \
+ OP(GetActiveUniform) /* 1092 */ \
+ OP(GetAttachedShaders) /* 1093 */ \
+ OP(GetAttribLocation) /* 1094 */ \
+ OP(GetAttribLocationImmediate) /* 1095 */ \
+ OP(GetBooleanv) /* 1096 */ \
+ OP(GetBufferParameteriv) /* 1097 */ \
+ OP(GetError) /* 1098 */ \
+ OP(GetFloatv) /* 1099 */ \
+ OP(GetFramebufferAttachmentParameteriv) /* 1100 */ \
+ OP(GetIntegerv) /* 1101 */ \
+ OP(GetProgramiv) /* 1102 */ \
+ OP(GetProgramInfoLog) /* 1103 */ \
+ OP(GetRenderbufferParameteriv) /* 1104 */ \
+ OP(GetShaderiv) /* 1105 */ \
+ OP(GetShaderInfoLog) /* 1106 */ \
+ OP(GetShaderPrecisionFormat) /* 1107 */ \
+ OP(GetShaderSource) /* 1108 */ \
+ OP(GetString) /* 1109 */ \
+ OP(GetTexParameterfv) /* 1110 */ \
+ OP(GetTexParameteriv) /* 1111 */ \
+ OP(GetUniformfv) /* 1112 */ \
+ OP(GetUniformiv) /* 1113 */ \
+ OP(GetUniformLocation) /* 1114 */ \
+ OP(GetUniformLocationImmediate) /* 1115 */ \
+ OP(GetVertexAttribfv) /* 1116 */ \
+ OP(GetVertexAttribiv) /* 1117 */ \
+ OP(GetVertexAttribPointerv) /* 1118 */ \
+ OP(Hint) /* 1119 */ \
+ OP(IsBuffer) /* 1120 */ \
+ OP(IsEnabled) /* 1121 */ \
+ OP(IsFramebuffer) /* 1122 */ \
+ OP(IsProgram) /* 1123 */ \
+ OP(IsRenderbuffer) /* 1124 */ \
+ OP(IsShader) /* 1125 */ \
+ OP(IsTexture) /* 1126 */ \
+ OP(LineWidth) /* 1127 */ \
+ OP(LinkProgram) /* 1128 */ \
+ OP(PixelStorei) /* 1129 */ \
+ OP(PolygonOffset) /* 1130 */ \
+ OP(ReadPixels) /* 1131 */ \
+ OP(RenderbufferStorage) /* 1132 */ \
+ OP(SampleCoverage) /* 1133 */ \
+ OP(Scissor) /* 1134 */ \
+ OP(ShaderSource) /* 1135 */ \
+ OP(ShaderSourceImmediate) /* 1136 */ \
+ OP(StencilFunc) /* 1137 */ \
+ OP(StencilFuncSeparate) /* 1138 */ \
+ OP(StencilMask) /* 1139 */ \
+ OP(StencilMaskSeparate) /* 1140 */ \
+ OP(StencilOp) /* 1141 */ \
+ OP(StencilOpSeparate) /* 1142 */ \
+ OP(TexImage2D) /* 1143 */ \
+ OP(TexImage2DImmediate) /* 1144 */ \
+ OP(TexParameterf) /* 1145 */ \
+ OP(TexParameterfv) /* 1146 */ \
+ OP(TexParameterfvImmediate) /* 1147 */ \
+ OP(TexParameteri) /* 1148 */ \
+ OP(TexParameteriv) /* 1149 */ \
+ OP(TexParameterivImmediate) /* 1150 */ \
+ OP(TexSubImage2D) /* 1151 */ \
+ OP(TexSubImage2DImmediate) /* 1152 */ \
+ OP(Uniform1f) /* 1153 */ \
+ OP(Uniform1fv) /* 1154 */ \
+ OP(Uniform1fvImmediate) /* 1155 */ \
+ OP(Uniform1i) /* 1156 */ \
+ OP(Uniform1iv) /* 1157 */ \
+ OP(Uniform1ivImmediate) /* 1158 */ \
+ OP(Uniform2f) /* 1159 */ \
+ OP(Uniform2fv) /* 1160 */ \
+ OP(Uniform2fvImmediate) /* 1161 */ \
+ OP(Uniform2i) /* 1162 */ \
+ OP(Uniform2iv) /* 1163 */ \
+ OP(Uniform2ivImmediate) /* 1164 */ \
+ OP(Uniform3f) /* 1165 */ \
+ OP(Uniform3fv) /* 1166 */ \
+ OP(Uniform3fvImmediate) /* 1167 */ \
+ OP(Uniform3i) /* 1168 */ \
+ OP(Uniform3iv) /* 1169 */ \
+ OP(Uniform3ivImmediate) /* 1170 */ \
+ OP(Uniform4f) /* 1171 */ \
+ OP(Uniform4fv) /* 1172 */ \
+ OP(Uniform4fvImmediate) /* 1173 */ \
+ OP(Uniform4i) /* 1174 */ \
+ OP(Uniform4iv) /* 1175 */ \
+ OP(Uniform4ivImmediate) /* 1176 */ \
+ OP(UniformMatrix2fv) /* 1177 */ \
+ OP(UniformMatrix2fvImmediate) /* 1178 */ \
+ OP(UniformMatrix3fv) /* 1179 */ \
+ OP(UniformMatrix3fvImmediate) /* 1180 */ \
+ OP(UniformMatrix4fv) /* 1181 */ \
+ OP(UniformMatrix4fvImmediate) /* 1182 */ \
+ OP(UseProgram) /* 1183 */ \
+ OP(ValidateProgram) /* 1184 */ \
+ OP(VertexAttrib1f) /* 1185 */ \
+ OP(VertexAttrib1fv) /* 1186 */ \
+ OP(VertexAttrib1fvImmediate) /* 1187 */ \
+ OP(VertexAttrib2f) /* 1188 */ \
+ OP(VertexAttrib2fv) /* 1189 */ \
+ OP(VertexAttrib2fvImmediate) /* 1190 */ \
+ OP(VertexAttrib3f) /* 1191 */ \
+ OP(VertexAttrib3fv) /* 1192 */ \
+ OP(VertexAttrib3fvImmediate) /* 1193 */ \
+ OP(VertexAttrib4f) /* 1194 */ \
+ OP(VertexAttrib4fv) /* 1195 */ \
+ OP(VertexAttrib4fvImmediate) /* 1196 */ \
+ OP(VertexAttribPointer) /* 1197 */ \
+ OP(Viewport) /* 1198 */ \
+
+enum CommandId {
+ kStartPoint = cmd::kLastCommonId, // All GLES2 commands start after this.
+#define GLES2_CMD_OP(name) k ## name,
+ GLES2_COMMAND_LIST(GLES2_CMD_OP)
+#undef GLES2_CMD_OP
+ kNumCommands
+};
+