| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 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 1408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1419 gles2::GetGLContext()->BindUniformLocationCHROMIUM(program, location, name); | 1419 gles2::GetGLContext()->BindUniformLocationCHROMIUM(program, location, name); |
| 1420 } | 1420 } |
| 1421 void GL_APIENTRY GLES2BindTexImage2DCHROMIUM(GLenum target, | 1421 void GL_APIENTRY GLES2BindTexImage2DCHROMIUM(GLenum target, |
| 1422 GLint imageId, | 1422 GLint imageId, |
| 1423 GLint fenceId) { | 1423 GLint fenceId) { |
| 1424 gles2::GetGLContext()->BindTexImage2DCHROMIUM(target, imageId, fenceId); | 1424 gles2::GetGLContext()->BindTexImage2DCHROMIUM(target, imageId, fenceId); |
| 1425 } | 1425 } |
| 1426 void GL_APIENTRY GLES2ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) { | 1426 void GL_APIENTRY GLES2ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) { |
| 1427 gles2::GetGLContext()->ReleaseTexImage2DCHROMIUM(target, imageId); | 1427 gles2::GetGLContext()->ReleaseTexImage2DCHROMIUM(target, imageId); |
| 1428 } | 1428 } |
| 1429 void GL_APIENTRY GLES2CopyImageSubDataCHROMIUM(GLint source_image_id, |
| 1430 GLint dest_texture_id, |
| 1431 GLint xoffset, |
| 1432 GLint yoffset, |
| 1433 GLint x, |
| 1434 GLint y, |
| 1435 GLsizei width, |
| 1436 GLsizei height, |
| 1437 GLint in_fence_id, |
| 1438 GLint out_fence_id) { |
| 1439 gles2::GetGLContext()->CopyImageSubDataCHROMIUM( |
| 1440 source_image_id, dest_texture_id, xoffset, yoffset, x, y, width, height, |
| 1441 in_fence_id, out_fence_id); |
| 1442 } |
| 1429 void GL_APIENTRY GLES2TraceBeginCHROMIUM(const char* category_name, | 1443 void GL_APIENTRY GLES2TraceBeginCHROMIUM(const char* category_name, |
| 1430 const char* trace_name) { | 1444 const char* trace_name) { |
| 1431 gles2::GetGLContext()->TraceBeginCHROMIUM(category_name, trace_name); | 1445 gles2::GetGLContext()->TraceBeginCHROMIUM(category_name, trace_name); |
| 1432 } | 1446 } |
| 1433 void GL_APIENTRY GLES2TraceEndCHROMIUM() { | 1447 void GL_APIENTRY GLES2TraceEndCHROMIUM() { |
| 1434 gles2::GetGLContext()->TraceEndCHROMIUM(); | 1448 gles2::GetGLContext()->TraceEndCHROMIUM(); |
| 1435 } | 1449 } |
| 1436 void GL_APIENTRY GLES2DiscardFramebufferEXT(GLenum target, | 1450 void GL_APIENTRY GLES2DiscardFramebufferEXT(GLenum target, |
| 1437 GLsizei count, | 1451 GLsizei count, |
| 1438 const GLenum* attachments) { | 1452 const GLenum* attachments) { |
| (...skipping 1365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2804 }, | 2818 }, |
| 2805 { | 2819 { |
| 2806 "glBindTexImage2DCHROMIUM", | 2820 "glBindTexImage2DCHROMIUM", |
| 2807 reinterpret_cast<GLES2FunctionPointer>(glBindTexImage2DCHROMIUM), | 2821 reinterpret_cast<GLES2FunctionPointer>(glBindTexImage2DCHROMIUM), |
| 2808 }, | 2822 }, |
| 2809 { | 2823 { |
| 2810 "glReleaseTexImage2DCHROMIUM", | 2824 "glReleaseTexImage2DCHROMIUM", |
| 2811 reinterpret_cast<GLES2FunctionPointer>(glReleaseTexImage2DCHROMIUM), | 2825 reinterpret_cast<GLES2FunctionPointer>(glReleaseTexImage2DCHROMIUM), |
| 2812 }, | 2826 }, |
| 2813 { | 2827 { |
| 2828 "glCopyImageSubDataCHROMIUM", |
| 2829 reinterpret_cast<GLES2FunctionPointer>(glCopyImageSubDataCHROMIUM), |
| 2830 }, |
| 2831 { |
| 2814 "glTraceBeginCHROMIUM", | 2832 "glTraceBeginCHROMIUM", |
| 2815 reinterpret_cast<GLES2FunctionPointer>(glTraceBeginCHROMIUM), | 2833 reinterpret_cast<GLES2FunctionPointer>(glTraceBeginCHROMIUM), |
| 2816 }, | 2834 }, |
| 2817 { | 2835 { |
| 2818 "glTraceEndCHROMIUM", | 2836 "glTraceEndCHROMIUM", |
| 2819 reinterpret_cast<GLES2FunctionPointer>(glTraceEndCHROMIUM), | 2837 reinterpret_cast<GLES2FunctionPointer>(glTraceEndCHROMIUM), |
| 2820 }, | 2838 }, |
| 2821 { | 2839 { |
| 2822 "glDiscardFramebufferEXT", | 2840 "glDiscardFramebufferEXT", |
| 2823 reinterpret_cast<GLES2FunctionPointer>(glDiscardFramebufferEXT), | 2841 reinterpret_cast<GLES2FunctionPointer>(glDiscardFramebufferEXT), |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3034 "glSwapBuffersWithDamageCHROMIUM", | 3052 "glSwapBuffersWithDamageCHROMIUM", |
| 3035 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM), | 3053 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM), |
| 3036 }, | 3054 }, |
| 3037 { | 3055 { |
| 3038 NULL, NULL, | 3056 NULL, NULL, |
| 3039 }, | 3057 }, |
| 3040 }; | 3058 }; |
| 3041 | 3059 |
| 3042 } // namespace gles2 | 3060 } // namespace gles2 |
| 3043 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3061 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |