| 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 1676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1687 GLint bounds_height, | 1687 GLint bounds_height, |
| 1688 GLfloat uv_x, | 1688 GLfloat uv_x, |
| 1689 GLfloat uv_y, | 1689 GLfloat uv_y, |
| 1690 GLfloat uv_width, | 1690 GLfloat uv_width, |
| 1691 GLfloat uv_height) { | 1691 GLfloat uv_height) { |
| 1692 MojoGLES2MakeCurrent(context_); | 1692 MojoGLES2MakeCurrent(context_); |
| 1693 glScheduleOverlayPlaneCHROMIUM( | 1693 glScheduleOverlayPlaneCHROMIUM( |
| 1694 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, | 1694 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, |
| 1695 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); | 1695 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); |
| 1696 } | 1696 } |
| 1697 void MojoGLES2Impl::ScheduleSolidColorOverlayPlaneCHROMIUM(GLint plane_z_order, |
| 1698 GLint bounds_x, |
| 1699 GLint bounds_y, |
| 1700 GLint bounds_width, |
| 1701 GLint bounds_height, |
| 1702 GLclampf red, |
| 1703 GLclampf green, |
| 1704 GLclampf blue, |
| 1705 GLclampf alpha) { |
| 1706 MojoGLES2MakeCurrent(context_); |
| 1707 glScheduleSolidColorOverlayPlaneCHROMIUM(plane_z_order, bounds_x, bounds_y, |
| 1708 bounds_width, bounds_height, red, |
| 1709 green, blue, alpha); |
| 1710 } |
| 1697 void MojoGLES2Impl::SwapInterval(GLint interval) { | 1711 void MojoGLES2Impl::SwapInterval(GLint interval) { |
| 1698 MojoGLES2MakeCurrent(context_); | 1712 MojoGLES2MakeCurrent(context_); |
| 1699 glSwapInterval(interval); | 1713 glSwapInterval(interval); |
| 1700 } | 1714 } |
| 1701 void MojoGLES2Impl::FlushDriverCachesCHROMIUM() { | 1715 void MojoGLES2Impl::FlushDriverCachesCHROMIUM() { |
| 1702 MojoGLES2MakeCurrent(context_); | 1716 MojoGLES2MakeCurrent(context_); |
| 1703 glFlushDriverCachesCHROMIUM(); | 1717 glFlushDriverCachesCHROMIUM(); |
| 1704 } | 1718 } |
| 1705 void MojoGLES2Impl::MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { | 1719 void MojoGLES2Impl::MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { |
| 1706 MojoGLES2MakeCurrent(context_); | 1720 MojoGLES2MakeCurrent(context_); |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1791 void MojoGLES2Impl::BlendBarrierKHR() { | 1805 void MojoGLES2Impl::BlendBarrierKHR() { |
| 1792 MojoGLES2MakeCurrent(context_); | 1806 MojoGLES2MakeCurrent(context_); |
| 1793 glBlendBarrierKHR(); | 1807 glBlendBarrierKHR(); |
| 1794 } | 1808 } |
| 1795 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { | 1809 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { |
| 1796 MojoGLES2MakeCurrent(context_); | 1810 MojoGLES2MakeCurrent(context_); |
| 1797 glApplyScreenSpaceAntialiasingCHROMIUM(); | 1811 glApplyScreenSpaceAntialiasingCHROMIUM(); |
| 1798 } | 1812 } |
| 1799 | 1813 |
| 1800 } // namespace mojo | 1814 } // namespace mojo |
| OLD | NEW |