| 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 807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 818 glShaderSource(shader, count, str, length); | 818 glShaderSource(shader, count, str, length); |
| 819 } | 819 } |
| 820 void MojoGLES2Impl::ShallowFinishCHROMIUM() { | 820 void MojoGLES2Impl::ShallowFinishCHROMIUM() { |
| 821 NOTREACHED() << "Unimplemented ShallowFinishCHROMIUM."; | 821 NOTREACHED() << "Unimplemented ShallowFinishCHROMIUM."; |
| 822 } | 822 } |
| 823 void MojoGLES2Impl::ShallowFlushCHROMIUM() { | 823 void MojoGLES2Impl::ShallowFlushCHROMIUM() { |
| 824 MojoGLES2MakeCurrent(context_); | 824 MojoGLES2MakeCurrent(context_); |
| 825 glShallowFlushCHROMIUM(); | 825 glShallowFlushCHROMIUM(); |
| 826 } | 826 } |
| 827 void MojoGLES2Impl::OrderingBarrierCHROMIUM() { | 827 void MojoGLES2Impl::OrderingBarrierCHROMIUM() { |
| 828 MojoGLES2MakeCurrent(context_); | 828 NOTREACHED() << "Unimplemented OrderingBarrierCHROMIUM."; |
| 829 glOrderingBarrierCHROMIUM(); | |
| 830 } | 829 } |
| 831 void MojoGLES2Impl::StencilFunc(GLenum func, GLint ref, GLuint mask) { | 830 void MojoGLES2Impl::StencilFunc(GLenum func, GLint ref, GLuint mask) { |
| 832 MojoGLES2MakeCurrent(context_); | 831 MojoGLES2MakeCurrent(context_); |
| 833 glStencilFunc(func, ref, mask); | 832 glStencilFunc(func, ref, mask); |
| 834 } | 833 } |
| 835 void MojoGLES2Impl::StencilFuncSeparate(GLenum face, | 834 void MojoGLES2Impl::StencilFuncSeparate(GLenum face, |
| 836 GLenum func, | 835 GLenum func, |
| 837 GLint ref, | 836 GLint ref, |
| 838 GLuint mask) { | 837 GLuint mask) { |
| 839 MojoGLES2MakeCurrent(context_); | 838 MojoGLES2MakeCurrent(context_); |
| (...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1720 } | 1719 } |
| 1721 GLenum MojoGLES2Impl::GetGraphicsResetStatusKHR() { | 1720 GLenum MojoGLES2Impl::GetGraphicsResetStatusKHR() { |
| 1722 NOTREACHED() << "Unimplemented GetGraphicsResetStatusKHR."; | 1721 NOTREACHED() << "Unimplemented GetGraphicsResetStatusKHR."; |
| 1723 return 0; | 1722 return 0; |
| 1724 } | 1723 } |
| 1725 void MojoGLES2Impl::BlendBarrierKHR() { | 1724 void MojoGLES2Impl::BlendBarrierKHR() { |
| 1726 NOTREACHED() << "Unimplemented BlendBarrierKHR."; | 1725 NOTREACHED() << "Unimplemented BlendBarrierKHR."; |
| 1727 } | 1726 } |
| 1728 | 1727 |
| 1729 } // namespace mojo | 1728 } // namespace mojo |
| OLD | NEW |