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 1727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1738 void GL_APIENTRY GLES2SwapBuffersWithBoundsCHROMIUM(GLsizei count, | 1738 void GL_APIENTRY GLES2SwapBuffersWithBoundsCHROMIUM(GLsizei count, |
1739 const GLint* rects) { | 1739 const GLint* rects) { |
1740 gles2::GetGLContext()->SwapBuffersWithBoundsCHROMIUM(count, rects); | 1740 gles2::GetGLContext()->SwapBuffersWithBoundsCHROMIUM(count, rects); |
1741 } | 1741 } |
1742 void GL_APIENTRY GLES2SetDrawRectangleCHROMIUM(GLint x, | 1742 void GL_APIENTRY GLES2SetDrawRectangleCHROMIUM(GLint x, |
1743 GLint y, | 1743 GLint y, |
1744 GLint width, | 1744 GLint width, |
1745 GLint height) { | 1745 GLint height) { |
1746 gles2::GetGLContext()->SetDrawRectangleCHROMIUM(x, y, width, height); | 1746 gles2::GetGLContext()->SetDrawRectangleCHROMIUM(x, y, width, height); |
1747 } | 1747 } |
| 1748 void GL_APIENTRY GLES2SetEnableDCLayersCHROMIUM(GLboolean enabled) { |
| 1749 gles2::GetGLContext()->SetEnableDCLayersCHROMIUM(enabled); |
| 1750 } |
1748 | 1751 |
1749 namespace gles2 { | 1752 namespace gles2 { |
1750 | 1753 |
1751 extern const NameToFunc g_gles2_function_table[] = { | 1754 extern const NameToFunc g_gles2_function_table[] = { |
1752 { | 1755 { |
1753 "glActiveTexture", | 1756 "glActiveTexture", |
1754 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), | 1757 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), |
1755 }, | 1758 }, |
1756 { | 1759 { |
1757 "glAttachShader", | 1760 "glAttachShader", |
(...skipping 1296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3054 }, | 3057 }, |
3055 { | 3058 { |
3056 "glSwapBuffersWithBoundsCHROMIUM", | 3059 "glSwapBuffersWithBoundsCHROMIUM", |
3057 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithBoundsCHROMIUM), | 3060 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithBoundsCHROMIUM), |
3058 }, | 3061 }, |
3059 { | 3062 { |
3060 "glSetDrawRectangleCHROMIUM", | 3063 "glSetDrawRectangleCHROMIUM", |
3061 reinterpret_cast<GLES2FunctionPointer>(glSetDrawRectangleCHROMIUM), | 3064 reinterpret_cast<GLES2FunctionPointer>(glSetDrawRectangleCHROMIUM), |
3062 }, | 3065 }, |
3063 { | 3066 { |
| 3067 "glSetEnableDCLayersCHROMIUM", |
| 3068 reinterpret_cast<GLES2FunctionPointer>(glSetEnableDCLayersCHROMIUM), |
| 3069 }, |
| 3070 { |
3064 NULL, NULL, | 3071 NULL, NULL, |
3065 }, | 3072 }, |
3066 }; | 3073 }; |
3067 | 3074 |
3068 } // namespace gles2 | 3075 } // namespace gles2 |
3069 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 3076 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |