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

Unified Diff: gpu/ipc/in_process_command_buffer.h

Issue 2722883002: gpu: Allow waiting on sync tokens without sync token client. (Closed)
Patch Set: process signal sync token in order in in proc cmd buffer Created 3 years, 10 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.h
diff --git a/gpu/ipc/in_process_command_buffer.h b/gpu/ipc/in_process_command_buffer.h
index 02b1366e5f1734c47802196b5cf283cbeaa59898..6bc7066d72fa3f383ad94d623563bace7d12cc2e 100644
--- a/gpu/ipc/in_process_command_buffer.h
+++ b/gpu/ipc/in_process_command_buffer.h
@@ -237,12 +237,8 @@ class GPU_EXPORT InProcessCommandBuffer : public CommandBuffer,
void ProcessTasksOnGpuThread();
void CheckSequencedThread();
void FenceSyncReleaseOnGpuThread(uint64_t release);
- bool WaitFenceSyncOnGpuThread(gpu::CommandBufferNamespace namespace_id,
- gpu::CommandBufferId command_buffer_id,
- uint64_t release);
- void OnWaitFenceSyncCompleted(CommandBufferNamespace namespace_id,
- CommandBufferId command_buffer_id,
- uint64_t release);
+ bool WaitSyncTokenOnGpuThread(const SyncToken& sync_token);
+ void OnWaitSyncTokenCompleted(const SyncToken& sync_token);
void DescheduleUntilFinishedOnGpuThread();
void RescheduleAfterFinishedOnGpuThread();
void SignalSyncTokenOnGpuThread(const SyncToken& sync_token,

Powered by Google App Engine
This is Rietveld 408576698