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

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: Fix mock gpu video accelerator factory 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/common/mailbox_holder.cc
diff --git a/gpu/command_buffer/common/mailbox_holder.cc b/gpu/command_buffer/common/mailbox_holder.cc
index 87dec36fe23fb4a875c967753d5ee07c54107c1d..cd4c710dd7ae1e609179f11fe05007cb86fdc2b6 100644
--- a/gpu/command_buffer/common/mailbox_holder.cc
+++ b/gpu/command_buffer/common/mailbox_holder.cc
@@ -8,10 +8,12 @@ namespace gpu {
MailboxHolder::MailboxHolder() : texture_target(0), sync_point(0) {}
-MailboxHolder::MailboxHolder(const Mailbox& mailbox,
- uint32_t texture_target,
- uint32_t sync_point)
+MailboxHolder::MailboxHolder(const gpu::Mailbox& mailbox,
+ uint32_t sync_point,
+ const gpu::SyncToken& sync_token,
+ uint32_t texture_target)
: mailbox(mailbox),
+ sync_token(sync_token),
texture_target(texture_target),
sync_point(sync_point) {}

Powered by Google App Engine
This is Rietveld 408576698