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

Unified Diff: gpu/ipc/in_process_command_buffer.cc

Issue 2727573003: gpu: Add sync token dependencies to flush metadata. (Closed)
Patch Set: piman's review 2 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
« no previous file with comments | « gpu/ipc/in_process_command_buffer.h ('k') | gpu/ipc/service/gpu_command_buffer_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..6f1f7f52d4baffab481f4e531a1f48b764ba96a2 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::WaitSyncTokenHint(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)
« no previous file with comments | « gpu/ipc/in_process_command_buffer.h ('k') | gpu/ipc/service/gpu_command_buffer_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698