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

Unified Diff: cc/resources/release_callback_impl.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/resources/release_callback_impl.h
diff --git a/cc/resources/release_callback_impl.h b/cc/resources/release_callback_impl.h
index 89f22b66976a8381e77f16211895d5311e3fd12f..c5dffb57ab04f569c3545ddfe5b9751896af4d5a 100644
--- a/cc/resources/release_callback_impl.h
+++ b/cc/resources/release_callback_impl.h
@@ -7,10 +7,14 @@
#include "base/callback.h"
+namespace gpu {
+struct SyncToken;
+}
+
namespace cc {
class BlockingTaskRunner;
-typedef base::Callback<void(uint32 sync_point,
+typedef base::Callback<void(const gpu::SyncToken& sync_token,
bool is_lost,
BlockingTaskRunner* main_thread_task_runner)>
ReleaseCallbackImpl;

Powered by Google App Engine
This is Rietveld 408576698