| 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 1691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1702 GLint GL_APIENTRY GLES2GetFragDataIndexEXT(GLuint program, const char* name) { | 1702 GLint GL_APIENTRY GLES2GetFragDataIndexEXT(GLuint program, const char* name) { |
| 1703 return gles2::GetGLContext()->GetFragDataIndexEXT(program, name); | 1703 return gles2::GetGLContext()->GetFragDataIndexEXT(program, name); |
| 1704 } | 1704 } |
| 1705 void GL_APIENTRY | 1705 void GL_APIENTRY |
| 1706 GLES2UniformMatrix4fvStreamTextureMatrixCHROMIUM(GLint location, | 1706 GLES2UniformMatrix4fvStreamTextureMatrixCHROMIUM(GLint location, |
| 1707 GLboolean transpose, | 1707 GLboolean transpose, |
| 1708 const GLfloat* transform) { | 1708 const GLfloat* transform) { |
| 1709 gles2::GetGLContext()->UniformMatrix4fvStreamTextureMatrixCHROMIUM( | 1709 gles2::GetGLContext()->UniformMatrix4fvStreamTextureMatrixCHROMIUM( |
| 1710 location, transpose, transform); | 1710 location, transpose, transform); |
| 1711 } | 1711 } |
| 1712 void GL_APIENTRY GLES2SendOverlayPromotionHintCHROMIUM(GLuint texture, |
| 1713 GLboolean promotion_hint, |
| 1714 GLint display_x, |
| 1715 GLint display_y) { |
| 1716 gles2::GetGLContext()->SendOverlayPromotionHintCHROMIUM( |
| 1717 texture, promotion_hint, display_x, display_y); |
| 1718 } |
| 1712 void GL_APIENTRY GLES2SwapBuffersWithDamageCHROMIUM(GLint x, | 1719 void GL_APIENTRY GLES2SwapBuffersWithDamageCHROMIUM(GLint x, |
| 1713 GLint y, | 1720 GLint y, |
| 1714 GLint width, | 1721 GLint width, |
| 1715 GLint height) { | 1722 GLint height) { |
| 1716 gles2::GetGLContext()->SwapBuffersWithDamageCHROMIUM(x, y, width, height); | 1723 gles2::GetGLContext()->SwapBuffersWithDamageCHROMIUM(x, y, width, height); |
| 1717 } | 1724 } |
| 1718 | 1725 |
| 1719 namespace gles2 { | 1726 namespace gles2 { |
| 1720 | 1727 |
| 1721 extern const NameToFunc g_gles2_function_table[] = { | 1728 extern const NameToFunc g_gles2_function_table[] = { |
| (...skipping 1286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3008 { | 3015 { |
| 3009 "glGetFragDataIndexEXT", | 3016 "glGetFragDataIndexEXT", |
| 3010 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT), | 3017 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT), |
| 3011 }, | 3018 }, |
| 3012 { | 3019 { |
| 3013 "glUniformMatrix4fvStreamTextureMatrixCHROMIUM", | 3020 "glUniformMatrix4fvStreamTextureMatrixCHROMIUM", |
| 3014 reinterpret_cast<GLES2FunctionPointer>( | 3021 reinterpret_cast<GLES2FunctionPointer>( |
| 3015 glUniformMatrix4fvStreamTextureMatrixCHROMIUM), | 3022 glUniformMatrix4fvStreamTextureMatrixCHROMIUM), |
| 3016 }, | 3023 }, |
| 3017 { | 3024 { |
| 3025 "glSendOverlayPromotionHintCHROMIUM", |
| 3026 reinterpret_cast<GLES2FunctionPointer>( |
| 3027 glSendOverlayPromotionHintCHROMIUM), |
| 3028 }, |
| 3029 { |
| 3018 "glSwapBuffersWithDamageCHROMIUM", | 3030 "glSwapBuffersWithDamageCHROMIUM", |
| 3019 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM), | 3031 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM), |
| 3020 }, | 3032 }, |
| 3021 { | 3033 { |
| 3022 NULL, NULL, | 3034 NULL, NULL, |
| 3023 }, | 3035 }, |
| 3024 }; | 3036 }; |
| 3025 | 3037 |
| 3026 } // namespace gles2 | 3038 } // namespace gles2 |
| 3027 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3039 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |