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 1635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1646 glDiscardFramebufferEXT(target, count, attachments); | 1646 glDiscardFramebufferEXT(target, count, attachments); |
1647 } | 1647 } |
1648 void MojoGLES2Impl::LoseContextCHROMIUM(GLenum current, GLenum other) { | 1648 void MojoGLES2Impl::LoseContextCHROMIUM(GLenum current, GLenum other) { |
1649 MojoGLES2MakeCurrent(context_); | 1649 MojoGLES2MakeCurrent(context_); |
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 const GLbyte* sync_token) { |
1657 MojoGLES2MakeCurrent(context_); | 1658 MojoGLES2MakeCurrent(context_); |
1658 glWaitSyncPointCHROMIUM(sync_point); | 1659 glWaitSyncPointCHROMIUM(sync_point, sync_token); |
1659 } | 1660 } |
1660 GLuint64 MojoGLES2Impl::InsertFenceSyncCHROMIUM() { | 1661 GLuint64 MojoGLES2Impl::InsertFenceSyncCHROMIUM() { |
1661 MojoGLES2MakeCurrent(context_); | 1662 MojoGLES2MakeCurrent(context_); |
1662 return glInsertFenceSyncCHROMIUM(); | 1663 return glInsertFenceSyncCHROMIUM(); |
1663 } | 1664 } |
1664 void MojoGLES2Impl::GenSyncTokenCHROMIUM(GLuint64 fence_sync, | 1665 void MojoGLES2Impl::GenSyncTokenCHROMIUM(GLuint64 fence_sync, |
1665 GLbyte* sync_token) { | 1666 GLbyte* sync_token) { |
1666 MojoGLES2MakeCurrent(context_); | 1667 MojoGLES2MakeCurrent(context_); |
1667 glGenSyncTokenCHROMIUM(fence_sync, sync_token); | 1668 glGenSyncTokenCHROMIUM(fence_sync, sync_token); |
1668 } | 1669 } |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1796 void MojoGLES2Impl::BlendBarrierKHR() { | 1797 void MojoGLES2Impl::BlendBarrierKHR() { |
1797 MojoGLES2MakeCurrent(context_); | 1798 MojoGLES2MakeCurrent(context_); |
1798 glBlendBarrierKHR(); | 1799 glBlendBarrierKHR(); |
1799 } | 1800 } |
1800 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { | 1801 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { |
1801 MojoGLES2MakeCurrent(context_); | 1802 MojoGLES2MakeCurrent(context_); |
1802 glApplyScreenSpaceAntialiasingCHROMIUM(); | 1803 glApplyScreenSpaceAntialiasingCHROMIUM(); |
1803 } | 1804 } |
1804 | 1805 |
1805 } // namespace mojo | 1806 } // namespace mojo |
OLD | NEW |