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

Unified Diff: gpu/ipc/in_process_command_buffer.cc

Issue 2727573003: gpu: Add sync token dependencies to flush metadata. (Closed)
Patch Set: jbauman's review Created 3 years, 9 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: gpu/ipc/in_process_command_buffer.cc
diff --git a/gpu/ipc/in_process_command_buffer.cc b/gpu/ipc/in_process_command_buffer.cc
index 7db6617e44f7289686f082dd7687ee8bd362a97b..ce88582d11eb9f73c601554715e4009012c4b31f 100644
--- a/gpu/ipc/in_process_command_buffer.cc
+++ b/gpu/ipc/in_process_command_buffer.cc
@@ -981,9 +981,11 @@ void InProcessCommandBuffer::SignalSyncToken(const SyncToken& sync_token,
base::Unretained(this), sync_token, WrapCallback(callback)));
}
+void InProcessCommandBuffer::WaitSyncToken(const SyncToken& sync_token) {}
+
bool InProcessCommandBuffer::CanWaitUnverifiedSyncToken(
- const SyncToken* sync_token) {
- return sync_token->namespace_id() == GetNamespaceID();
+ const SyncToken& sync_token) {
+ return sync_token.namespace_id() == GetNamespaceID();
}
#if defined(OS_WIN)

Powered by Google App Engine
This is Rietveld 408576698