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 1702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1713 GLboolean promotion_hint, | 1713 GLboolean promotion_hint, |
1714 GLint display_x, | 1714 GLint display_x, |
1715 GLint display_y) { | 1715 GLint display_y) { |
1716 gles2::GetGLContext()->OverlayPromotionHintCHROMIUM(texture, promotion_hint, | 1716 gles2::GetGLContext()->OverlayPromotionHintCHROMIUM(texture, promotion_hint, |
1717 display_x, display_y); | 1717 display_x, display_y); |
1718 } | 1718 } |
1719 void GL_APIENTRY GLES2SwapBuffersWithBoundsCHROMIUM(GLsizei count, | 1719 void GL_APIENTRY GLES2SwapBuffersWithBoundsCHROMIUM(GLsizei count, |
1720 const GLint* rects) { | 1720 const GLint* rects) { |
1721 gles2::GetGLContext()->SwapBuffersWithBoundsCHROMIUM(count, rects); | 1721 gles2::GetGLContext()->SwapBuffersWithBoundsCHROMIUM(count, rects); |
1722 } | 1722 } |
| 1723 void GL_APIENTRY GLES2SetDrawRectangleCHROMIUM(GLint x, |
| 1724 GLint y, |
| 1725 GLint width, |
| 1726 GLint height) { |
| 1727 gles2::GetGLContext()->SetDrawRectangleCHROMIUM(x, y, width, height); |
| 1728 } |
1723 | 1729 |
1724 namespace gles2 { | 1730 namespace gles2 { |
1725 | 1731 |
1726 extern const NameToFunc g_gles2_function_table[] = { | 1732 extern const NameToFunc g_gles2_function_table[] = { |
1727 { | 1733 { |
1728 "glActiveTexture", | 1734 "glActiveTexture", |
1729 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), | 1735 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), |
1730 }, | 1736 }, |
1731 { | 1737 { |
1732 "glAttachShader", | 1738 "glAttachShader", |
(...skipping 1283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3016 }, | 3022 }, |
3017 { | 3023 { |
3018 "glOverlayPromotionHintCHROMIUM", | 3024 "glOverlayPromotionHintCHROMIUM", |
3019 reinterpret_cast<GLES2FunctionPointer>(glOverlayPromotionHintCHROMIUM), | 3025 reinterpret_cast<GLES2FunctionPointer>(glOverlayPromotionHintCHROMIUM), |
3020 }, | 3026 }, |
3021 { | 3027 { |
3022 "glSwapBuffersWithBoundsCHROMIUM", | 3028 "glSwapBuffersWithBoundsCHROMIUM", |
3023 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithBoundsCHROMIUM), | 3029 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithBoundsCHROMIUM), |
3024 }, | 3030 }, |
3025 { | 3031 { |
| 3032 "glSetDrawRectangleCHROMIUM", |
| 3033 reinterpret_cast<GLES2FunctionPointer>(glSetDrawRectangleCHROMIUM), |
| 3034 }, |
| 3035 { |
3026 NULL, NULL, | 3036 NULL, NULL, |
3027 }, | 3037 }, |
3028 }; | 3038 }; |
3029 | 3039 |
3030 } // namespace gles2 | 3040 } // namespace gles2 |
3031 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3041 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |