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

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: Some fixes Created 5 years, 3 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
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 1603 matching lines...) Expand 10 before | Expand all | Expand 10 after
1614 NOTREACHED() << "Unimplemented LoseContextCHROMIUM."; 1614 NOTREACHED() << "Unimplemented LoseContextCHROMIUM.";
1615 } 1615 }
1616 GLuint MojoGLES2Impl::InsertSyncPointCHROMIUM() { 1616 GLuint MojoGLES2Impl::InsertSyncPointCHROMIUM() {
1617 MojoGLES2MakeCurrent(context_); 1617 MojoGLES2MakeCurrent(context_);
1618 return glInsertSyncPointCHROMIUM(); 1618 return glInsertSyncPointCHROMIUM();
1619 } 1619 }
1620 void MojoGLES2Impl::WaitSyncPointCHROMIUM(GLuint sync_point) { 1620 void MojoGLES2Impl::WaitSyncPointCHROMIUM(GLuint sync_point) {
1621 MojoGLES2MakeCurrent(context_); 1621 MojoGLES2MakeCurrent(context_);
1622 glWaitSyncPointCHROMIUM(sync_point); 1622 glWaitSyncPointCHROMIUM(sync_point);
1623 } 1623 }
1624 GLuint MojoGLES2Impl::InsertFenceSyncCHROMIUM() {
1625 MojoGLES2MakeCurrent(context_);
1626 return glInsertFenceSyncCHROMIUM();
1627 }
1628 void MojoGLES2Impl::GenSyncTokenCHROMIUM(GLuint fence_sync,
1629 GLbyte* sync_token) {
1630 MojoGLES2MakeCurrent(context_);
1631 glGenSyncTokenCHROMIUM(fence_sync, sync_token);
1632 }
1633 void MojoGLES2Impl::WaitSyncTokenCHROMIUM(const GLbyte* sync_token) {
1634 MojoGLES2MakeCurrent(context_);
1635 glWaitSyncTokenCHROMIUM(sync_token);
1636 }
1624 void MojoGLES2Impl::DrawBuffersEXT(GLsizei count, const GLenum* bufs) { 1637 void MojoGLES2Impl::DrawBuffersEXT(GLsizei count, const GLenum* bufs) {
1625 NOTREACHED() << "Unimplemented DrawBuffersEXT."; 1638 NOTREACHED() << "Unimplemented DrawBuffersEXT.";
1626 } 1639 }
1627 void MojoGLES2Impl::DiscardBackbufferCHROMIUM() { 1640 void MojoGLES2Impl::DiscardBackbufferCHROMIUM() {
1628 NOTREACHED() << "Unimplemented DiscardBackbufferCHROMIUM."; 1641 NOTREACHED() << "Unimplemented DiscardBackbufferCHROMIUM.";
1629 } 1642 }
1630 void MojoGLES2Impl::ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order, 1643 void MojoGLES2Impl::ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
1631 GLenum plane_transform, 1644 GLenum plane_transform,
1632 GLuint overlay_texture_id, 1645 GLuint overlay_texture_id,
1633 GLint bounds_x, 1646 GLint bounds_x,
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
1716 } 1729 }
1717 GLenum MojoGLES2Impl::GetGraphicsResetStatusKHR() { 1730 GLenum MojoGLES2Impl::GetGraphicsResetStatusKHR() {
1718 NOTREACHED() << "Unimplemented GetGraphicsResetStatusKHR."; 1731 NOTREACHED() << "Unimplemented GetGraphicsResetStatusKHR.";
1719 return 0; 1732 return 0;
1720 } 1733 }
1721 void MojoGLES2Impl::BlendBarrierKHR() { 1734 void MojoGLES2Impl::BlendBarrierKHR() {
1722 NOTREACHED() << "Unimplemented BlendBarrierKHR."; 1735 NOTREACHED() << "Unimplemented BlendBarrierKHR.";
1723 } 1736 }
1724 1737
1725 } // namespace mojo 1738 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698