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 1687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1698 void MojoGLES2Impl::ScheduleCALayerCHROMIUM(GLuint contents_texture_id, | 1698 void MojoGLES2Impl::ScheduleCALayerCHROMIUM(GLuint contents_texture_id, |
1699 const GLfloat* contents_rect, | 1699 const GLfloat* contents_rect, |
1700 GLfloat opacity, | 1700 GLfloat opacity, |
1701 const GLuint background_color, | 1701 const GLuint background_color, |
1702 const GLfloat* bounds_size, | 1702 const GLfloat* bounds_size, |
1703 const GLfloat* transform) { | 1703 const GLfloat* transform) { |
1704 MojoGLES2MakeCurrent(context_); | 1704 MojoGLES2MakeCurrent(context_); |
1705 glScheduleCALayerCHROMIUM(contents_texture_id, contents_rect, opacity, | 1705 glScheduleCALayerCHROMIUM(contents_texture_id, contents_rect, opacity, |
1706 background_color, bounds_size, transform); | 1706 background_color, bounds_size, transform); |
1707 } | 1707 } |
| 1708 void MojoGLES2Impl::CommitOverlayPlanesCHROMIUM() { |
| 1709 MojoGLES2MakeCurrent(context_); |
| 1710 glCommitOverlayPlanesCHROMIUM(); |
| 1711 } |
1708 void MojoGLES2Impl::SwapInterval(GLint interval) { | 1712 void MojoGLES2Impl::SwapInterval(GLint interval) { |
1709 MojoGLES2MakeCurrent(context_); | 1713 MojoGLES2MakeCurrent(context_); |
1710 glSwapInterval(interval); | 1714 glSwapInterval(interval); |
1711 } | 1715 } |
1712 void MojoGLES2Impl::FlushDriverCachesCHROMIUM() { | 1716 void MojoGLES2Impl::FlushDriverCachesCHROMIUM() { |
1713 MojoGLES2MakeCurrent(context_); | 1717 MojoGLES2MakeCurrent(context_); |
1714 glFlushDriverCachesCHROMIUM(); | 1718 glFlushDriverCachesCHROMIUM(); |
1715 } | 1719 } |
1716 void MojoGLES2Impl::MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { | 1720 void MojoGLES2Impl::MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { |
1717 MojoGLES2MakeCurrent(context_); | 1721 MojoGLES2MakeCurrent(context_); |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1899 void MojoGLES2Impl::BlendBarrierKHR() { | 1903 void MojoGLES2Impl::BlendBarrierKHR() { |
1900 MojoGLES2MakeCurrent(context_); | 1904 MojoGLES2MakeCurrent(context_); |
1901 glBlendBarrierKHR(); | 1905 glBlendBarrierKHR(); |
1902 } | 1906 } |
1903 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { | 1907 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { |
1904 MojoGLES2MakeCurrent(context_); | 1908 MojoGLES2MakeCurrent(context_); |
1905 glApplyScreenSpaceAntialiasingCHROMIUM(); | 1909 glApplyScreenSpaceAntialiasingCHROMIUM(); |
1906 } | 1910 } |
1907 | 1911 |
1908 } // namespace mojo | 1912 } // namespace mojo |
OLD | NEW |