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

Unified Diff: cc/resources/texture_mailbox.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 | « cc/resources/texture_mailbox.h ('k') | cc/resources/transferable_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/texture_mailbox.cc
diff --git a/cc/resources/texture_mailbox.cc b/cc/resources/texture_mailbox.cc
index ad008b82150b61b4e6beae1b4c22bd495fb1d25e..304567132c7b377eff6d4d5e82ad6960c94c72b7 100644
--- a/cc/resources/texture_mailbox.cc
+++ b/cc/resources/texture_mailbox.cc
@@ -19,19 +19,19 @@ TextureMailbox::TextureMailbox(const gpu::MailboxHolder& mailbox_holder)
nearest_neighbor_(false) {}
TextureMailbox::TextureMailbox(const gpu::Mailbox& mailbox,
- uint32 target,
- uint32 sync_point)
- : mailbox_holder_(mailbox, target, sync_point),
+ const gpu::SyncToken& sync_token,
+ uint32 target)
+ : mailbox_holder_(mailbox, sync_token, target),
shared_bitmap_(NULL),
is_overlay_candidate_(false),
nearest_neighbor_(false) {}
TextureMailbox::TextureMailbox(const gpu::Mailbox& mailbox,
+ const gpu::SyncToken& sync_token,
uint32 target,
- uint32 sync_point,
const gfx::Size& size_in_pixels,
bool is_overlay_candidate)
- : mailbox_holder_(mailbox, target, sync_point),
+ : mailbox_holder_(mailbox, sync_token, target),
shared_bitmap_(nullptr),
size_in_pixels_(size_in_pixels),
is_overlay_candidate_(is_overlay_candidate),
« no previous file with comments | « cc/resources/texture_mailbox.h ('k') | cc/resources/transferable_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698