Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: gpu/command_buffer/client/gles2_c_lib_autogen.h

Issue 573953002: command_buffer: infer all generated c/c++ source files to clang-format (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file is auto-generated from 5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py 6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // It's formatted by clang-format using chromium coding style: 7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename 8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT! 9 // DO NOT EDIT!
10 10
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after
976 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); 976 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m);
977 } 977 }
978 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { 978 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) {
979 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); 979 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode);
980 } 980 }
981 981
982 namespace gles2 { 982 namespace gles2 {
983 983
984 extern const NameToFunc g_gles2_function_table[] = { 984 extern const NameToFunc g_gles2_function_table[] = {
985 { 985 {
986 "glActiveTexture", reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), 986 "glActiveTexture",
987 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture),
987 }, 988 },
988 { 989 {
989 "glAttachShader", reinterpret_cast<GLES2FunctionPointer>(glAttachShader), 990 "glAttachShader",
991 reinterpret_cast<GLES2FunctionPointer>(glAttachShader),
990 }, 992 },
991 { 993 {
992 "glBindAttribLocation", 994 "glBindAttribLocation",
993 reinterpret_cast<GLES2FunctionPointer>(glBindAttribLocation), 995 reinterpret_cast<GLES2FunctionPointer>(glBindAttribLocation),
994 }, 996 },
995 { 997 {
996 "glBindBuffer", reinterpret_cast<GLES2FunctionPointer>(glBindBuffer), 998 "glBindBuffer",
999 reinterpret_cast<GLES2FunctionPointer>(glBindBuffer),
997 }, 1000 },
998 { 1001 {
999 "glBindFramebuffer", 1002 "glBindFramebuffer",
1000 reinterpret_cast<GLES2FunctionPointer>(glBindFramebuffer), 1003 reinterpret_cast<GLES2FunctionPointer>(glBindFramebuffer),
1001 }, 1004 },
1002 { 1005 {
1003 "glBindRenderbuffer", 1006 "glBindRenderbuffer",
1004 reinterpret_cast<GLES2FunctionPointer>(glBindRenderbuffer), 1007 reinterpret_cast<GLES2FunctionPointer>(glBindRenderbuffer),
1005 }, 1008 },
1006 { 1009 {
1007 "glBindTexture", reinterpret_cast<GLES2FunctionPointer>(glBindTexture), 1010 "glBindTexture",
1011 reinterpret_cast<GLES2FunctionPointer>(glBindTexture),
1008 }, 1012 },
1009 { 1013 {
1010 "glBlendColor", reinterpret_cast<GLES2FunctionPointer>(glBlendColor), 1014 "glBlendColor",
1015 reinterpret_cast<GLES2FunctionPointer>(glBlendColor),
1011 }, 1016 },
1012 { 1017 {
1013 "glBlendEquation", reinterpret_cast<GLES2FunctionPointer>(glBlendEquation), 1018 "glBlendEquation",
1019 reinterpret_cast<GLES2FunctionPointer>(glBlendEquation),
1014 }, 1020 },
1015 { 1021 {
1016 "glBlendEquationSeparate", 1022 "glBlendEquationSeparate",
1017 reinterpret_cast<GLES2FunctionPointer>(glBlendEquationSeparate), 1023 reinterpret_cast<GLES2FunctionPointer>(glBlendEquationSeparate),
1018 }, 1024 },
1019 { 1025 {
1020 "glBlendFunc", reinterpret_cast<GLES2FunctionPointer>(glBlendFunc), 1026 "glBlendFunc",
1027 reinterpret_cast<GLES2FunctionPointer>(glBlendFunc),
1021 }, 1028 },
1022 { 1029 {
1023 "glBlendFuncSeparate", 1030 "glBlendFuncSeparate",
1024 reinterpret_cast<GLES2FunctionPointer>(glBlendFuncSeparate), 1031 reinterpret_cast<GLES2FunctionPointer>(glBlendFuncSeparate),
1025 }, 1032 },
1026 { 1033 {
1027 "glBufferData", reinterpret_cast<GLES2FunctionPointer>(glBufferData), 1034 "glBufferData",
1035 reinterpret_cast<GLES2FunctionPointer>(glBufferData),
1028 }, 1036 },
1029 { 1037 {
1030 "glBufferSubData", reinterpret_cast<GLES2FunctionPointer>(glBufferSubData), 1038 "glBufferSubData",
1039 reinterpret_cast<GLES2FunctionPointer>(glBufferSubData),
1031 }, 1040 },
1032 { 1041 {
1033 "glCheckFramebufferStatus", 1042 "glCheckFramebufferStatus",
1034 reinterpret_cast<GLES2FunctionPointer>(glCheckFramebufferStatus), 1043 reinterpret_cast<GLES2FunctionPointer>(glCheckFramebufferStatus),
1035 }, 1044 },
1036 { 1045 {
1037 "glClear", reinterpret_cast<GLES2FunctionPointer>(glClear), 1046 "glClear",
1047 reinterpret_cast<GLES2FunctionPointer>(glClear),
1038 }, 1048 },
1039 { 1049 {
1040 "glClearColor", reinterpret_cast<GLES2FunctionPointer>(glClearColor), 1050 "glClearColor",
1051 reinterpret_cast<GLES2FunctionPointer>(glClearColor),
1041 }, 1052 },
1042 { 1053 {
1043 "glClearDepthf", reinterpret_cast<GLES2FunctionPointer>(glClearDepthf), 1054 "glClearDepthf",
1055 reinterpret_cast<GLES2FunctionPointer>(glClearDepthf),
1044 }, 1056 },
1045 { 1057 {
1046 "glClearStencil", reinterpret_cast<GLES2FunctionPointer>(glClearStencil), 1058 "glClearStencil",
1059 reinterpret_cast<GLES2FunctionPointer>(glClearStencil),
1047 }, 1060 },
1048 { 1061 {
1049 "glColorMask", reinterpret_cast<GLES2FunctionPointer>(glColorMask), 1062 "glColorMask",
1063 reinterpret_cast<GLES2FunctionPointer>(glColorMask),
1050 }, 1064 },
1051 { 1065 {
1052 "glCompileShader", reinterpret_cast<GLES2FunctionPointer>(glCompileShader), 1066 "glCompileShader",
1067 reinterpret_cast<GLES2FunctionPointer>(glCompileShader),
1053 }, 1068 },
1054 { 1069 {
1055 "glCompressedTexImage2D", 1070 "glCompressedTexImage2D",
1056 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexImage2D), 1071 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexImage2D),
1057 }, 1072 },
1058 { 1073 {
1059 "glCompressedTexSubImage2D", 1074 "glCompressedTexSubImage2D",
1060 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexSubImage2D), 1075 reinterpret_cast<GLES2FunctionPointer>(glCompressedTexSubImage2D),
1061 }, 1076 },
1062 { 1077 {
1063 "glCopyTexImage2D", 1078 "glCopyTexImage2D",
1064 reinterpret_cast<GLES2FunctionPointer>(glCopyTexImage2D), 1079 reinterpret_cast<GLES2FunctionPointer>(glCopyTexImage2D),
1065 }, 1080 },
1066 { 1081 {
1067 "glCopyTexSubImage2D", 1082 "glCopyTexSubImage2D",
1068 reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage2D), 1083 reinterpret_cast<GLES2FunctionPointer>(glCopyTexSubImage2D),
1069 }, 1084 },
1070 { 1085 {
1071 "glCreateProgram", reinterpret_cast<GLES2FunctionPointer>(glCreateProgram), 1086 "glCreateProgram",
1087 reinterpret_cast<GLES2FunctionPointer>(glCreateProgram),
1072 }, 1088 },
1073 { 1089 {
1074 "glCreateShader", reinterpret_cast<GLES2FunctionPointer>(glCreateShader), 1090 "glCreateShader",
1091 reinterpret_cast<GLES2FunctionPointer>(glCreateShader),
1075 }, 1092 },
1076 { 1093 {
1077 "glCullFace", reinterpret_cast<GLES2FunctionPointer>(glCullFace), 1094 "glCullFace",
1095 reinterpret_cast<GLES2FunctionPointer>(glCullFace),
1078 }, 1096 },
1079 { 1097 {
1080 "glDeleteBuffers", reinterpret_cast<GLES2FunctionPointer>(glDeleteBuffers), 1098 "glDeleteBuffers",
1099 reinterpret_cast<GLES2FunctionPointer>(glDeleteBuffers),
1081 }, 1100 },
1082 { 1101 {
1083 "glDeleteFramebuffers", 1102 "glDeleteFramebuffers",
1084 reinterpret_cast<GLES2FunctionPointer>(glDeleteFramebuffers), 1103 reinterpret_cast<GLES2FunctionPointer>(glDeleteFramebuffers),
1085 }, 1104 },
1086 { 1105 {
1087 "glDeleteProgram", reinterpret_cast<GLES2FunctionPointer>(glDeleteProgram), 1106 "glDeleteProgram",
1107 reinterpret_cast<GLES2FunctionPointer>(glDeleteProgram),
1088 }, 1108 },
1089 { 1109 {
1090 "glDeleteRenderbuffers", 1110 "glDeleteRenderbuffers",
1091 reinterpret_cast<GLES2FunctionPointer>(glDeleteRenderbuffers), 1111 reinterpret_cast<GLES2FunctionPointer>(glDeleteRenderbuffers),
1092 }, 1112 },
1093 { 1113 {
1094 "glDeleteShader", reinterpret_cast<GLES2FunctionPointer>(glDeleteShader), 1114 "glDeleteShader",
1115 reinterpret_cast<GLES2FunctionPointer>(glDeleteShader),
1095 }, 1116 },
1096 { 1117 {
1097 "glDeleteTextures", 1118 "glDeleteTextures",
1098 reinterpret_cast<GLES2FunctionPointer>(glDeleteTextures), 1119 reinterpret_cast<GLES2FunctionPointer>(glDeleteTextures),
1099 }, 1120 },
1100 { 1121 {
1101 "glDepthFunc", reinterpret_cast<GLES2FunctionPointer>(glDepthFunc), 1122 "glDepthFunc",
1123 reinterpret_cast<GLES2FunctionPointer>(glDepthFunc),
1102 }, 1124 },
1103 { 1125 {
1104 "glDepthMask", reinterpret_cast<GLES2FunctionPointer>(glDepthMask), 1126 "glDepthMask",
1127 reinterpret_cast<GLES2FunctionPointer>(glDepthMask),
1105 }, 1128 },
1106 { 1129 {
1107 "glDepthRangef", reinterpret_cast<GLES2FunctionPointer>(glDepthRangef), 1130 "glDepthRangef",
1131 reinterpret_cast<GLES2FunctionPointer>(glDepthRangef),
1108 }, 1132 },
1109 { 1133 {
1110 "glDetachShader", reinterpret_cast<GLES2FunctionPointer>(glDetachShader), 1134 "glDetachShader",
1135 reinterpret_cast<GLES2FunctionPointer>(glDetachShader),
1111 }, 1136 },
1112 { 1137 {
1113 "glDisable", reinterpret_cast<GLES2FunctionPointer>(glDisable), 1138 "glDisable",
1139 reinterpret_cast<GLES2FunctionPointer>(glDisable),
1114 }, 1140 },
1115 { 1141 {
1116 "glDisableVertexAttribArray", 1142 "glDisableVertexAttribArray",
1117 reinterpret_cast<GLES2FunctionPointer>(glDisableVertexAttribArray), 1143 reinterpret_cast<GLES2FunctionPointer>(glDisableVertexAttribArray),
1118 }, 1144 },
1119 { 1145 {
1120 "glDrawArrays", reinterpret_cast<GLES2FunctionPointer>(glDrawArrays), 1146 "glDrawArrays",
1147 reinterpret_cast<GLES2FunctionPointer>(glDrawArrays),
1121 }, 1148 },
1122 { 1149 {
1123 "glDrawElements", reinterpret_cast<GLES2FunctionPointer>(glDrawElements), 1150 "glDrawElements",
1151 reinterpret_cast<GLES2FunctionPointer>(glDrawElements),
1124 }, 1152 },
1125 { 1153 {
1126 "glEnable", reinterpret_cast<GLES2FunctionPointer>(glEnable), 1154 "glEnable",
1155 reinterpret_cast<GLES2FunctionPointer>(glEnable),
1127 }, 1156 },
1128 { 1157 {
1129 "glEnableVertexAttribArray", 1158 "glEnableVertexAttribArray",
1130 reinterpret_cast<GLES2FunctionPointer>(glEnableVertexAttribArray), 1159 reinterpret_cast<GLES2FunctionPointer>(glEnableVertexAttribArray),
1131 }, 1160 },
1132 { 1161 {
1133 "glFinish", reinterpret_cast<GLES2FunctionPointer>(glFinish), 1162 "glFinish",
1163 reinterpret_cast<GLES2FunctionPointer>(glFinish),
1134 }, 1164 },
1135 { 1165 {
1136 "glFlush", reinterpret_cast<GLES2FunctionPointer>(glFlush), 1166 "glFlush",
1167 reinterpret_cast<GLES2FunctionPointer>(glFlush),
1137 }, 1168 },
1138 { 1169 {
1139 "glFramebufferRenderbuffer", 1170 "glFramebufferRenderbuffer",
1140 reinterpret_cast<GLES2FunctionPointer>(glFramebufferRenderbuffer), 1171 reinterpret_cast<GLES2FunctionPointer>(glFramebufferRenderbuffer),
1141 }, 1172 },
1142 { 1173 {
1143 "glFramebufferTexture2D", 1174 "glFramebufferTexture2D",
1144 reinterpret_cast<GLES2FunctionPointer>(glFramebufferTexture2D), 1175 reinterpret_cast<GLES2FunctionPointer>(glFramebufferTexture2D),
1145 }, 1176 },
1146 { 1177 {
1147 "glFrontFace", reinterpret_cast<GLES2FunctionPointer>(glFrontFace), 1178 "glFrontFace",
1179 reinterpret_cast<GLES2FunctionPointer>(glFrontFace),
1148 }, 1180 },
1149 { 1181 {
1150 "glGenBuffers", reinterpret_cast<GLES2FunctionPointer>(glGenBuffers), 1182 "glGenBuffers",
1183 reinterpret_cast<GLES2FunctionPointer>(glGenBuffers),
1151 }, 1184 },
1152 { 1185 {
1153 "glGenerateMipmap", 1186 "glGenerateMipmap",
1154 reinterpret_cast<GLES2FunctionPointer>(glGenerateMipmap), 1187 reinterpret_cast<GLES2FunctionPointer>(glGenerateMipmap),
1155 }, 1188 },
1156 { 1189 {
1157 "glGenFramebuffers", 1190 "glGenFramebuffers",
1158 reinterpret_cast<GLES2FunctionPointer>(glGenFramebuffers), 1191 reinterpret_cast<GLES2FunctionPointer>(glGenFramebuffers),
1159 }, 1192 },
1160 { 1193 {
1161 "glGenRenderbuffers", 1194 "glGenRenderbuffers",
1162 reinterpret_cast<GLES2FunctionPointer>(glGenRenderbuffers), 1195 reinterpret_cast<GLES2FunctionPointer>(glGenRenderbuffers),
1163 }, 1196 },
1164 { 1197 {
1165 "glGenTextures", reinterpret_cast<GLES2FunctionPointer>(glGenTextures), 1198 "glGenTextures",
1199 reinterpret_cast<GLES2FunctionPointer>(glGenTextures),
1166 }, 1200 },
1167 { 1201 {
1168 "glGetActiveAttrib", 1202 "glGetActiveAttrib",
1169 reinterpret_cast<GLES2FunctionPointer>(glGetActiveAttrib), 1203 reinterpret_cast<GLES2FunctionPointer>(glGetActiveAttrib),
1170 }, 1204 },
1171 { 1205 {
1172 "glGetActiveUniform", 1206 "glGetActiveUniform",
1173 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniform), 1207 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniform),
1174 }, 1208 },
1175 { 1209 {
1176 "glGetAttachedShaders", 1210 "glGetAttachedShaders",
1177 reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders), 1211 reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders),
1178 }, 1212 },
1179 { 1213 {
1180 "glGetAttribLocation", 1214 "glGetAttribLocation",
1181 reinterpret_cast<GLES2FunctionPointer>(glGetAttribLocation), 1215 reinterpret_cast<GLES2FunctionPointer>(glGetAttribLocation),
1182 }, 1216 },
1183 { 1217 {
1184 "glGetBooleanv", reinterpret_cast<GLES2FunctionPointer>(glGetBooleanv), 1218 "glGetBooleanv",
1219 reinterpret_cast<GLES2FunctionPointer>(glGetBooleanv),
1185 }, 1220 },
1186 { 1221 {
1187 "glGetBufferParameteriv", 1222 "glGetBufferParameteriv",
1188 reinterpret_cast<GLES2FunctionPointer>(glGetBufferParameteriv), 1223 reinterpret_cast<GLES2FunctionPointer>(glGetBufferParameteriv),
1189 }, 1224 },
1190 { 1225 {
1191 "glGetError", reinterpret_cast<GLES2FunctionPointer>(glGetError), 1226 "glGetError",
1227 reinterpret_cast<GLES2FunctionPointer>(glGetError),
1192 }, 1228 },
1193 { 1229 {
1194 "glGetFloatv", reinterpret_cast<GLES2FunctionPointer>(glGetFloatv), 1230 "glGetFloatv",
1231 reinterpret_cast<GLES2FunctionPointer>(glGetFloatv),
1195 }, 1232 },
1196 { 1233 {
1197 "glGetFramebufferAttachmentParameteriv", 1234 "glGetFramebufferAttachmentParameteriv",
1198 reinterpret_cast<GLES2FunctionPointer>( 1235 reinterpret_cast<GLES2FunctionPointer>(
1199 glGetFramebufferAttachmentParameteriv), 1236 glGetFramebufferAttachmentParameteriv),
1200 }, 1237 },
1201 { 1238 {
1202 "glGetIntegerv", reinterpret_cast<GLES2FunctionPointer>(glGetIntegerv), 1239 "glGetIntegerv",
1240 reinterpret_cast<GLES2FunctionPointer>(glGetIntegerv),
1203 }, 1241 },
1204 { 1242 {
1205 "glGetProgramiv", reinterpret_cast<GLES2FunctionPointer>(glGetProgramiv), 1243 "glGetProgramiv",
1244 reinterpret_cast<GLES2FunctionPointer>(glGetProgramiv),
1206 }, 1245 },
1207 { 1246 {
1208 "glGetProgramInfoLog", 1247 "glGetProgramInfoLog",
1209 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoLog), 1248 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoLog),
1210 }, 1249 },
1211 { 1250 {
1212 "glGetRenderbufferParameteriv", 1251 "glGetRenderbufferParameteriv",
1213 reinterpret_cast<GLES2FunctionPointer>(glGetRenderbufferParameteriv), 1252 reinterpret_cast<GLES2FunctionPointer>(glGetRenderbufferParameteriv),
1214 }, 1253 },
1215 { 1254 {
1216 "glGetShaderiv", reinterpret_cast<GLES2FunctionPointer>(glGetShaderiv), 1255 "glGetShaderiv",
1256 reinterpret_cast<GLES2FunctionPointer>(glGetShaderiv),
1217 }, 1257 },
1218 { 1258 {
1219 "glGetShaderInfoLog", 1259 "glGetShaderInfoLog",
1220 reinterpret_cast<GLES2FunctionPointer>(glGetShaderInfoLog), 1260 reinterpret_cast<GLES2FunctionPointer>(glGetShaderInfoLog),
1221 }, 1261 },
1222 { 1262 {
1223 "glGetShaderPrecisionFormat", 1263 "glGetShaderPrecisionFormat",
1224 reinterpret_cast<GLES2FunctionPointer>(glGetShaderPrecisionFormat), 1264 reinterpret_cast<GLES2FunctionPointer>(glGetShaderPrecisionFormat),
1225 }, 1265 },
1226 { 1266 {
1227 "glGetShaderSource", 1267 "glGetShaderSource",
1228 reinterpret_cast<GLES2FunctionPointer>(glGetShaderSource), 1268 reinterpret_cast<GLES2FunctionPointer>(glGetShaderSource),
1229 }, 1269 },
1230 { 1270 {
1231 "glGetString", reinterpret_cast<GLES2FunctionPointer>(glGetString), 1271 "glGetString",
1272 reinterpret_cast<GLES2FunctionPointer>(glGetString),
1232 }, 1273 },
1233 { 1274 {
1234 "glGetTexParameterfv", 1275 "glGetTexParameterfv",
1235 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameterfv), 1276 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameterfv),
1236 }, 1277 },
1237 { 1278 {
1238 "glGetTexParameteriv", 1279 "glGetTexParameteriv",
1239 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameteriv), 1280 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameteriv),
1240 }, 1281 },
1241 { 1282 {
1242 "glGetUniformfv", reinterpret_cast<GLES2FunctionPointer>(glGetUniformfv), 1283 "glGetUniformfv",
1284 reinterpret_cast<GLES2FunctionPointer>(glGetUniformfv),
1243 }, 1285 },
1244 { 1286 {
1245 "glGetUniformiv", reinterpret_cast<GLES2FunctionPointer>(glGetUniformiv), 1287 "glGetUniformiv",
1288 reinterpret_cast<GLES2FunctionPointer>(glGetUniformiv),
1246 }, 1289 },
1247 { 1290 {
1248 "glGetUniformLocation", 1291 "glGetUniformLocation",
1249 reinterpret_cast<GLES2FunctionPointer>(glGetUniformLocation), 1292 reinterpret_cast<GLES2FunctionPointer>(glGetUniformLocation),
1250 }, 1293 },
1251 { 1294 {
1252 "glGetVertexAttribfv", 1295 "glGetVertexAttribfv",
1253 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribfv), 1296 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribfv),
1254 }, 1297 },
1255 { 1298 {
1256 "glGetVertexAttribiv", 1299 "glGetVertexAttribiv",
1257 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribiv), 1300 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribiv),
1258 }, 1301 },
1259 { 1302 {
1260 "glGetVertexAttribPointerv", 1303 "glGetVertexAttribPointerv",
1261 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribPointerv), 1304 reinterpret_cast<GLES2FunctionPointer>(glGetVertexAttribPointerv),
1262 }, 1305 },
1263 { 1306 {
1264 "glHint", reinterpret_cast<GLES2FunctionPointer>(glHint), 1307 "glHint",
1308 reinterpret_cast<GLES2FunctionPointer>(glHint),
1265 }, 1309 },
1266 { 1310 {
1267 "glIsBuffer", reinterpret_cast<GLES2FunctionPointer>(glIsBuffer), 1311 "glIsBuffer",
1312 reinterpret_cast<GLES2FunctionPointer>(glIsBuffer),
1268 }, 1313 },
1269 { 1314 {
1270 "glIsEnabled", reinterpret_cast<GLES2FunctionPointer>(glIsEnabled), 1315 "glIsEnabled",
1316 reinterpret_cast<GLES2FunctionPointer>(glIsEnabled),
1271 }, 1317 },
1272 { 1318 {
1273 "glIsFramebuffer", reinterpret_cast<GLES2FunctionPointer>(glIsFramebuffer), 1319 "glIsFramebuffer",
1320 reinterpret_cast<GLES2FunctionPointer>(glIsFramebuffer),
1274 }, 1321 },
1275 { 1322 {
1276 "glIsProgram", reinterpret_cast<GLES2FunctionPointer>(glIsProgram), 1323 "glIsProgram",
1324 reinterpret_cast<GLES2FunctionPointer>(glIsProgram),
1277 }, 1325 },
1278 { 1326 {
1279 "glIsRenderbuffer", 1327 "glIsRenderbuffer",
1280 reinterpret_cast<GLES2FunctionPointer>(glIsRenderbuffer), 1328 reinterpret_cast<GLES2FunctionPointer>(glIsRenderbuffer),
1281 }, 1329 },
1282 { 1330 {
1283 "glIsShader", reinterpret_cast<GLES2FunctionPointer>(glIsShader), 1331 "glIsShader",
1332 reinterpret_cast<GLES2FunctionPointer>(glIsShader),
1284 }, 1333 },
1285 { 1334 {
1286 "glIsTexture", reinterpret_cast<GLES2FunctionPointer>(glIsTexture), 1335 "glIsTexture",
1336 reinterpret_cast<GLES2FunctionPointer>(glIsTexture),
1287 }, 1337 },
1288 { 1338 {
1289 "glLineWidth", reinterpret_cast<GLES2FunctionPointer>(glLineWidth), 1339 "glLineWidth",
1340 reinterpret_cast<GLES2FunctionPointer>(glLineWidth),
1290 }, 1341 },
1291 { 1342 {
1292 "glLinkProgram", reinterpret_cast<GLES2FunctionPointer>(glLinkProgram), 1343 "glLinkProgram",
1344 reinterpret_cast<GLES2FunctionPointer>(glLinkProgram),
1293 }, 1345 },
1294 { 1346 {
1295 "glPixelStorei", reinterpret_cast<GLES2FunctionPointer>(glPixelStorei), 1347 "glPixelStorei",
1348 reinterpret_cast<GLES2FunctionPointer>(glPixelStorei),
1296 }, 1349 },
1297 { 1350 {
1298 "glPolygonOffset", reinterpret_cast<GLES2FunctionPointer>(glPolygonOffset), 1351 "glPolygonOffset",
1352 reinterpret_cast<GLES2FunctionPointer>(glPolygonOffset),
1299 }, 1353 },
1300 { 1354 {
1301 "glReadPixels", reinterpret_cast<GLES2FunctionPointer>(glReadPixels), 1355 "glReadPixels",
1356 reinterpret_cast<GLES2FunctionPointer>(glReadPixels),
1302 }, 1357 },
1303 { 1358 {
1304 "glReleaseShaderCompiler", 1359 "glReleaseShaderCompiler",
1305 reinterpret_cast<GLES2FunctionPointer>(glReleaseShaderCompiler), 1360 reinterpret_cast<GLES2FunctionPointer>(glReleaseShaderCompiler),
1306 }, 1361 },
1307 { 1362 {
1308 "glRenderbufferStorage", 1363 "glRenderbufferStorage",
1309 reinterpret_cast<GLES2FunctionPointer>(glRenderbufferStorage), 1364 reinterpret_cast<GLES2FunctionPointer>(glRenderbufferStorage),
1310 }, 1365 },
1311 { 1366 {
1312 "glSampleCoverage", 1367 "glSampleCoverage",
1313 reinterpret_cast<GLES2FunctionPointer>(glSampleCoverage), 1368 reinterpret_cast<GLES2FunctionPointer>(glSampleCoverage),
1314 }, 1369 },
1315 { 1370 {
1316 "glScissor", reinterpret_cast<GLES2FunctionPointer>(glScissor), 1371 "glScissor",
1372 reinterpret_cast<GLES2FunctionPointer>(glScissor),
1317 }, 1373 },
1318 { 1374 {
1319 "glShaderBinary", reinterpret_cast<GLES2FunctionPointer>(glShaderBinary), 1375 "glShaderBinary",
1376 reinterpret_cast<GLES2FunctionPointer>(glShaderBinary),
1320 }, 1377 },
1321 { 1378 {
1322 "glShaderSource", reinterpret_cast<GLES2FunctionPointer>(glShaderSource), 1379 "glShaderSource",
1380 reinterpret_cast<GLES2FunctionPointer>(glShaderSource),
1323 }, 1381 },
1324 { 1382 {
1325 "glShallowFinishCHROMIUM", 1383 "glShallowFinishCHROMIUM",
1326 reinterpret_cast<GLES2FunctionPointer>(glShallowFinishCHROMIUM), 1384 reinterpret_cast<GLES2FunctionPointer>(glShallowFinishCHROMIUM),
1327 }, 1385 },
1328 { 1386 {
1329 "glShallowFlushCHROMIUM", 1387 "glShallowFlushCHROMIUM",
1330 reinterpret_cast<GLES2FunctionPointer>(glShallowFlushCHROMIUM), 1388 reinterpret_cast<GLES2FunctionPointer>(glShallowFlushCHROMIUM),
1331 }, 1389 },
1332 { 1390 {
1333 "glStencilFunc", reinterpret_cast<GLES2FunctionPointer>(glStencilFunc), 1391 "glStencilFunc",
1392 reinterpret_cast<GLES2FunctionPointer>(glStencilFunc),
1334 }, 1393 },
1335 { 1394 {
1336 "glStencilFuncSeparate", 1395 "glStencilFuncSeparate",
1337 reinterpret_cast<GLES2FunctionPointer>(glStencilFuncSeparate), 1396 reinterpret_cast<GLES2FunctionPointer>(glStencilFuncSeparate),
1338 }, 1397 },
1339 { 1398 {
1340 "glStencilMask", reinterpret_cast<GLES2FunctionPointer>(glStencilMask), 1399 "glStencilMask",
1400 reinterpret_cast<GLES2FunctionPointer>(glStencilMask),
1341 }, 1401 },
1342 { 1402 {
1343 "glStencilMaskSeparate", 1403 "glStencilMaskSeparate",
1344 reinterpret_cast<GLES2FunctionPointer>(glStencilMaskSeparate), 1404 reinterpret_cast<GLES2FunctionPointer>(glStencilMaskSeparate),
1345 }, 1405 },
1346 { 1406 {
1347 "glStencilOp", reinterpret_cast<GLES2FunctionPointer>(glStencilOp), 1407 "glStencilOp",
1408 reinterpret_cast<GLES2FunctionPointer>(glStencilOp),
1348 }, 1409 },
1349 { 1410 {
1350 "glStencilOpSeparate", 1411 "glStencilOpSeparate",
1351 reinterpret_cast<GLES2FunctionPointer>(glStencilOpSeparate), 1412 reinterpret_cast<GLES2FunctionPointer>(glStencilOpSeparate),
1352 }, 1413 },
1353 { 1414 {
1354 "glTexImage2D", reinterpret_cast<GLES2FunctionPointer>(glTexImage2D), 1415 "glTexImage2D",
1416 reinterpret_cast<GLES2FunctionPointer>(glTexImage2D),
1355 }, 1417 },
1356 { 1418 {
1357 "glTexParameterf", reinterpret_cast<GLES2FunctionPointer>(glTexParameterf), 1419 "glTexParameterf",
1420 reinterpret_cast<GLES2FunctionPointer>(glTexParameterf),
1358 }, 1421 },
1359 { 1422 {
1360 "glTexParameterfv", 1423 "glTexParameterfv",
1361 reinterpret_cast<GLES2FunctionPointer>(glTexParameterfv), 1424 reinterpret_cast<GLES2FunctionPointer>(glTexParameterfv),
1362 }, 1425 },
1363 { 1426 {
1364 "glTexParameteri", reinterpret_cast<GLES2FunctionPointer>(glTexParameteri), 1427 "glTexParameteri",
1428 reinterpret_cast<GLES2FunctionPointer>(glTexParameteri),
1365 }, 1429 },
1366 { 1430 {
1367 "glTexParameteriv", 1431 "glTexParameteriv",
1368 reinterpret_cast<GLES2FunctionPointer>(glTexParameteriv), 1432 reinterpret_cast<GLES2FunctionPointer>(glTexParameteriv),
1369 }, 1433 },
1370 { 1434 {
1371 "glTexSubImage2D", reinterpret_cast<GLES2FunctionPointer>(glTexSubImage2D), 1435 "glTexSubImage2D",
1436 reinterpret_cast<GLES2FunctionPointer>(glTexSubImage2D),
1372 }, 1437 },
1373 { 1438 {
1374 "glUniform1f", reinterpret_cast<GLES2FunctionPointer>(glUniform1f), 1439 "glUniform1f",
1440 reinterpret_cast<GLES2FunctionPointer>(glUniform1f),
1375 }, 1441 },
1376 { 1442 {
1377 "glUniform1fv", reinterpret_cast<GLES2FunctionPointer>(glUniform1fv), 1443 "glUniform1fv",
1444 reinterpret_cast<GLES2FunctionPointer>(glUniform1fv),
1378 }, 1445 },
1379 { 1446 {
1380 "glUniform1i", reinterpret_cast<GLES2FunctionPointer>(glUniform1i), 1447 "glUniform1i",
1448 reinterpret_cast<GLES2FunctionPointer>(glUniform1i),
1381 }, 1449 },
1382 { 1450 {
1383 "glUniform1iv", reinterpret_cast<GLES2FunctionPointer>(glUniform1iv), 1451 "glUniform1iv",
1452 reinterpret_cast<GLES2FunctionPointer>(glUniform1iv),
1384 }, 1453 },
1385 { 1454 {
1386 "glUniform2f", reinterpret_cast<GLES2FunctionPointer>(glUniform2f), 1455 "glUniform2f",
1456 reinterpret_cast<GLES2FunctionPointer>(glUniform2f),
1387 }, 1457 },
1388 { 1458 {
1389 "glUniform2fv", reinterpret_cast<GLES2FunctionPointer>(glUniform2fv), 1459 "glUniform2fv",
1460 reinterpret_cast<GLES2FunctionPointer>(glUniform2fv),
1390 }, 1461 },
1391 { 1462 {
1392 "glUniform2i", reinterpret_cast<GLES2FunctionPointer>(glUniform2i), 1463 "glUniform2i",
1464 reinterpret_cast<GLES2FunctionPointer>(glUniform2i),
1393 }, 1465 },
1394 { 1466 {
1395 "glUniform2iv", reinterpret_cast<GLES2FunctionPointer>(glUniform2iv), 1467 "glUniform2iv",
1468 reinterpret_cast<GLES2FunctionPointer>(glUniform2iv),
1396 }, 1469 },
1397 { 1470 {
1398 "glUniform3f", reinterpret_cast<GLES2FunctionPointer>(glUniform3f), 1471 "glUniform3f",
1472 reinterpret_cast<GLES2FunctionPointer>(glUniform3f),
1399 }, 1473 },
1400 { 1474 {
1401 "glUniform3fv", reinterpret_cast<GLES2FunctionPointer>(glUniform3fv), 1475 "glUniform3fv",
1476 reinterpret_cast<GLES2FunctionPointer>(glUniform3fv),
1402 }, 1477 },
1403 { 1478 {
1404 "glUniform3i", reinterpret_cast<GLES2FunctionPointer>(glUniform3i), 1479 "glUniform3i",
1480 reinterpret_cast<GLES2FunctionPointer>(glUniform3i),
1405 }, 1481 },
1406 { 1482 {
1407 "glUniform3iv", reinterpret_cast<GLES2FunctionPointer>(glUniform3iv), 1483 "glUniform3iv",
1484 reinterpret_cast<GLES2FunctionPointer>(glUniform3iv),
1408 }, 1485 },
1409 { 1486 {
1410 "glUniform4f", reinterpret_cast<GLES2FunctionPointer>(glUniform4f), 1487 "glUniform4f",
1488 reinterpret_cast<GLES2FunctionPointer>(glUniform4f),
1411 }, 1489 },
1412 { 1490 {
1413 "glUniform4fv", reinterpret_cast<GLES2FunctionPointer>(glUniform4fv), 1491 "glUniform4fv",
1492 reinterpret_cast<GLES2FunctionPointer>(glUniform4fv),
1414 }, 1493 },
1415 { 1494 {
1416 "glUniform4i", reinterpret_cast<GLES2FunctionPointer>(glUniform4i), 1495 "glUniform4i",
1496 reinterpret_cast<GLES2FunctionPointer>(glUniform4i),
1417 }, 1497 },
1418 { 1498 {
1419 "glUniform4iv", reinterpret_cast<GLES2FunctionPointer>(glUniform4iv), 1499 "glUniform4iv",
1500 reinterpret_cast<GLES2FunctionPointer>(glUniform4iv),
1420 }, 1501 },
1421 { 1502 {
1422 "glUniformMatrix2fv", 1503 "glUniformMatrix2fv",
1423 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2fv), 1504 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix2fv),
1424 }, 1505 },
1425 { 1506 {
1426 "glUniformMatrix3fv", 1507 "glUniformMatrix3fv",
1427 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3fv), 1508 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix3fv),
1428 }, 1509 },
1429 { 1510 {
1430 "glUniformMatrix4fv", 1511 "glUniformMatrix4fv",
1431 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4fv), 1512 reinterpret_cast<GLES2FunctionPointer>(glUniformMatrix4fv),
1432 }, 1513 },
1433 { 1514 {
1434 "glUseProgram", reinterpret_cast<GLES2FunctionPointer>(glUseProgram), 1515 "glUseProgram",
1516 reinterpret_cast<GLES2FunctionPointer>(glUseProgram),
1435 }, 1517 },
1436 { 1518 {
1437 "glValidateProgram", 1519 "glValidateProgram",
1438 reinterpret_cast<GLES2FunctionPointer>(glValidateProgram), 1520 reinterpret_cast<GLES2FunctionPointer>(glValidateProgram),
1439 }, 1521 },
1440 { 1522 {
1441 "glVertexAttrib1f", 1523 "glVertexAttrib1f",
1442 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1f), 1524 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib1f),
1443 }, 1525 },
1444 { 1526 {
(...skipping 22 matching lines...) Expand all
1467 }, 1549 },
1468 { 1550 {
1469 "glVertexAttrib4fv", 1551 "glVertexAttrib4fv",
1470 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4fv), 1552 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4fv),
1471 }, 1553 },
1472 { 1554 {
1473 "glVertexAttribPointer", 1555 "glVertexAttribPointer",
1474 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribPointer), 1556 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribPointer),
1475 }, 1557 },
1476 { 1558 {
1477 "glViewport", reinterpret_cast<GLES2FunctionPointer>(glViewport), 1559 "glViewport",
1560 reinterpret_cast<GLES2FunctionPointer>(glViewport),
1478 }, 1561 },
1479 { 1562 {
1480 "glBlitFramebufferCHROMIUM", 1563 "glBlitFramebufferCHROMIUM",
1481 reinterpret_cast<GLES2FunctionPointer>(glBlitFramebufferCHROMIUM), 1564 reinterpret_cast<GLES2FunctionPointer>(glBlitFramebufferCHROMIUM),
1482 }, 1565 },
1483 { 1566 {
1484 "glRenderbufferStorageMultisampleCHROMIUM", 1567 "glRenderbufferStorageMultisampleCHROMIUM",
1485 reinterpret_cast<GLES2FunctionPointer>( 1568 reinterpret_cast<GLES2FunctionPointer>(
1486 glRenderbufferStorageMultisampleCHROMIUM), 1569 glRenderbufferStorageMultisampleCHROMIUM),
1487 }, 1570 },
1488 { 1571 {
1489 "glRenderbufferStorageMultisampleEXT", 1572 "glRenderbufferStorageMultisampleEXT",
1490 reinterpret_cast<GLES2FunctionPointer>( 1573 reinterpret_cast<GLES2FunctionPointer>(
1491 glRenderbufferStorageMultisampleEXT), 1574 glRenderbufferStorageMultisampleEXT),
1492 }, 1575 },
1493 { 1576 {
1494 "glFramebufferTexture2DMultisampleEXT", 1577 "glFramebufferTexture2DMultisampleEXT",
1495 reinterpret_cast<GLES2FunctionPointer>( 1578 reinterpret_cast<GLES2FunctionPointer>(
1496 glFramebufferTexture2DMultisampleEXT), 1579 glFramebufferTexture2DMultisampleEXT),
1497 }, 1580 },
1498 { 1581 {
1499 "glTexStorage2DEXT", 1582 "glTexStorage2DEXT",
1500 reinterpret_cast<GLES2FunctionPointer>(glTexStorage2DEXT), 1583 reinterpret_cast<GLES2FunctionPointer>(glTexStorage2DEXT),
1501 }, 1584 },
1502 { 1585 {
1503 "glGenQueriesEXT", reinterpret_cast<GLES2FunctionPointer>(glGenQueriesEXT), 1586 "glGenQueriesEXT",
1587 reinterpret_cast<GLES2FunctionPointer>(glGenQueriesEXT),
1504 }, 1588 },
1505 { 1589 {
1506 "glDeleteQueriesEXT", 1590 "glDeleteQueriesEXT",
1507 reinterpret_cast<GLES2FunctionPointer>(glDeleteQueriesEXT), 1591 reinterpret_cast<GLES2FunctionPointer>(glDeleteQueriesEXT),
1508 }, 1592 },
1509 { 1593 {
1510 "glIsQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glIsQueryEXT), 1594 "glIsQueryEXT",
1595 reinterpret_cast<GLES2FunctionPointer>(glIsQueryEXT),
1511 }, 1596 },
1512 { 1597 {
1513 "glBeginQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glBeginQueryEXT), 1598 "glBeginQueryEXT",
1599 reinterpret_cast<GLES2FunctionPointer>(glBeginQueryEXT),
1514 }, 1600 },
1515 { 1601 {
1516 "glEndQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glEndQueryEXT), 1602 "glEndQueryEXT",
1603 reinterpret_cast<GLES2FunctionPointer>(glEndQueryEXT),
1517 }, 1604 },
1518 { 1605 {
1519 "glGetQueryivEXT", reinterpret_cast<GLES2FunctionPointer>(glGetQueryivEXT), 1606 "glGetQueryivEXT",
1607 reinterpret_cast<GLES2FunctionPointer>(glGetQueryivEXT),
1520 }, 1608 },
1521 { 1609 {
1522 "glGetQueryObjectuivEXT", 1610 "glGetQueryObjectuivEXT",
1523 reinterpret_cast<GLES2FunctionPointer>(glGetQueryObjectuivEXT), 1611 reinterpret_cast<GLES2FunctionPointer>(glGetQueryObjectuivEXT),
1524 }, 1612 },
1525 { 1613 {
1526 "glInsertEventMarkerEXT", 1614 "glInsertEventMarkerEXT",
1527 reinterpret_cast<GLES2FunctionPointer>(glInsertEventMarkerEXT), 1615 reinterpret_cast<GLES2FunctionPointer>(glInsertEventMarkerEXT),
1528 }, 1616 },
1529 { 1617 {
(...skipping 14 matching lines...) Expand all
1544 }, 1632 },
1545 { 1633 {
1546 "glIsVertexArrayOES", 1634 "glIsVertexArrayOES",
1547 reinterpret_cast<GLES2FunctionPointer>(glIsVertexArrayOES), 1635 reinterpret_cast<GLES2FunctionPointer>(glIsVertexArrayOES),
1548 }, 1636 },
1549 { 1637 {
1550 "glBindVertexArrayOES", 1638 "glBindVertexArrayOES",
1551 reinterpret_cast<GLES2FunctionPointer>(glBindVertexArrayOES), 1639 reinterpret_cast<GLES2FunctionPointer>(glBindVertexArrayOES),
1552 }, 1640 },
1553 { 1641 {
1554 "glSwapBuffers", reinterpret_cast<GLES2FunctionPointer>(glSwapBuffers), 1642 "glSwapBuffers",
1643 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffers),
1555 }, 1644 },
1556 { 1645 {
1557 "glGetMaxValueInBufferCHROMIUM", 1646 "glGetMaxValueInBufferCHROMIUM",
1558 reinterpret_cast<GLES2FunctionPointer>(glGetMaxValueInBufferCHROMIUM), 1647 reinterpret_cast<GLES2FunctionPointer>(glGetMaxValueInBufferCHROMIUM),
1559 }, 1648 },
1560 { 1649 {
1561 "glGenSharedIdsCHROMIUM", 1650 "glGenSharedIdsCHROMIUM",
1562 reinterpret_cast<GLES2FunctionPointer>(glGenSharedIdsCHROMIUM), 1651 reinterpret_cast<GLES2FunctionPointer>(glGenSharedIdsCHROMIUM),
1563 }, 1652 },
1564 { 1653 {
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
1760 }, 1849 },
1761 { 1850 {
1762 "glMatrixLoadfCHROMIUM", 1851 "glMatrixLoadfCHROMIUM",
1763 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), 1852 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM),
1764 }, 1853 },
1765 { 1854 {
1766 "glMatrixLoadIdentityCHROMIUM", 1855 "glMatrixLoadIdentityCHROMIUM",
1767 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), 1856 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM),
1768 }, 1857 },
1769 { 1858 {
1770 NULL, NULL, 1859 NULL,
1860 NULL,
1771 }, 1861 },
1772 }; 1862 };
1773 1863
1774 } // namespace gles2 1864 } // namespace gles2
1775 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 1865 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698