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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
571 const GLchar* const* str, | 571 const GLchar* const* str, |
572 const GLint* length) { | 572 const GLint* length) { |
573 gles2::GetGLContext()->ShaderSource(shader, count, str, length); | 573 gles2::GetGLContext()->ShaderSource(shader, count, str, length); |
574 } | 574 } |
575 void GLES2ShallowFinishCHROMIUM() { | 575 void GLES2ShallowFinishCHROMIUM() { |
576 gles2::GetGLContext()->ShallowFinishCHROMIUM(); | 576 gles2::GetGLContext()->ShallowFinishCHROMIUM(); |
577 } | 577 } |
578 void GLES2ShallowFlushCHROMIUM() { | 578 void GLES2ShallowFlushCHROMIUM() { |
579 gles2::GetGLContext()->ShallowFlushCHROMIUM(); | 579 gles2::GetGLContext()->ShallowFlushCHROMIUM(); |
580 } | 580 } |
| 581 void GLES2OrderingBarrierCHROMIUM() { |
| 582 gles2::GetGLContext()->OrderingBarrierCHROMIUM(); |
| 583 } |
581 void GLES2StencilFunc(GLenum func, GLint ref, GLuint mask) { | 584 void GLES2StencilFunc(GLenum func, GLint ref, GLuint mask) { |
582 gles2::GetGLContext()->StencilFunc(func, ref, mask); | 585 gles2::GetGLContext()->StencilFunc(func, ref, mask); |
583 } | 586 } |
584 void GLES2StencilFuncSeparate(GLenum face, | 587 void GLES2StencilFuncSeparate(GLenum face, |
585 GLenum func, | 588 GLenum func, |
586 GLint ref, | 589 GLint ref, |
587 GLuint mask) { | 590 GLuint mask) { |
588 gles2::GetGLContext()->StencilFuncSeparate(face, func, ref, mask); | 591 gles2::GetGLContext()->StencilFuncSeparate(face, func, ref, mask); |
589 } | 592 } |
590 void GLES2StencilMask(GLuint mask) { | 593 void GLES2StencilMask(GLuint mask) { |
(...skipping 1186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1777 }, | 1780 }, |
1778 { | 1781 { |
1779 "glShallowFinishCHROMIUM", | 1782 "glShallowFinishCHROMIUM", |
1780 reinterpret_cast<GLES2FunctionPointer>(glShallowFinishCHROMIUM), | 1783 reinterpret_cast<GLES2FunctionPointer>(glShallowFinishCHROMIUM), |
1781 }, | 1784 }, |
1782 { | 1785 { |
1783 "glShallowFlushCHROMIUM", | 1786 "glShallowFlushCHROMIUM", |
1784 reinterpret_cast<GLES2FunctionPointer>(glShallowFlushCHROMIUM), | 1787 reinterpret_cast<GLES2FunctionPointer>(glShallowFlushCHROMIUM), |
1785 }, | 1788 }, |
1786 { | 1789 { |
| 1790 "glOrderingBarrierCHROMIUM", |
| 1791 reinterpret_cast<GLES2FunctionPointer>(glOrderingBarrierCHROMIUM), |
| 1792 }, |
| 1793 { |
1787 "glStencilFunc", | 1794 "glStencilFunc", |
1788 reinterpret_cast<GLES2FunctionPointer>(glStencilFunc), | 1795 reinterpret_cast<GLES2FunctionPointer>(glStencilFunc), |
1789 }, | 1796 }, |
1790 { | 1797 { |
1791 "glStencilFuncSeparate", | 1798 "glStencilFuncSeparate", |
1792 reinterpret_cast<GLES2FunctionPointer>(glStencilFuncSeparate), | 1799 reinterpret_cast<GLES2FunctionPointer>(glStencilFuncSeparate), |
1793 }, | 1800 }, |
1794 { | 1801 { |
1795 "glStencilMask", | 1802 "glStencilMask", |
1796 reinterpret_cast<GLES2FunctionPointer>(glStencilMask), | 1803 reinterpret_cast<GLES2FunctionPointer>(glStencilMask), |
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2365 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), | 2372 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), |
2366 }, | 2373 }, |
2367 { | 2374 { |
2368 NULL, | 2375 NULL, |
2369 NULL, | 2376 NULL, |
2370 }, | 2377 }, |
2371 }; | 2378 }; |
2372 | 2379 |
2373 } // namespace gles2 | 2380 } // namespace gles2 |
2374 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 2381 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
OLD | NEW |