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

Unified Diff: gpu/command_buffer/service/mailbox_manager.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
Index: gpu/command_buffer/service/mailbox_manager.h
diff --git a/gpu/command_buffer/service/mailbox_manager.h b/gpu/command_buffer/service/mailbox_manager.h
index 2bfdb8957f5215c11774100debdc147cc20838ca..78fb8f882e03bf4166bc8fca1cc52b41b856b937 100644
--- a/gpu/command_buffer/service/mailbox_manager.h
+++ b/gpu/command_buffer/service/mailbox_manager.h
@@ -13,6 +13,7 @@ namespace gpu {
namespace gles2 {
class Texture;
+struct SyncToken;
// Manages resources scoped beyond the context or context group level.
class GPU_EXPORT MailboxManager : public base::RefCounted<MailboxManager> {
@@ -29,8 +30,8 @@ class GPU_EXPORT MailboxManager : public base::RefCounted<MailboxManager> {
virtual bool UsesSync() = 0;
// Used to synchronize texture state across share groups.
- virtual void PushTextureUpdates(uint32 sync_point) = 0;
- virtual void PullTextureUpdates(uint32 sync_point) = 0;
+ virtual void PushTextureUpdates(const SyncToken& token) = 0;
+ virtual void PullTextureUpdates(const SyncToken& token) = 0;
// Destroy any mailbox that reference the given texture.
virtual void TextureDeleted(Texture* texture) = 0;
« no previous file with comments | « gpu/command_buffer/service/in_process_command_buffer.cc ('k') | gpu/command_buffer/service/mailbox_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698