| 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 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 690 } | 690 } |
| 691 void GLES2ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) { | 691 void GLES2ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) { |
| 692 gles2::GetGLContext()->ReleaseTexImage2DCHROMIUM(target, imageId); | 692 gles2::GetGLContext()->ReleaseTexImage2DCHROMIUM(target, imageId); |
| 693 } | 693 } |
| 694 void GLES2TraceBeginCHROMIUM(const char* name) { | 694 void GLES2TraceBeginCHROMIUM(const char* name) { |
| 695 gles2::GetGLContext()->TraceBeginCHROMIUM(name); | 695 gles2::GetGLContext()->TraceBeginCHROMIUM(name); |
| 696 } | 696 } |
| 697 void GLES2TraceEndCHROMIUM() { | 697 void GLES2TraceEndCHROMIUM() { |
| 698 gles2::GetGLContext()->TraceEndCHROMIUM(); | 698 gles2::GetGLContext()->TraceEndCHROMIUM(); |
| 699 } | 699 } |
| 700 GLboolean GLES2AsyncTexSubImage2DCHROMIUM( |
| 701 GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, |
| 702 GLsizei height, GLenum format, GLenum type, const void* data) { |
| 703 return gles2::GetGLContext()->AsyncTexSubImage2DCHROMIUM( |
| 704 target, level, xoffset, yoffset, width, height, format, type, data); |
| 705 } |
| 706 GLboolean GLES2AsyncTexImage2DCHROMIUM( |
| 707 GLenum target, GLint level, GLint internalformat, GLsizei width, |
| 708 GLsizei height, GLint border, GLenum format, GLenum type, |
| 709 const void* pixels) { |
| 710 return gles2::GetGLContext()->AsyncTexImage2DCHROMIUM( |
| 711 target, level, internalformat, width, height, border, format, type, |
| 712 pixels); |
| 713 } |
| 700 | 714 |
| 701 namespace gles2 { | 715 namespace gles2 { |
| 702 | 716 |
| 703 NameToFunc g_gles2_function_table[] = { | 717 NameToFunc g_gles2_function_table[] = { |
| 704 { "glActiveTexture", reinterpret_cast<GLES2FunctionPointer>( | 718 { "glActiveTexture", reinterpret_cast<GLES2FunctionPointer>( |
| 705 glActiveTexture), }, | 719 glActiveTexture), }, |
| 706 { "glAttachShader", reinterpret_cast<GLES2FunctionPointer>( | 720 { "glAttachShader", reinterpret_cast<GLES2FunctionPointer>( |
| 707 glAttachShader), }, | 721 glAttachShader), }, |
| 708 { "glBindAttribLocation", reinterpret_cast<GLES2FunctionPointer>( | 722 { "glBindAttribLocation", reinterpret_cast<GLES2FunctionPointer>( |
| 709 glBindAttribLocation), }, | 723 glBindAttribLocation), }, |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1017 { "glBindUniformLocationCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1031 { "glBindUniformLocationCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
| 1018 glBindUniformLocationCHROMIUM), }, | 1032 glBindUniformLocationCHROMIUM), }, |
| 1019 { "glBindTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1033 { "glBindTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
| 1020 glBindTexImage2DCHROMIUM), }, | 1034 glBindTexImage2DCHROMIUM), }, |
| 1021 { "glReleaseTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1035 { "glReleaseTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
| 1022 glReleaseTexImage2DCHROMIUM), }, | 1036 glReleaseTexImage2DCHROMIUM), }, |
| 1023 { "glTraceBeginCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1037 { "glTraceBeginCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
| 1024 glTraceBeginCHROMIUM), }, | 1038 glTraceBeginCHROMIUM), }, |
| 1025 { "glTraceEndCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1039 { "glTraceEndCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
| 1026 glTraceEndCHROMIUM), }, | 1040 glTraceEndCHROMIUM), }, |
| 1041 { "glAsyncTexSubImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
| 1042 glAsyncTexSubImage2DCHROMIUM), }, |
| 1043 { "glAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
| 1044 glAsyncTexImage2DCHROMIUM), }, |
| 1027 { NULL, NULL, }, | 1045 { NULL, NULL, }, |
| 1028 }; | 1046 }; |
| 1029 | 1047 |
| 1030 } // namespace gles2 | 1048 } // namespace gles2 |
| 1031 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 1049 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| 1032 | 1050 |
| OLD | NEW |