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

Unified Diff: gpu/command_buffer/common/mailbox_holder.cc

Issue 1427543002: Modified old wait sync point functions to also accept new sync tokens. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: format Created 5 years, 1 month 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 | « gpu/command_buffer/common/mailbox_holder.h ('k') | gpu/command_buffer/common/sync_token.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/mailbox_holder.cc
diff --git a/gpu/command_buffer/common/mailbox_holder.cc b/gpu/command_buffer/common/mailbox_holder.cc
index 87dec36fe23fb4a875c967753d5ee07c54107c1d..f496e660023ae7ce655e365c7439cf9023bc0141 100644
--- a/gpu/command_buffer/common/mailbox_holder.cc
+++ b/gpu/command_buffer/common/mailbox_holder.cc
@@ -6,13 +6,13 @@
namespace gpu {
-MailboxHolder::MailboxHolder() : texture_target(0), sync_point(0) {}
+MailboxHolder::MailboxHolder() : texture_target(0) {}
-MailboxHolder::MailboxHolder(const Mailbox& mailbox,
- uint32_t texture_target,
- uint32_t sync_point)
+MailboxHolder::MailboxHolder(const gpu::Mailbox& mailbox,
+ const gpu::SyncToken& sync_token,
+ uint32_t texture_target)
: mailbox(mailbox),
- texture_target(texture_target),
- sync_point(sync_point) {}
+ sync_token(sync_token),
+ texture_target(texture_target) {}
} // namespace gpu
« no previous file with comments | « gpu/command_buffer/common/mailbox_holder.h ('k') | gpu/command_buffer/common/sync_token.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698