| 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 1706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1717 gles2::GetGLContext()->UniformMatrix4fvStreamTextureMatrixCHROMIUM( | 1717 gles2::GetGLContext()->UniformMatrix4fvStreamTextureMatrixCHROMIUM( |
| 1718 location, transpose, transform); | 1718 location, transpose, transform); |
| 1719 } | 1719 } |
| 1720 void GL_APIENTRY GLES2OverlayPromotionHintCHROMIUM(GLuint texture, | 1720 void GL_APIENTRY GLES2OverlayPromotionHintCHROMIUM(GLuint texture, |
| 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 GLES2SwapBuffersWithDamageCHROMIUM(GLint x, | 1727 void GL_APIENTRY GLES2SwapBuffersWithBoundsCHROMIUM(GLsizei count, |
| 1728 GLint y, | 1728 const GLint* rects) { |
| 1729 GLint width, | 1729 gles2::GetGLContext()->SwapBuffersWithBoundsCHROMIUM(count, rects); |
| 1730 GLint height) { | |
| 1731 gles2::GetGLContext()->SwapBuffersWithDamageCHROMIUM(x, y, width, height); | |
| 1732 } | 1730 } |
| 1733 | 1731 |
| 1734 namespace gles2 { | 1732 namespace gles2 { |
| 1735 | 1733 |
| 1736 extern const NameToFunc g_gles2_function_table[] = { | 1734 extern const NameToFunc g_gles2_function_table[] = { |
| 1737 { | 1735 { |
| 1738 "glActiveTexture", | 1736 "glActiveTexture", |
| 1739 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), | 1737 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), |
| 1740 }, | 1738 }, |
| 1741 { | 1739 { |
| (...skipping 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3027 { | 3025 { |
| 3028 "glUniformMatrix4fvStreamTextureMatrixCHROMIUM", | 3026 "glUniformMatrix4fvStreamTextureMatrixCHROMIUM", |
| 3029 reinterpret_cast<GLES2FunctionPointer>( | 3027 reinterpret_cast<GLES2FunctionPointer>( |
| 3030 glUniformMatrix4fvStreamTextureMatrixCHROMIUM), | 3028 glUniformMatrix4fvStreamTextureMatrixCHROMIUM), |
| 3031 }, | 3029 }, |
| 3032 { | 3030 { |
| 3033 "glOverlayPromotionHintCHROMIUM", | 3031 "glOverlayPromotionHintCHROMIUM", |
| 3034 reinterpret_cast<GLES2FunctionPointer>(glOverlayPromotionHintCHROMIUM), | 3032 reinterpret_cast<GLES2FunctionPointer>(glOverlayPromotionHintCHROMIUM), |
| 3035 }, | 3033 }, |
| 3036 { | 3034 { |
| 3037 "glSwapBuffersWithDamageCHROMIUM", | 3035 "glSwapBuffersWithBoundsCHROMIUM", |
| 3038 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM), | 3036 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithBoundsCHROMIUM), |
| 3039 }, | 3037 }, |
| 3040 { | 3038 { |
| 3041 NULL, NULL, | 3039 NULL, NULL, |
| 3042 }, | 3040 }, |
| 3043 }; | 3041 }; |
| 3044 | 3042 |
| 3045 } // namespace gles2 | 3043 } // namespace gles2 |
| 3046 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3044 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |