| 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 1694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1705 index, name); | 1705 index, name); |
| 1706 } | 1706 } |
| 1707 void GL_APIENTRY GLES2BindFragDataLocationEXT(GLuint program, | 1707 void GL_APIENTRY GLES2BindFragDataLocationEXT(GLuint program, |
| 1708 GLuint colorNumber, | 1708 GLuint colorNumber, |
| 1709 const char* name) { | 1709 const char* name) { |
| 1710 gles2::GetGLContext()->BindFragDataLocationEXT(program, colorNumber, name); | 1710 gles2::GetGLContext()->BindFragDataLocationEXT(program, colorNumber, name); |
| 1711 } | 1711 } |
| 1712 GLint GL_APIENTRY GLES2GetFragDataIndexEXT(GLuint program, const char* name) { | 1712 GLint GL_APIENTRY GLES2GetFragDataIndexEXT(GLuint program, const char* name) { |
| 1713 return gles2::GetGLContext()->GetFragDataIndexEXT(program, name); | 1713 return gles2::GetGLContext()->GetFragDataIndexEXT(program, name); |
| 1714 } | 1714 } |
| 1715 void GL_APIENTRY |
| 1716 GLES2UniformMatrix4fvStreamTextureMatrixCHROMIUM(GLint location, |
| 1717 GLboolean transpose, |
| 1718 const GLfloat* default_value) { |
| 1719 gles2::GetGLContext()->UniformMatrix4fvStreamTextureMatrixCHROMIUM( |
| 1720 location, transpose, default_value); |
| 1721 } |
| 1715 | 1722 |
| 1716 namespace gles2 { | 1723 namespace gles2 { |
| 1717 | 1724 |
| 1718 extern const NameToFunc g_gles2_function_table[] = { | 1725 extern const NameToFunc g_gles2_function_table[] = { |
| 1719 { | 1726 { |
| 1720 "glActiveTexture", | 1727 "glActiveTexture", |
| 1721 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), | 1728 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), |
| 1722 }, | 1729 }, |
| 1723 { | 1730 { |
| 1724 "glAttachShader", | 1731 "glAttachShader", |
| (...skipping 1281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3006 }, | 3013 }, |
| 3007 { | 3014 { |
| 3008 "glBindFragDataLocationEXT", | 3015 "glBindFragDataLocationEXT", |
| 3009 reinterpret_cast<GLES2FunctionPointer>(glBindFragDataLocationEXT), | 3016 reinterpret_cast<GLES2FunctionPointer>(glBindFragDataLocationEXT), |
| 3010 }, | 3017 }, |
| 3011 { | 3018 { |
| 3012 "glGetFragDataIndexEXT", | 3019 "glGetFragDataIndexEXT", |
| 3013 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT), | 3020 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT), |
| 3014 }, | 3021 }, |
| 3015 { | 3022 { |
| 3023 "glUniformMatrix4fvStreamTextureMatrixCHROMIUM", |
| 3024 reinterpret_cast<GLES2FunctionPointer>( |
| 3025 glUniformMatrix4fvStreamTextureMatrixCHROMIUM), |
| 3026 }, |
| 3027 { |
| 3016 NULL, NULL, | 3028 NULL, NULL, |
| 3017 }, | 3029 }, |
| 3018 }; | 3030 }; |
| 3019 | 3031 |
| 3020 } // namespace gles2 | 3032 } // namespace gles2 |
| 3021 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3033 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| OLD | NEW |