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

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

Issue 189373003: Get rid of the formatting code in build_gles2_cmd_buffer.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 989 matching lines...) Expand 10 before | Expand all | Expand 10 after
1000 reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders), }, 1000 reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders), },
1001 {"glGetAttribLocation", 1001 {"glGetAttribLocation",
1002 reinterpret_cast<GLES2FunctionPointer>(glGetAttribLocation), }, 1002 reinterpret_cast<GLES2FunctionPointer>(glGetAttribLocation), },
1003 {"glGetBooleanv", reinterpret_cast<GLES2FunctionPointer>(glGetBooleanv), }, 1003 {"glGetBooleanv", reinterpret_cast<GLES2FunctionPointer>(glGetBooleanv), },
1004 {"glGetBufferParameteriv", 1004 {"glGetBufferParameteriv",
1005 reinterpret_cast<GLES2FunctionPointer>(glGetBufferParameteriv), }, 1005 reinterpret_cast<GLES2FunctionPointer>(glGetBufferParameteriv), },
1006 {"glGetError", reinterpret_cast<GLES2FunctionPointer>(glGetError), }, 1006 {"glGetError", reinterpret_cast<GLES2FunctionPointer>(glGetError), },
1007 {"glGetFloatv", reinterpret_cast<GLES2FunctionPointer>(glGetFloatv), }, 1007 {"glGetFloatv", reinterpret_cast<GLES2FunctionPointer>(glGetFloatv), },
1008 {"glGetFramebufferAttachmentParameteriv", 1008 {"glGetFramebufferAttachmentParameteriv",
1009 reinterpret_cast<GLES2FunctionPointer>( 1009 reinterpret_cast<GLES2FunctionPointer>(
1010 glGetFramebufferAttachmentParameteriv), }, // NOLINT 1010 glGetFramebufferAttachmentParameteriv), },
1011 {"glGetIntegerv", reinterpret_cast<GLES2FunctionPointer>(glGetIntegerv), }, 1011 {"glGetIntegerv", reinterpret_cast<GLES2FunctionPointer>(glGetIntegerv), },
1012 {"glGetProgramiv", 1012 {"glGetProgramiv",
1013 reinterpret_cast<GLES2FunctionPointer>(glGetProgramiv), }, 1013 reinterpret_cast<GLES2FunctionPointer>(glGetProgramiv), },
1014 {"glGetProgramInfoLog", 1014 {"glGetProgramInfoLog",
1015 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoLog), }, 1015 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoLog), },
1016 {"glGetRenderbufferParameteriv", 1016 {"glGetRenderbufferParameteriv",
1017 reinterpret_cast<GLES2FunctionPointer>(glGetRenderbufferParameteriv), }, 1017 reinterpret_cast<GLES2FunctionPointer>(glGetRenderbufferParameteriv), },
1018 {"glGetShaderiv", reinterpret_cast<GLES2FunctionPointer>(glGetShaderiv), }, 1018 {"glGetShaderiv", reinterpret_cast<GLES2FunctionPointer>(glGetShaderiv), },
1019 {"glGetShaderInfoLog", 1019 {"glGetShaderInfoLog",
1020 reinterpret_cast<GLES2FunctionPointer>(glGetShaderInfoLog), }, 1020 reinterpret_cast<GLES2FunctionPointer>(glGetShaderInfoLog), },
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
1131 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4f), }, 1131 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4f), },
1132 {"glVertexAttrib4fv", 1132 {"glVertexAttrib4fv",
1133 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4fv), }, 1133 reinterpret_cast<GLES2FunctionPointer>(glVertexAttrib4fv), },
1134 {"glVertexAttribPointer", 1134 {"glVertexAttribPointer",
1135 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribPointer), }, 1135 reinterpret_cast<GLES2FunctionPointer>(glVertexAttribPointer), },
1136 {"glViewport", reinterpret_cast<GLES2FunctionPointer>(glViewport), }, 1136 {"glViewport", reinterpret_cast<GLES2FunctionPointer>(glViewport), },
1137 {"glBlitFramebufferCHROMIUM", 1137 {"glBlitFramebufferCHROMIUM",
1138 reinterpret_cast<GLES2FunctionPointer>(glBlitFramebufferCHROMIUM), }, 1138 reinterpret_cast<GLES2FunctionPointer>(glBlitFramebufferCHROMIUM), },
1139 {"glRenderbufferStorageMultisampleCHROMIUM", 1139 {"glRenderbufferStorageMultisampleCHROMIUM",
1140 reinterpret_cast<GLES2FunctionPointer>( 1140 reinterpret_cast<GLES2FunctionPointer>(
1141 glRenderbufferStorageMultisampleCHROMIUM), }, // NOLINT 1141 glRenderbufferStorageMultisampleCHROMIUM), },
1142 {"glRenderbufferStorageMultisampleEXT", 1142 {"glRenderbufferStorageMultisampleEXT",
1143 reinterpret_cast<GLES2FunctionPointer>( 1143 reinterpret_cast<GLES2FunctionPointer>(
1144 glRenderbufferStorageMultisampleEXT), }, // NOLINT 1144 glRenderbufferStorageMultisampleEXT), },
1145 {"glFramebufferTexture2DMultisampleEXT", 1145 {"glFramebufferTexture2DMultisampleEXT",
1146 reinterpret_cast<GLES2FunctionPointer>( 1146 reinterpret_cast<GLES2FunctionPointer>(
1147 glFramebufferTexture2DMultisampleEXT), }, // NOLINT 1147 glFramebufferTexture2DMultisampleEXT), },
1148 {"glTexStorage2DEXT", 1148 {"glTexStorage2DEXT",
1149 reinterpret_cast<GLES2FunctionPointer>(glTexStorage2DEXT), }, 1149 reinterpret_cast<GLES2FunctionPointer>(glTexStorage2DEXT), },
1150 {"glGenQueriesEXT", 1150 {"glGenQueriesEXT",
1151 reinterpret_cast<GLES2FunctionPointer>(glGenQueriesEXT), }, 1151 reinterpret_cast<GLES2FunctionPointer>(glGenQueriesEXT), },
1152 {"glDeleteQueriesEXT", 1152 {"glDeleteQueriesEXT",
1153 reinterpret_cast<GLES2FunctionPointer>(glDeleteQueriesEXT), }, 1153 reinterpret_cast<GLES2FunctionPointer>(glDeleteQueriesEXT), },
1154 {"glIsQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glIsQueryEXT), }, 1154 {"glIsQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glIsQueryEXT), },
1155 {"glBeginQueryEXT", 1155 {"glBeginQueryEXT",
1156 reinterpret_cast<GLES2FunctionPointer>(glBeginQueryEXT), }, 1156 reinterpret_cast<GLES2FunctionPointer>(glBeginQueryEXT), },
1157 {"glEndQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glEndQueryEXT), }, 1157 {"glEndQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glEndQueryEXT), },
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
1197 {"glUnmapBufferSubDataCHROMIUM", 1197 {"glUnmapBufferSubDataCHROMIUM",
1198 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferSubDataCHROMIUM), }, 1198 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferSubDataCHROMIUM), },
1199 {"glMapTexSubImage2DCHROMIUM", 1199 {"glMapTexSubImage2DCHROMIUM",
1200 reinterpret_cast<GLES2FunctionPointer>(glMapTexSubImage2DCHROMIUM), }, 1200 reinterpret_cast<GLES2FunctionPointer>(glMapTexSubImage2DCHROMIUM), },
1201 {"glUnmapTexSubImage2DCHROMIUM", 1201 {"glUnmapTexSubImage2DCHROMIUM",
1202 reinterpret_cast<GLES2FunctionPointer>(glUnmapTexSubImage2DCHROMIUM), }, 1202 reinterpret_cast<GLES2FunctionPointer>(glUnmapTexSubImage2DCHROMIUM), },
1203 {"glResizeCHROMIUM", 1203 {"glResizeCHROMIUM",
1204 reinterpret_cast<GLES2FunctionPointer>(glResizeCHROMIUM), }, 1204 reinterpret_cast<GLES2FunctionPointer>(glResizeCHROMIUM), },
1205 {"glGetRequestableExtensionsCHROMIUM", 1205 {"glGetRequestableExtensionsCHROMIUM",
1206 reinterpret_cast<GLES2FunctionPointer>( 1206 reinterpret_cast<GLES2FunctionPointer>(
1207 glGetRequestableExtensionsCHROMIUM), }, // NOLINT 1207 glGetRequestableExtensionsCHROMIUM), },
1208 {"glRequestExtensionCHROMIUM", 1208 {"glRequestExtensionCHROMIUM",
1209 reinterpret_cast<GLES2FunctionPointer>(glRequestExtensionCHROMIUM), }, 1209 reinterpret_cast<GLES2FunctionPointer>(glRequestExtensionCHROMIUM), },
1210 {"glRateLimitOffscreenContextCHROMIUM", 1210 {"glRateLimitOffscreenContextCHROMIUM",
1211 reinterpret_cast<GLES2FunctionPointer>( 1211 reinterpret_cast<GLES2FunctionPointer>(
1212 glRateLimitOffscreenContextCHROMIUM), }, // NOLINT 1212 glRateLimitOffscreenContextCHROMIUM), },
1213 {"glGetMultipleIntegervCHROMIUM", 1213 {"glGetMultipleIntegervCHROMIUM",
1214 reinterpret_cast<GLES2FunctionPointer>(glGetMultipleIntegervCHROMIUM), }, 1214 reinterpret_cast<GLES2FunctionPointer>(glGetMultipleIntegervCHROMIUM), },
1215 {"glGetProgramInfoCHROMIUM", 1215 {"glGetProgramInfoCHROMIUM",
1216 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoCHROMIUM), }, 1216 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoCHROMIUM), },
1217 {"glCreateStreamTextureCHROMIUM", 1217 {"glCreateStreamTextureCHROMIUM",
1218 reinterpret_cast<GLES2FunctionPointer>(glCreateStreamTextureCHROMIUM), }, 1218 reinterpret_cast<GLES2FunctionPointer>(glCreateStreamTextureCHROMIUM), },
1219 {"glCreateImageCHROMIUM", 1219 {"glCreateImageCHROMIUM",
1220 reinterpret_cast<GLES2FunctionPointer>(glCreateImageCHROMIUM), }, 1220 reinterpret_cast<GLES2FunctionPointer>(glCreateImageCHROMIUM), },
1221 {"glDestroyImageCHROMIUM", 1221 {"glDestroyImageCHROMIUM",
1222 reinterpret_cast<GLES2FunctionPointer>(glDestroyImageCHROMIUM), }, 1222 reinterpret_cast<GLES2FunctionPointer>(glDestroyImageCHROMIUM), },
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
1268 {"glWaitSyncPointCHROMIUM", 1268 {"glWaitSyncPointCHROMIUM",
1269 reinterpret_cast<GLES2FunctionPointer>(glWaitSyncPointCHROMIUM), }, 1269 reinterpret_cast<GLES2FunctionPointer>(glWaitSyncPointCHROMIUM), },
1270 {"glDrawBuffersEXT", 1270 {"glDrawBuffersEXT",
1271 reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT), }, 1271 reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT), },
1272 {"glDiscardBackbufferCHROMIUM", 1272 {"glDiscardBackbufferCHROMIUM",
1273 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), }, 1273 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), },
1274 {NULL, NULL, }, }; 1274 {NULL, NULL, }, };
1275 1275
1276 } // namespace gles2 1276 } // namespace gles2
1277 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 1277 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698