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

Unified Diff: content/common/gpu/client/command_buffer_proxy_impl.h

Issue 12581004: Move InsertSyncPoint to GLES2Interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/client/command_buffer_proxy_impl.h
diff --git a/content/common/gpu/client/command_buffer_proxy_impl.h b/content/common/gpu/client/command_buffer_proxy_impl.h
index ff50fcfa73658f2ccb62a86f67ebcb05239bdcab..95f3c60eb1dd6f5d341174254006af4f3be2bae5 100644
--- a/content/common/gpu/client/command_buffer_proxy_impl.h
+++ b/content/common/gpu/client/command_buffer_proxy_impl.h
@@ -87,6 +87,7 @@ class CommandBufferProxyImpl
virtual void SetParseError(gpu::error::Error error) OVERRIDE;
virtual void SetContextLostReason(
gpu::error::ContextLostReason reason) OVERRIDE;
+ virtual uint32 InsertSyncPoint() OVERRIDE;
void SetMemoryAllocationChangedCallback(
const base::Callback<void(const GpuMemoryAllocationForRenderer&)>&
@@ -95,12 +96,6 @@ class CommandBufferProxyImpl
bool DiscardBackbuffer();
bool EnsureBackbuffer();
- // Inserts a sync point, returning its ID. This is handled on the IO thread of
- // the GPU process, and so should be relatively fast, but its effect is
- // ordered wrt other messages (in particular, Flush). Sync point IDs are
- // global and can be used for cross-channel synchronization.
- uint32 InsertSyncPoint();
-
// Makes this command buffer invoke a task when a sync point is reached, or
// the command buffer that inserted that sync point is destroyed.
bool SignalSyncPoint(uint32 sync_point,
« no previous file with comments | « no previous file | content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698