| 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 GLES2PerformanceHintCHROMIUM(GLenum mode) { |
| 1731 gles2::GetGLContext()->PerformanceHintCHROMIUM(mode); |
| 1732 } |
| 1730 | 1733 |
| 1731 namespace gles2 { | 1734 namespace gles2 { |
| 1732 | 1735 |
| 1733 extern const NameToFunc g_gles2_function_table[] = { | 1736 extern const NameToFunc g_gles2_function_table[] = { |
| 1734 { | 1737 { |
| 1735 "glActiveTexture", | 1738 "glActiveTexture", |
| 1736 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), | 1739 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), |
| 1737 }, | 1740 }, |
| 1738 { | 1741 { |
| 1739 "glAttachShader", | 1742 "glAttachShader", |
| (...skipping 1288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3028 }, | 3031 }, |
| 3029 { | 3032 { |
| 3030 "glOverlayPromotionHintCHROMIUM", | 3033 "glOverlayPromotionHintCHROMIUM", |
| 3031 reinterpret_cast<GLES2FunctionPointer>(glOverlayPromotionHintCHROMIUM), | 3034 reinterpret_cast<GLES2FunctionPointer>(glOverlayPromotionHintCHROMIUM), |
| 3032 }, | 3035 }, |
| 3033 { | 3036 { |
| 3034 "glSwapBuffersWithDamageCHROMIUM", | 3037 "glSwapBuffersWithDamageCHROMIUM", |
| 3035 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM), | 3038 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM), |
| 3036 }, | 3039 }, |
| 3037 { | 3040 { |
| 3041 "glPerformanceHintCHROMIUM", |
| 3042 reinterpret_cast<GLES2FunctionPointer>(glPerformanceHintCHROMIUM), |
| 3043 }, |
| 3044 { |
| 3038 NULL, NULL, | 3045 NULL, NULL, |
| 3039 }, | 3046 }, |
| 3040 }; | 3047 }; |
| 3041 | 3048 |
| 3042 } // namespace gles2 | 3049 } // namespace gles2 |
| 3043 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3050 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |