| 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 1673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1684 GLuint colorNumber, | 1684 GLuint colorNumber, |
| 1685 const char* name) { | 1685 const char* name) { |
| 1686 gles2::GetGLContext()->BindFragDataLocationEXT(program, colorNumber, name); | 1686 gles2::GetGLContext()->BindFragDataLocationEXT(program, colorNumber, name); |
| 1687 } | 1687 } |
| 1688 GLint GL_APIENTRY GLES2GetFragDataIndexEXT(GLuint program, const char* name) { | 1688 GLint GL_APIENTRY GLES2GetFragDataIndexEXT(GLuint program, const char* name) { |
| 1689 return gles2::GetGLContext()->GetFragDataIndexEXT(program, name); | 1689 return gles2::GetGLContext()->GetFragDataIndexEXT(program, name); |
| 1690 } | 1690 } |
| 1691 void GL_APIENTRY | 1691 void GL_APIENTRY |
| 1692 GLES2UniformMatrix4fvStreamTextureMatrixCHROMIUM(GLint location, | 1692 GLES2UniformMatrix4fvStreamTextureMatrixCHROMIUM(GLint location, |
| 1693 GLboolean transpose, | 1693 GLboolean transpose, |
| 1694 const GLfloat* transform) { | 1694 const GLfloat* default_value) { |
| 1695 gles2::GetGLContext()->UniformMatrix4fvStreamTextureMatrixCHROMIUM( | 1695 gles2::GetGLContext()->UniformMatrix4fvStreamTextureMatrixCHROMIUM( |
| 1696 location, transpose, transform); | 1696 location, transpose, default_value); |
| 1697 } | 1697 } |
| 1698 | 1698 |
| 1699 namespace gles2 { | 1699 namespace gles2 { |
| 1700 | 1700 |
| 1701 extern const NameToFunc g_gles2_function_table[] = { | 1701 extern const NameToFunc g_gles2_function_table[] = { |
| 1702 { | 1702 { |
| 1703 "glActiveTexture", | 1703 "glActiveTexture", |
| 1704 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), | 1704 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), |
| 1705 }, | 1705 }, |
| 1706 { | 1706 { |
| (...skipping 1274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2981 reinterpret_cast<GLES2FunctionPointer>( | 2981 reinterpret_cast<GLES2FunctionPointer>( |
| 2982 glUniformMatrix4fvStreamTextureMatrixCHROMIUM), | 2982 glUniformMatrix4fvStreamTextureMatrixCHROMIUM), |
| 2983 }, | 2983 }, |
| 2984 { | 2984 { |
| 2985 NULL, NULL, | 2985 NULL, NULL, |
| 2986 }, | 2986 }, |
| 2987 }; | 2987 }; |
| 2988 | 2988 |
| 2989 } // namespace gles2 | 2989 } // namespace gles2 |
| 2990 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2990 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |