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 1680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1691 GLint GL_APIENTRY GLES2GetFragDataIndexEXT(GLuint program, const char* name) { | 1691 GLint GL_APIENTRY GLES2GetFragDataIndexEXT(GLuint program, const char* name) { |
1692 return gles2::GetGLContext()->GetFragDataIndexEXT(program, name); | 1692 return gles2::GetGLContext()->GetFragDataIndexEXT(program, name); |
1693 } | 1693 } |
1694 void GL_APIENTRY | 1694 void GL_APIENTRY |
1695 GLES2UniformMatrix4fvStreamTextureMatrixCHROMIUM(GLint location, | 1695 GLES2UniformMatrix4fvStreamTextureMatrixCHROMIUM(GLint location, |
1696 GLboolean transpose, | 1696 GLboolean transpose, |
1697 const GLfloat* transform) { | 1697 const GLfloat* transform) { |
1698 gles2::GetGLContext()->UniformMatrix4fvStreamTextureMatrixCHROMIUM( | 1698 gles2::GetGLContext()->UniformMatrix4fvStreamTextureMatrixCHROMIUM( |
1699 location, transpose, transform); | 1699 location, transpose, transform); |
1700 } | 1700 } |
| 1701 void GL_APIENTRY GLES2SwapBuffersWithDamageCHROMIUM(GLint x, |
| 1702 GLint y, |
| 1703 GLint width, |
| 1704 GLint height) { |
| 1705 gles2::GetGLContext()->SwapBuffersWithDamageCHROMIUM(x, y, width, height); |
| 1706 } |
1701 | 1707 |
1702 namespace gles2 { | 1708 namespace gles2 { |
1703 | 1709 |
1704 extern const NameToFunc g_gles2_function_table[] = { | 1710 extern const NameToFunc g_gles2_function_table[] = { |
1705 { | 1711 { |
1706 "glActiveTexture", | 1712 "glActiveTexture", |
1707 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), | 1713 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), |
1708 }, | 1714 }, |
1709 { | 1715 { |
1710 "glAttachShader", | 1716 "glAttachShader", |
(...skipping 1272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2983 { | 2989 { |
2984 "glGetFragDataIndexEXT", | 2990 "glGetFragDataIndexEXT", |
2985 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT), | 2991 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT), |
2986 }, | 2992 }, |
2987 { | 2993 { |
2988 "glUniformMatrix4fvStreamTextureMatrixCHROMIUM", | 2994 "glUniformMatrix4fvStreamTextureMatrixCHROMIUM", |
2989 reinterpret_cast<GLES2FunctionPointer>( | 2995 reinterpret_cast<GLES2FunctionPointer>( |
2990 glUniformMatrix4fvStreamTextureMatrixCHROMIUM), | 2996 glUniformMatrix4fvStreamTextureMatrixCHROMIUM), |
2991 }, | 2997 }, |
2992 { | 2998 { |
| 2999 "glSwapBuffersWithDamageCHROMIUM", |
| 3000 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM), |
| 3001 }, |
| 3002 { |
2993 NULL, NULL, | 3003 NULL, NULL, |
2994 }, | 3004 }, |
2995 }; | 3005 }; |
2996 | 3006 |
2997 } // namespace gles2 | 3007 } // namespace gles2 |
2998 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3008 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |