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

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

Issue 24925002: Move Insert/SignalSyncPoint() to GpuControl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
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 05c8f09b8b2150c37de5ca0289327cc4bf25a02e..bfa0d9cbd9cdab241bd96ed793ea4af8d941dd17 100644
--- a/content/common/gpu/client/command_buffer_proxy_impl.h
+++ b/content/common/gpu/client/command_buffer_proxy_impl.h
@@ -97,7 +97,6 @@ class CommandBufferProxyImpl
virtual void SetParseError(gpu::error::Error error) OVERRIDE;
virtual void SetContextLostReason(
gpu::error::ContextLostReason reason) OVERRIDE;
- virtual uint32 InsertSyncPoint() OVERRIDE;
// gpu::GpuControl implementation:
virtual bool SupportsGpuMemoryBuffer() OVERRIDE;
@@ -107,6 +106,9 @@ class CommandBufferProxyImpl
unsigned internalformat,
int32* id) OVERRIDE;
virtual void DestroyGpuMemoryBuffer(int32 id) OVERRIDE;
+ virtual uint32 InsertSyncPoint() OVERRIDE;
+ virtual void SignalSyncPoint(uint32 sync_point,
+ const base::Closure& callback) OVERRIDE;
int GetRouteID() const;
bool Echo(const base::Closure& callback);
@@ -123,11 +125,6 @@ class CommandBufferProxyImpl
bool DiscardBackbuffer();
bool EnsureBackbuffer();
- // 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,
- const base::Closure& callback);
-
// Makes this command buffer invoke a task when a query is completed, or
// the command buffer that inserted that sync point is destroyed or the
// query was deleted. Should be invoked after endQuery.

Powered by Google App Engine
This is Rietveld 408576698