| 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 1672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1683 } | 1683 } |
| 1684 void MojoGLES2Impl::ScheduleCALayerCHROMIUM(GLuint contents_texture_id, | 1684 void MojoGLES2Impl::ScheduleCALayerCHROMIUM(GLuint contents_texture_id, |
| 1685 const GLfloat* contents_rect, | 1685 const GLfloat* contents_rect, |
| 1686 GLfloat opacity, | 1686 GLfloat opacity, |
| 1687 GLuint background_color, | 1687 GLuint background_color, |
| 1688 GLuint edge_aa_mask, | 1688 GLuint edge_aa_mask, |
| 1689 const GLfloat* bounds_rect, | 1689 const GLfloat* bounds_rect, |
| 1690 GLboolean is_clipped, | 1690 GLboolean is_clipped, |
| 1691 const GLfloat* clip_rect, | 1691 const GLfloat* clip_rect, |
| 1692 GLint sorting_context_id, | 1692 GLint sorting_context_id, |
| 1693 const GLfloat* transform) { | 1693 const GLfloat* transform, |
| 1694 GLuint filter) { |
| 1694 MojoGLES2MakeCurrent(context_); | 1695 MojoGLES2MakeCurrent(context_); |
| 1695 glScheduleCALayerCHROMIUM(contents_texture_id, contents_rect, opacity, | 1696 glScheduleCALayerCHROMIUM(contents_texture_id, contents_rect, opacity, |
| 1696 background_color, edge_aa_mask, bounds_rect, | 1697 background_color, edge_aa_mask, bounds_rect, |
| 1697 is_clipped, clip_rect, sorting_context_id, | 1698 is_clipped, clip_rect, sorting_context_id, |
| 1698 transform); | 1699 transform, filter); |
| 1699 } | 1700 } |
| 1700 void MojoGLES2Impl::CommitOverlayPlanesCHROMIUM() { | 1701 void MojoGLES2Impl::CommitOverlayPlanesCHROMIUM() { |
| 1701 MojoGLES2MakeCurrent(context_); | 1702 MojoGLES2MakeCurrent(context_); |
| 1702 glCommitOverlayPlanesCHROMIUM(); | 1703 glCommitOverlayPlanesCHROMIUM(); |
| 1703 } | 1704 } |
| 1704 void MojoGLES2Impl::SwapInterval(GLint interval) { | 1705 void MojoGLES2Impl::SwapInterval(GLint interval) { |
| 1705 MojoGLES2MakeCurrent(context_); | 1706 MojoGLES2MakeCurrent(context_); |
| 1706 glSwapInterval(interval); | 1707 glSwapInterval(interval); |
| 1707 } | 1708 } |
| 1708 void MojoGLES2Impl::FlushDriverCachesCHROMIUM() { | 1709 void MojoGLES2Impl::FlushDriverCachesCHROMIUM() { |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1928 void MojoGLES2Impl::UniformMatrix4fvStreamTextureMatrixCHROMIUM( | 1929 void MojoGLES2Impl::UniformMatrix4fvStreamTextureMatrixCHROMIUM( |
| 1929 GLint location, | 1930 GLint location, |
| 1930 GLboolean transpose, | 1931 GLboolean transpose, |
| 1931 const GLfloat* default_value) { | 1932 const GLfloat* default_value) { |
| 1932 MojoGLES2MakeCurrent(context_); | 1933 MojoGLES2MakeCurrent(context_); |
| 1933 glUniformMatrix4fvStreamTextureMatrixCHROMIUM(location, transpose, | 1934 glUniformMatrix4fvStreamTextureMatrixCHROMIUM(location, transpose, |
| 1934 default_value); | 1935 default_value); |
| 1935 } | 1936 } |
| 1936 | 1937 |
| 1937 } // namespace mojo | 1938 } // namespace mojo |
| OLD | NEW |