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

Unified Diff: gpu/command_buffer/service/mailbox_manager_sync.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_sync.h
diff --git a/gpu/command_buffer/service/mailbox_manager_sync.h b/gpu/command_buffer/service/mailbox_manager_sync.h
index 481948ee8d55f9f83298ed887baeb433b8a2fd45..ff16dd7e84c938b34d1c6abd63414e790e39797f 100644
--- a/gpu/command_buffer/service/mailbox_manager_sync.h
+++ b/gpu/command_buffer/service/mailbox_manager_sync.h
@@ -33,8 +33,8 @@ class GPU_EXPORT MailboxManagerSync : public MailboxManager {
Texture* ConsumeTexture(const Mailbox& mailbox) override;
void ProduceTexture(const Mailbox& mailbox, Texture* texture) override;
bool UsesSync() override;
- void PushTextureUpdates(uint32 sync_point) override;
- void PullTextureUpdates(uint32 sync_point) override;
+ void PushTextureUpdates(const SyncToken& token) override;
+ void PullTextureUpdates(const SyncToken& token) override;
void TextureDeleted(Texture* texture) override;
private:
« no previous file with comments | « gpu/command_buffer/service/mailbox_manager_impl.h ('k') | gpu/command_buffer/service/mailbox_manager_sync.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698