OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // DO NOT EDIT! | 7 // DO NOT EDIT! |
8 | 8 |
9 // These functions emulate GLES2 over command buffers. | 9 // These functions emulate GLES2 over command buffers. |
10 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 10 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
711 target, level, internalformat, width, height, border, format, type, | 711 target, level, internalformat, width, height, border, format, type, |
712 pixels); | 712 pixels); |
713 } | 713 } |
714 void GLES2DiscardFramebufferEXT( | 714 void GLES2DiscardFramebufferEXT( |
715 GLenum target, GLsizei count, const GLenum* attachments) { | 715 GLenum target, GLsizei count, const GLenum* attachments) { |
716 gles2::GetGLContext()->DiscardFramebufferEXT(target, count, attachments); | 716 gles2::GetGLContext()->DiscardFramebufferEXT(target, count, attachments); |
717 } | 717 } |
718 void GLES2LoseContextCHROMIUM(GLenum current, GLenum other) { | 718 void GLES2LoseContextCHROMIUM(GLenum current, GLenum other) { |
719 gles2::GetGLContext()->LoseContextCHROMIUM(current, other); | 719 gles2::GetGLContext()->LoseContextCHROMIUM(current, other); |
720 } | 720 } |
| 721 void GLES2WaitSyncPointCHROMIUM(GLuint sync_point) { |
| 722 gles2::GetGLContext()->WaitSyncPointCHROMIUM(sync_point); |
| 723 } |
721 | 724 |
722 namespace gles2 { | 725 namespace gles2 { |
723 | 726 |
724 NameToFunc g_gles2_function_table[] = { | 727 NameToFunc g_gles2_function_table[] = { |
725 { "glActiveTexture", reinterpret_cast<GLES2FunctionPointer>( | 728 { "glActiveTexture", reinterpret_cast<GLES2FunctionPointer>( |
726 glActiveTexture), }, | 729 glActiveTexture), }, |
727 { "glAttachShader", reinterpret_cast<GLES2FunctionPointer>( | 730 { "glAttachShader", reinterpret_cast<GLES2FunctionPointer>( |
728 glAttachShader), }, | 731 glAttachShader), }, |
729 { "glBindAttribLocation", reinterpret_cast<GLES2FunctionPointer>( | 732 { "glBindAttribLocation", reinterpret_cast<GLES2FunctionPointer>( |
730 glBindAttribLocation), }, | 733 glBindAttribLocation), }, |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1046 { "glTraceEndCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1049 { "glTraceEndCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
1047 glTraceEndCHROMIUM), }, | 1050 glTraceEndCHROMIUM), }, |
1048 { "glAsyncTexSubImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1051 { "glAsyncTexSubImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
1049 glAsyncTexSubImage2DCHROMIUM), }, | 1052 glAsyncTexSubImage2DCHROMIUM), }, |
1050 { "glAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1053 { "glAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
1051 glAsyncTexImage2DCHROMIUM), }, | 1054 glAsyncTexImage2DCHROMIUM), }, |
1052 { "glDiscardFramebufferEXT", reinterpret_cast<GLES2FunctionPointer>( | 1055 { "glDiscardFramebufferEXT", reinterpret_cast<GLES2FunctionPointer>( |
1053 glDiscardFramebufferEXT), }, | 1056 glDiscardFramebufferEXT), }, |
1054 { "glLoseContextCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1057 { "glLoseContextCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
1055 glLoseContextCHROMIUM), }, | 1058 glLoseContextCHROMIUM), }, |
| 1059 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
| 1060 glWaitSyncPointCHROMIUM), }, |
1056 { NULL, NULL, }, | 1061 { NULL, NULL, }, |
1057 }; | 1062 }; |
1058 | 1063 |
1059 } // namespace gles2 | 1064 } // namespace gles2 |
1060 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 1065 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
1061 | 1066 |
OLD | NEW |