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 1710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1721 GLboolean promotion_hint, | 1721 GLboolean promotion_hint, |
1722 GLint display_x, | 1722 GLint display_x, |
1723 GLint display_y) { | 1723 GLint display_y) { |
1724 gles2::GetGLContext()->OverlayPromotionHintCHROMIUM(texture, promotion_hint, | 1724 gles2::GetGLContext()->OverlayPromotionHintCHROMIUM(texture, promotion_hint, |
1725 display_x, display_y); | 1725 display_x, display_y); |
1726 } | 1726 } |
1727 void GL_APIENTRY GLES2SwapBuffersWithBoundsCHROMIUM(GLsizei count, | 1727 void GL_APIENTRY GLES2SwapBuffersWithBoundsCHROMIUM(GLsizei count, |
1728 const GLint* rects) { | 1728 const GLint* rects) { |
1729 gles2::GetGLContext()->SwapBuffersWithBoundsCHROMIUM(count, rects); | 1729 gles2::GetGLContext()->SwapBuffersWithBoundsCHROMIUM(count, rects); |
1730 } | 1730 } |
| 1731 void GL_APIENTRY GLES2SetDrawRectangleCHROMIUM(GLint x, |
| 1732 GLint y, |
| 1733 GLint width, |
| 1734 GLint height) { |
| 1735 gles2::GetGLContext()->SetDrawRectangleCHROMIUM(x, y, width, height); |
| 1736 } |
1731 | 1737 |
1732 namespace gles2 { | 1738 namespace gles2 { |
1733 | 1739 |
1734 extern const NameToFunc g_gles2_function_table[] = { | 1740 extern const NameToFunc g_gles2_function_table[] = { |
1735 { | 1741 { |
1736 "glActiveTexture", | 1742 "glActiveTexture", |
1737 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), | 1743 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), |
1738 }, | 1744 }, |
1739 { | 1745 { |
1740 "glAttachShader", | 1746 "glAttachShader", |
(...skipping 1288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3029 }, | 3035 }, |
3030 { | 3036 { |
3031 "glOverlayPromotionHintCHROMIUM", | 3037 "glOverlayPromotionHintCHROMIUM", |
3032 reinterpret_cast<GLES2FunctionPointer>(glOverlayPromotionHintCHROMIUM), | 3038 reinterpret_cast<GLES2FunctionPointer>(glOverlayPromotionHintCHROMIUM), |
3033 }, | 3039 }, |
3034 { | 3040 { |
3035 "glSwapBuffersWithBoundsCHROMIUM", | 3041 "glSwapBuffersWithBoundsCHROMIUM", |
3036 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithBoundsCHROMIUM), | 3042 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithBoundsCHROMIUM), |
3037 }, | 3043 }, |
3038 { | 3044 { |
| 3045 "glSetDrawRectangleCHROMIUM", |
| 3046 reinterpret_cast<GLES2FunctionPointer>(glSetDrawRectangleCHROMIUM), |
| 3047 }, |
| 3048 { |
3039 NULL, NULL, | 3049 NULL, NULL, |
3040 }, | 3050 }, |
3041 }; | 3051 }; |
3042 | 3052 |
3043 } // namespace gles2 | 3053 } // namespace gles2 |
3044 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3054 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |