| 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 NOTREACHED() << "Unimplemented OrderingBarrierCHROMIUM."; | 828 MojoGLES2MakeCurrent(context_); |
| 829 glOrderingBarrierCHROMIUM(); |
| 829 } | 830 } |
| 830 void MojoGLES2Impl::StencilFunc(GLenum func, GLint ref, GLuint mask) { | 831 void MojoGLES2Impl::StencilFunc(GLenum func, GLint ref, GLuint mask) { |
| 831 MojoGLES2MakeCurrent(context_); | 832 MojoGLES2MakeCurrent(context_); |
| 832 glStencilFunc(func, ref, mask); | 833 glStencilFunc(func, ref, mask); |
| 833 } | 834 } |
| 834 void MojoGLES2Impl::StencilFuncSeparate(GLenum face, | 835 void MojoGLES2Impl::StencilFuncSeparate(GLenum face, |
| 835 GLenum func, | 836 GLenum func, |
| 836 GLint ref, | 837 GLint ref, |
| 837 GLuint mask) { | 838 GLuint mask) { |
| 838 MojoGLES2MakeCurrent(context_); | 839 MojoGLES2MakeCurrent(context_); |
| (...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1741 GLenum coverMode) { | 1742 GLenum coverMode) { |
| 1742 NOTREACHED() << "Unimplemented StencilThenCoverStrokePathCHROMIUM."; | 1743 NOTREACHED() << "Unimplemented StencilThenCoverStrokePathCHROMIUM."; |
| 1743 } | 1744 } |
| 1744 GLenum MojoGLES2Impl::GetGraphicsResetStatusKHR() { | 1745 GLenum MojoGLES2Impl::GetGraphicsResetStatusKHR() { |
| 1745 NOTREACHED() << "Unimplemented GetGraphicsResetStatusKHR."; | 1746 NOTREACHED() << "Unimplemented GetGraphicsResetStatusKHR."; |
| 1746 return 0; | 1747 return 0; |
| 1747 } | 1748 } |
| 1748 void MojoGLES2Impl::BlendBarrierKHR() { | 1749 void MojoGLES2Impl::BlendBarrierKHR() { |
| 1749 NOTREACHED() << "Unimplemented BlendBarrierKHR."; | 1750 NOTREACHED() << "Unimplemented BlendBarrierKHR."; |
| 1750 } | 1751 } |
| 1752 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { |
| 1753 NOTREACHED() << "Unimplemented ApplyScreenSpaceAntialiasingCHROMIUM."; |
| 1754 } |
| 1751 | 1755 |
| 1752 } // namespace mojo | 1756 } // namespace mojo |
| OLD | NEW |