| 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 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 705 target, level, xoffset, yoffset, width, height, format, type, data); | 705 target, level, xoffset, yoffset, width, height, format, type, data); |
| 706 } | 706 } |
| 707 void GLES2AsyncTexImage2DCHROMIUM( | 707 void GLES2AsyncTexImage2DCHROMIUM( |
| 708 GLenum target, GLint level, GLint internalformat, GLsizei width, | 708 GLenum target, GLint level, GLint internalformat, GLsizei width, |
| 709 GLsizei height, GLint border, GLenum format, GLenum type, | 709 GLsizei height, GLint border, GLenum format, GLenum type, |
| 710 const void* pixels) { | 710 const void* pixels) { |
| 711 gles2::GetGLContext()->AsyncTexImage2DCHROMIUM( | 711 gles2::GetGLContext()->AsyncTexImage2DCHROMIUM( |
| 712 target, level, internalformat, width, height, border, format, type, | 712 target, level, internalformat, width, height, border, format, type, |
| 713 pixels); | 713 pixels); |
| 714 } | 714 } |
| 715 void GLES2WaitAsyncTexImage2DCHROMIUM(GLenum target) { |
| 716 gles2::GetGLContext()->WaitAsyncTexImage2DCHROMIUM(target); |
| 717 } |
| 715 void GLES2DiscardFramebufferEXT( | 718 void GLES2DiscardFramebufferEXT( |
| 716 GLenum target, GLsizei count, const GLenum* attachments) { | 719 GLenum target, GLsizei count, const GLenum* attachments) { |
| 717 gles2::GetGLContext()->DiscardFramebufferEXT(target, count, attachments); | 720 gles2::GetGLContext()->DiscardFramebufferEXT(target, count, attachments); |
| 718 } | 721 } |
| 719 void GLES2LoseContextCHROMIUM(GLenum current, GLenum other) { | 722 void GLES2LoseContextCHROMIUM(GLenum current, GLenum other) { |
| 720 gles2::GetGLContext()->LoseContextCHROMIUM(current, other); | 723 gles2::GetGLContext()->LoseContextCHROMIUM(current, other); |
| 721 } | 724 } |
| 722 void GLES2WaitSyncPointCHROMIUM(GLuint sync_point) { | 725 void GLES2WaitSyncPointCHROMIUM(GLuint sync_point) { |
| 723 gles2::GetGLContext()->WaitSyncPointCHROMIUM(sync_point); | 726 gles2::GetGLContext()->WaitSyncPointCHROMIUM(sync_point); |
| 724 } | 727 } |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1046 { "glReleaseTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1049 { "glReleaseTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
| 1047 glReleaseTexImage2DCHROMIUM), }, | 1050 glReleaseTexImage2DCHROMIUM), }, |
| 1048 { "glTraceBeginCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1051 { "glTraceBeginCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
| 1049 glTraceBeginCHROMIUM), }, | 1052 glTraceBeginCHROMIUM), }, |
| 1050 { "glTraceEndCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1053 { "glTraceEndCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
| 1051 glTraceEndCHROMIUM), }, | 1054 glTraceEndCHROMIUM), }, |
| 1052 { "glAsyncTexSubImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1055 { "glAsyncTexSubImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
| 1053 glAsyncTexSubImage2DCHROMIUM), }, | 1056 glAsyncTexSubImage2DCHROMIUM), }, |
| 1054 { "glAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1057 { "glAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
| 1055 glAsyncTexImage2DCHROMIUM), }, | 1058 glAsyncTexImage2DCHROMIUM), }, |
| 1059 { "glWaitAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
| 1060 glWaitAsyncTexImage2DCHROMIUM), }, |
| 1056 { "glDiscardFramebufferEXT", reinterpret_cast<GLES2FunctionPointer>( | 1061 { "glDiscardFramebufferEXT", reinterpret_cast<GLES2FunctionPointer>( |
| 1057 glDiscardFramebufferEXT), }, | 1062 glDiscardFramebufferEXT), }, |
| 1058 { "glLoseContextCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1063 { "glLoseContextCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
| 1059 glLoseContextCHROMIUM), }, | 1064 glLoseContextCHROMIUM), }, |
| 1060 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1065 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
| 1061 glWaitSyncPointCHROMIUM), }, | 1066 glWaitSyncPointCHROMIUM), }, |
| 1062 { NULL, NULL, }, | 1067 { NULL, NULL, }, |
| 1063 }; | 1068 }; |
| 1064 | 1069 |
| 1065 } // namespace gles2 | 1070 } // namespace gles2 |
| 1066 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 1071 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| 1067 | 1072 |
| OLD | NEW |