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