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

Unified Diff: gpu/ipc/service/gpu_command_buffer_stub.h

Issue 2722883002: gpu: Allow waiting on sync tokens without sync token client. (Closed)
Patch Set: review 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
« no previous file with comments | « gpu/ipc/service/gpu_channel_test_common.cc ('k') | gpu/ipc/service/gpu_command_buffer_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/gpu_command_buffer_stub.h
diff --git a/gpu/ipc/service/gpu_command_buffer_stub.h b/gpu/ipc/service/gpu_command_buffer_stub.h
index 75dba0a29de850d4e9ca608a9e72116ed88fb1eb..3803172a1fadf085ee5b816a0d7bd8db84c599bb 100644
--- a/gpu/ipc/service/gpu_command_buffer_stub.h
+++ b/gpu/ipc/service/gpu_command_buffer_stub.h
@@ -167,21 +167,16 @@ class GPU_EXPORT GpuCommandBufferStub
uint32_t size);
void OnDestroyTransferBuffer(int32_t id);
void OnGetTransferBuffer(int32_t id, IPC::Message* reply_message);
+ bool OnWaitSyncToken(const SyncToken& sync_token);
void OnEnsureBackbuffer();
- void OnWaitSyncToken(const SyncToken& sync_token);
void OnSignalSyncToken(const SyncToken& sync_token, uint32_t id);
void OnSignalAck(uint32_t id);
void OnSignalQuery(uint32_t query, uint32_t id);
void OnFenceSyncRelease(uint64_t release);
- bool OnWaitFenceSync(CommandBufferNamespace namespace_id,
- CommandBufferId command_buffer_id,
- uint64_t release);
- void OnWaitFenceSyncCompleted(CommandBufferNamespace namespace_id,
- CommandBufferId command_buffer_id,
- uint64_t release);
+ void OnWaitSyncTokenCompleted(const SyncToken& sync_token);
void OnDescheduleUntilFinished();
void OnRescheduleAfterFinished();
@@ -211,9 +206,6 @@ class GPU_EXPORT GpuCommandBufferStub
bool CheckContextLost();
void CheckCompleteWaits();
- void PullTextureUpdates(CommandBufferNamespace namespace_id,
- CommandBufferId command_buffer_id,
- uint32_t release);
// The lifetime of objects of this class is managed by a GpuChannel. The
// GpuChannels destroy all the GpuCommandBufferStubs that they own when they
« no previous file with comments | « gpu/ipc/service/gpu_channel_test_common.cc ('k') | gpu/ipc/service/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698