Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(556)

Side by Side Diff: mojo/gpu/mojo_gles2_impl_autogen.cc

Issue 1331843005: Implemented new fence syncs which replaces the old sync points. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted mojo readme, changed wait() to take a pointer Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/gpu/mojo_gles2_impl_autogen.h ('k') | ppapi/proxy/ppapi_command_buffer_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « mojo/gpu/mojo_gles2_impl_autogen.h ('k') | ppapi/proxy/ppapi_command_buffer_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698