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 // 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 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
738 GLenum target, GLint level, GLint internalformat, GLsizei width, | 738 GLenum target, GLint level, GLint internalformat, GLsizei width, |
739 GLsizei height, GLint border, GLenum format, GLenum type, | 739 GLsizei height, GLint border, GLenum format, GLenum type, |
740 const void* pixels) { | 740 const void* pixels) { |
741 gles2::GetGLContext()->AsyncTexImage2DCHROMIUM( | 741 gles2::GetGLContext()->AsyncTexImage2DCHROMIUM( |
742 target, level, internalformat, width, height, border, format, type, | 742 target, level, internalformat, width, height, border, format, type, |
743 pixels); | 743 pixels); |
744 } | 744 } |
745 void GLES2WaitAsyncTexImage2DCHROMIUM(GLenum target) { | 745 void GLES2WaitAsyncTexImage2DCHROMIUM(GLenum target) { |
746 gles2::GetGLContext()->WaitAsyncTexImage2DCHROMIUM(target); | 746 gles2::GetGLContext()->WaitAsyncTexImage2DCHROMIUM(target); |
747 } | 747 } |
| 748 void GLES2WaitAllAsyncTexImage2DCHROMIUM() { |
| 749 gles2::GetGLContext()->WaitAllAsyncTexImage2DCHROMIUM(); |
| 750 } |
748 void GLES2DiscardFramebufferEXT( | 751 void GLES2DiscardFramebufferEXT( |
749 GLenum target, GLsizei count, const GLenum* attachments) { | 752 GLenum target, GLsizei count, const GLenum* attachments) { |
750 gles2::GetGLContext()->DiscardFramebufferEXT(target, count, attachments); | 753 gles2::GetGLContext()->DiscardFramebufferEXT(target, count, attachments); |
751 } | 754 } |
752 void GLES2LoseContextCHROMIUM(GLenum current, GLenum other) { | 755 void GLES2LoseContextCHROMIUM(GLenum current, GLenum other) { |
753 gles2::GetGLContext()->LoseContextCHROMIUM(current, other); | 756 gles2::GetGLContext()->LoseContextCHROMIUM(current, other); |
754 } | 757 } |
755 GLuint GLES2InsertSyncPointCHROMIUM() { | 758 GLuint GLES2InsertSyncPointCHROMIUM() { |
756 return gles2::GetGLContext()->InsertSyncPointCHROMIUM(); | 759 return gles2::GetGLContext()->InsertSyncPointCHROMIUM(); |
757 } | 760 } |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1102 { "glTraceBeginCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1105 { "glTraceBeginCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
1103 glTraceBeginCHROMIUM), }, | 1106 glTraceBeginCHROMIUM), }, |
1104 { "glTraceEndCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1107 { "glTraceEndCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
1105 glTraceEndCHROMIUM), }, | 1108 glTraceEndCHROMIUM), }, |
1106 { "glAsyncTexSubImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1109 { "glAsyncTexSubImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
1107 glAsyncTexSubImage2DCHROMIUM), }, | 1110 glAsyncTexSubImage2DCHROMIUM), }, |
1108 { "glAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1111 { "glAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
1109 glAsyncTexImage2DCHROMIUM), }, | 1112 glAsyncTexImage2DCHROMIUM), }, |
1110 { "glWaitAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1113 { "glWaitAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
1111 glWaitAsyncTexImage2DCHROMIUM), }, | 1114 glWaitAsyncTexImage2DCHROMIUM), }, |
| 1115 { "glWaitAllAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
| 1116 glWaitAllAsyncTexImage2DCHROMIUM), }, |
1112 { "glDiscardFramebufferEXT", reinterpret_cast<GLES2FunctionPointer>( | 1117 { "glDiscardFramebufferEXT", reinterpret_cast<GLES2FunctionPointer>( |
1113 glDiscardFramebufferEXT), }, | 1118 glDiscardFramebufferEXT), }, |
1114 { "glLoseContextCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1119 { "glLoseContextCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
1115 glLoseContextCHROMIUM), }, | 1120 glLoseContextCHROMIUM), }, |
1116 { "glInsertSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1121 { "glInsertSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
1117 glInsertSyncPointCHROMIUM), }, | 1122 glInsertSyncPointCHROMIUM), }, |
1118 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1123 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
1119 glWaitSyncPointCHROMIUM), }, | 1124 glWaitSyncPointCHROMIUM), }, |
1120 { "glDrawBuffersEXT", reinterpret_cast<GLES2FunctionPointer>( | 1125 { "glDrawBuffersEXT", reinterpret_cast<GLES2FunctionPointer>( |
1121 glDrawBuffersEXT), }, | 1126 glDrawBuffersEXT), }, |
1122 { "glDiscardBackbufferCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1127 { "glDiscardBackbufferCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
1123 glDiscardBackbufferCHROMIUM), }, | 1128 glDiscardBackbufferCHROMIUM), }, |
1124 { NULL, NULL, }, | 1129 { NULL, NULL, }, |
1125 }; | 1130 }; |
1126 | 1131 |
1127 } // namespace gles2 | 1132 } // namespace gles2 |
1128 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 1133 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
1129 | 1134 |
OLD | NEW |