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

Unified Diff: content/common/gpu/gpu_channel.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/gpu/client/gpu_channel_host.cc ('k') | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel.h
diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
index 69c49eb07901d9c2b21bb6a4fd7afa498dd0565d..53b706b905bf20bedeaf894beb03bbb72b4c18f8 100644
--- a/content/common/gpu/gpu_channel.h
+++ b/content/common/gpu/gpu_channel.h
@@ -36,7 +36,7 @@ class WaitableEvent;
namespace gpu {
class PreemptionFlag;
-class SyncPointClientState;
+class SyncPointOrderData;
class SyncPointManager;
union ValueState;
class ValueStateMap;
@@ -172,8 +172,8 @@ class CONTENT_EXPORT GpuChannel
// Returns the global order number for the last unprocessed IPC message.
uint32_t GetUnprocessedOrderNum() const;
- // Returns the shared sync point client state.
- scoped_refptr<gpu::SyncPointClientState> GetSyncPointClientState();
+ // Returns the shared sync point global order data.
+ scoped_refptr<gpu::SyncPointOrderData> GetSyncPointOrderData();
void HandleMessage();
@@ -410,7 +410,7 @@ class GpuChannelMessageQueue
const base::WeakPtr<GpuChannel>& gpu_channel,
base::SingleThreadTaskRunner* task_runner);
- scoped_refptr<gpu::SyncPointClientState> GetSyncPointClientState();
+ scoped_refptr<gpu::SyncPointOrderData> GetSyncPointOrderData();
// Returns the global order number for the last unprocessed IPC message.
uint32_t GetUnprocessedOrderNum() const;
@@ -461,7 +461,7 @@ class GpuChannelMessageQueue
mutable base::Lock channel_messages_lock_;
// Keeps track of sync point related state such as message order numbers.
- scoped_refptr<gpu::SyncPointClientState> sync_point_client_state_;
+ scoped_refptr<gpu::SyncPointOrderData> sync_point_order_data_;
base::WeakPtr<GpuChannel> gpu_channel_;
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
« no previous file with comments | « content/common/gpu/client/gpu_channel_host.cc ('k') | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698