OLD | NEW |
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 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
874 width, | 874 width, |
875 height, | 875 height, |
876 border, | 876 border, |
877 format, | 877 format, |
878 type, | 878 type, |
879 pixels); | 879 pixels); |
880 } | 880 } |
881 void GLES2WaitAsyncTexImage2DCHROMIUM(GLenum target) { | 881 void GLES2WaitAsyncTexImage2DCHROMIUM(GLenum target) { |
882 gles2::GetGLContext()->WaitAsyncTexImage2DCHROMIUM(target); | 882 gles2::GetGLContext()->WaitAsyncTexImage2DCHROMIUM(target); |
883 } | 883 } |
884 void GLES2WaitAllAsyncTexImage2DCHROMIUM() { | |
885 gles2::GetGLContext()->WaitAllAsyncTexImage2DCHROMIUM(); | |
886 } | |
887 void GLES2DiscardFramebufferEXT(GLenum target, | 884 void GLES2DiscardFramebufferEXT(GLenum target, |
888 GLsizei count, | 885 GLsizei count, |
889 const GLenum* attachments) { | 886 const GLenum* attachments) { |
890 gles2::GetGLContext()->DiscardFramebufferEXT(target, count, attachments); | 887 gles2::GetGLContext()->DiscardFramebufferEXT(target, count, attachments); |
891 } | 888 } |
892 void GLES2LoseContextCHROMIUM(GLenum current, GLenum other) { | 889 void GLES2LoseContextCHROMIUM(GLenum current, GLenum other) { |
893 gles2::GetGLContext()->LoseContextCHROMIUM(current, other); | 890 gles2::GetGLContext()->LoseContextCHROMIUM(current, other); |
894 } | 891 } |
895 GLuint GLES2InsertSyncPointCHROMIUM() { | 892 GLuint GLES2InsertSyncPointCHROMIUM() { |
896 return gles2::GetGLContext()->InsertSyncPointCHROMIUM(); | 893 return gles2::GetGLContext()->InsertSyncPointCHROMIUM(); |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1255 {"glTraceBeginCHROMIUM", | 1252 {"glTraceBeginCHROMIUM", |
1256 reinterpret_cast<GLES2FunctionPointer>(glTraceBeginCHROMIUM), }, | 1253 reinterpret_cast<GLES2FunctionPointer>(glTraceBeginCHROMIUM), }, |
1257 {"glTraceEndCHROMIUM", | 1254 {"glTraceEndCHROMIUM", |
1258 reinterpret_cast<GLES2FunctionPointer>(glTraceEndCHROMIUM), }, | 1255 reinterpret_cast<GLES2FunctionPointer>(glTraceEndCHROMIUM), }, |
1259 {"glAsyncTexSubImage2DCHROMIUM", | 1256 {"glAsyncTexSubImage2DCHROMIUM", |
1260 reinterpret_cast<GLES2FunctionPointer>(glAsyncTexSubImage2DCHROMIUM), }, | 1257 reinterpret_cast<GLES2FunctionPointer>(glAsyncTexSubImage2DCHROMIUM), }, |
1261 {"glAsyncTexImage2DCHROMIUM", | 1258 {"glAsyncTexImage2DCHROMIUM", |
1262 reinterpret_cast<GLES2FunctionPointer>(glAsyncTexImage2DCHROMIUM), }, | 1259 reinterpret_cast<GLES2FunctionPointer>(glAsyncTexImage2DCHROMIUM), }, |
1263 {"glWaitAsyncTexImage2DCHROMIUM", | 1260 {"glWaitAsyncTexImage2DCHROMIUM", |
1264 reinterpret_cast<GLES2FunctionPointer>(glWaitAsyncTexImage2DCHROMIUM), }, | 1261 reinterpret_cast<GLES2FunctionPointer>(glWaitAsyncTexImage2DCHROMIUM), }, |
1265 {"glWaitAllAsyncTexImage2DCHROMIUM", | |
1266 reinterpret_cast<GLES2FunctionPointer>( | |
1267 glWaitAllAsyncTexImage2DCHROMIUM), }, | |
1268 {"glDiscardFramebufferEXT", | 1262 {"glDiscardFramebufferEXT", |
1269 reinterpret_cast<GLES2FunctionPointer>(glDiscardFramebufferEXT), }, | 1263 reinterpret_cast<GLES2FunctionPointer>(glDiscardFramebufferEXT), }, |
1270 {"glLoseContextCHROMIUM", | 1264 {"glLoseContextCHROMIUM", |
1271 reinterpret_cast<GLES2FunctionPointer>(glLoseContextCHROMIUM), }, | 1265 reinterpret_cast<GLES2FunctionPointer>(glLoseContextCHROMIUM), }, |
1272 {"glInsertSyncPointCHROMIUM", | 1266 {"glInsertSyncPointCHROMIUM", |
1273 reinterpret_cast<GLES2FunctionPointer>(glInsertSyncPointCHROMIUM), }, | 1267 reinterpret_cast<GLES2FunctionPointer>(glInsertSyncPointCHROMIUM), }, |
1274 {"glWaitSyncPointCHROMIUM", | 1268 {"glWaitSyncPointCHROMIUM", |
1275 reinterpret_cast<GLES2FunctionPointer>(glWaitSyncPointCHROMIUM), }, | 1269 reinterpret_cast<GLES2FunctionPointer>(glWaitSyncPointCHROMIUM), }, |
1276 {"glDrawBuffersEXT", | 1270 {"glDrawBuffersEXT", |
1277 reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT), }, | 1271 reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT), }, |
1278 {"glDiscardBackbufferCHROMIUM", | 1272 {"glDiscardBackbufferCHROMIUM", |
1279 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), }, | 1273 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), }, |
1280 {NULL, NULL, }, }; | 1274 {NULL, NULL, }, }; |
1281 | 1275 |
1282 } // namespace gles2 | 1276 } // namespace gles2 |
1283 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 1277 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |