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 1639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1650 glLoseContextCHROMIUM(current, other); | 1650 glLoseContextCHROMIUM(current, other); |
1651 } | 1651 } |
1652 GLuint MojoGLES2Impl::InsertSyncPointCHROMIUM() { | 1652 GLuint MojoGLES2Impl::InsertSyncPointCHROMIUM() { |
1653 MojoGLES2MakeCurrent(context_); | 1653 MojoGLES2MakeCurrent(context_); |
1654 return glInsertSyncPointCHROMIUM(); | 1654 return glInsertSyncPointCHROMIUM(); |
1655 } | 1655 } |
1656 void MojoGLES2Impl::WaitSyncPointCHROMIUM(GLuint sync_point) { | 1656 void MojoGLES2Impl::WaitSyncPointCHROMIUM(GLuint sync_point) { |
1657 MojoGLES2MakeCurrent(context_); | 1657 MojoGLES2MakeCurrent(context_); |
1658 glWaitSyncPointCHROMIUM(sync_point); | 1658 glWaitSyncPointCHROMIUM(sync_point); |
1659 } | 1659 } |
| 1660 GLuint64 MojoGLES2Impl::InsertFenceSyncCHROMIUM() { |
| 1661 MojoGLES2MakeCurrent(context_); |
| 1662 return glInsertFenceSyncCHROMIUM(); |
| 1663 } |
| 1664 void MojoGLES2Impl::GenSyncTokenCHROMIUM(GLuint64 fence_sync, |
| 1665 GLbyte* sync_token) { |
| 1666 MojoGLES2MakeCurrent(context_); |
| 1667 glGenSyncTokenCHROMIUM(fence_sync, sync_token); |
| 1668 } |
| 1669 void MojoGLES2Impl::WaitSyncTokenCHROMIUM(const GLbyte* sync_token) { |
| 1670 MojoGLES2MakeCurrent(context_); |
| 1671 glWaitSyncTokenCHROMIUM(sync_token); |
| 1672 } |
1660 void MojoGLES2Impl::DrawBuffersEXT(GLsizei count, const GLenum* bufs) { | 1673 void MojoGLES2Impl::DrawBuffersEXT(GLsizei count, const GLenum* bufs) { |
1661 MojoGLES2MakeCurrent(context_); | 1674 MojoGLES2MakeCurrent(context_); |
1662 glDrawBuffersEXT(count, bufs); | 1675 glDrawBuffersEXT(count, bufs); |
1663 } | 1676 } |
1664 void MojoGLES2Impl::DiscardBackbufferCHROMIUM() { | 1677 void MojoGLES2Impl::DiscardBackbufferCHROMIUM() { |
1665 MojoGLES2MakeCurrent(context_); | 1678 MojoGLES2MakeCurrent(context_); |
1666 glDiscardBackbufferCHROMIUM(); | 1679 glDiscardBackbufferCHROMIUM(); |
1667 } | 1680 } |
1668 void MojoGLES2Impl::ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order, | 1681 void MojoGLES2Impl::ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order, |
1669 GLenum plane_transform, | 1682 GLenum plane_transform, |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1778 void MojoGLES2Impl::BlendBarrierKHR() { | 1791 void MojoGLES2Impl::BlendBarrierKHR() { |
1779 MojoGLES2MakeCurrent(context_); | 1792 MojoGLES2MakeCurrent(context_); |
1780 glBlendBarrierKHR(); | 1793 glBlendBarrierKHR(); |
1781 } | 1794 } |
1782 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { | 1795 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { |
1783 MojoGLES2MakeCurrent(context_); | 1796 MojoGLES2MakeCurrent(context_); |
1784 glApplyScreenSpaceAntialiasingCHROMIUM(); | 1797 glApplyScreenSpaceAntialiasingCHROMIUM(); |
1785 } | 1798 } |
1786 | 1799 |
1787 } // namespace mojo | 1800 } // namespace mojo |
OLD | NEW |