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

Unified Diff: content/browser/compositor/owned_mailbox.h

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 | « content/browser/compositor/delegated_frame_host.cc ('k') | content/browser/compositor/owned_mailbox.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/compositor/owned_mailbox.h
diff --git a/content/browser/compositor/owned_mailbox.h b/content/browser/compositor/owned_mailbox.h
index c8868148f4d8cfcfc3ce5c77b48cb6e3b8f24497..07aac97bf313cf2d245f536f4650b681931d441a 100644
--- a/content/browser/compositor/owned_mailbox.h
+++ b/content/browser/compositor/owned_mailbox.h
@@ -24,10 +24,12 @@ class CONTENT_EXPORT OwnedMailbox : public base::RefCounted<OwnedMailbox>,
const gpu::MailboxHolder& holder() const { return mailbox_holder_; }
const gpu::Mailbox& mailbox() const { return mailbox_holder_.mailbox; }
+ const gpu::SyncToken& sync_token() const {
+ return mailbox_holder_.sync_token;
+ }
uint32 texture_id() const { return texture_id_; }
uint32 target() const { return mailbox_holder_.texture_target; }
- uint32 sync_point() const { return mailbox_holder_.sync_point; }
- void UpdateSyncPoint(uint32 sync_point);
+ void UpdateSyncToken(const gpu::SyncToken& sync_token);
void Destroy();
protected:
« no previous file with comments | « content/browser/compositor/delegated_frame_host.cc ('k') | content/browser/compositor/owned_mailbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698