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

Unified Diff: cc/output/texture_mailbox_deleter.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: Folded sync_point into sync_tokens 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: cc/output/texture_mailbox_deleter.h
diff --git a/cc/output/texture_mailbox_deleter.h b/cc/output/texture_mailbox_deleter.h
index 19760ea0a4c0d032b06180f8bb9886c769976ccc..c065c04ffa8a5207476d5a19b34e5a523194b207 100644
--- a/cc/output/texture_mailbox_deleter.h
+++ b/cc/output/texture_mailbox_deleter.h
@@ -13,6 +13,10 @@ namespace base {
class SingleThreadTaskRunner;
}
+namespace gpu {
+struct SyncToken;
+}
+
namespace cc {
class ContextProvider;
class SingleReleaseCallback;
@@ -40,7 +44,7 @@ class CC_EXPORT TextureMailboxDeleter {
// Runs the |impl_callback| to delete the texture and removes the callback
// from the |impl_callbacks_| list.
void RunDeleteTextureOnImplThread(SingleReleaseCallback* impl_callback,
- uint32 sync_point,
+ const gpu::SyncToken& sync_token,
bool is_lost);
scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner_;

Powered by Google App Engine
This is Rietveld 408576698