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