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

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: 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: cc/output/texture_mailbox_deleter.h
diff --git a/cc/output/texture_mailbox_deleter.h b/cc/output/texture_mailbox_deleter.h
index 19760ea0a4c0d032b06180f8bb9886c769976ccc..eedd4a211e00a0b5b2f9aeb36b871f925b693626 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;
@@ -41,6 +45,7 @@ class CC_EXPORT TextureMailboxDeleter {
// 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