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 1681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1692 GLuint colorNumber, | 1692 GLuint colorNumber, |
1693 const char* name) { | 1693 const char* name) { |
1694 gles2::GetGLContext()->BindFragDataLocationEXT(program, colorNumber, name); | 1694 gles2::GetGLContext()->BindFragDataLocationEXT(program, colorNumber, name); |
1695 } | 1695 } |
1696 GLint GL_APIENTRY GLES2GetFragDataIndexEXT(GLuint program, const char* name) { | 1696 GLint GL_APIENTRY GLES2GetFragDataIndexEXT(GLuint program, const char* name) { |
1697 return gles2::GetGLContext()->GetFragDataIndexEXT(program, name); | 1697 return gles2::GetGLContext()->GetFragDataIndexEXT(program, name); |
1698 } | 1698 } |
1699 void GL_APIENTRY | 1699 void GL_APIENTRY |
1700 GLES2UniformMatrix4fvStreamTextureMatrixCHROMIUM(GLint location, | 1700 GLES2UniformMatrix4fvStreamTextureMatrixCHROMIUM(GLint location, |
1701 GLboolean transpose, | 1701 GLboolean transpose, |
1702 const GLfloat* default_value) { | 1702 const GLfloat* transform) { |
1703 gles2::GetGLContext()->UniformMatrix4fvStreamTextureMatrixCHROMIUM( | 1703 gles2::GetGLContext()->UniformMatrix4fvStreamTextureMatrixCHROMIUM( |
1704 location, transpose, default_value); | 1704 location, transpose, transform); |
1705 } | 1705 } |
1706 | 1706 |
1707 namespace gles2 { | 1707 namespace gles2 { |
1708 | 1708 |
1709 extern const NameToFunc g_gles2_function_table[] = { | 1709 extern const NameToFunc g_gles2_function_table[] = { |
1710 { | 1710 { |
1711 "glActiveTexture", | 1711 "glActiveTexture", |
1712 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), | 1712 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), |
1713 }, | 1713 }, |
1714 { | 1714 { |
(...skipping 1284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2999 reinterpret_cast<GLES2FunctionPointer>( | 2999 reinterpret_cast<GLES2FunctionPointer>( |
3000 glUniformMatrix4fvStreamTextureMatrixCHROMIUM), | 3000 glUniformMatrix4fvStreamTextureMatrixCHROMIUM), |
3001 }, | 3001 }, |
3002 { | 3002 { |
3003 NULL, NULL, | 3003 NULL, NULL, |
3004 }, | 3004 }, |
3005 }; | 3005 }; |
3006 | 3006 |
3007 } // namespace gles2 | 3007 } // namespace gles2 |
3008 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3008 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |