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

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: rebase past r226145 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
« no previous file with comments | « no previous file | content/common/gpu/client/command_buffer_proxy_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 58dbb31fc50555ede99bf1e663a6da96a3199c6a..77b3c9c28a6666f8d6e0179c902a3bb1780b53f9 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;
@@ -109,6 +108,9 @@ class CommandBufferProxyImpl
virtual void DestroyGpuMemoryBuffer(int32 id) OVERRIDE;
virtual bool GenerateMailboxNames(unsigned num,
std::vector<gpu::Mailbox>* names) 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);
@@ -125,11 +127,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.
« no previous file with comments | « no previous file | content/common/gpu/client/command_buffer_proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698