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

Unified Diff: components/mus/public/interfaces/command_buffer.mojom

Issue 2096293002: Eliminate usage of InterfacePtr::WaitForIncomingResponse. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: components/mus/public/interfaces/command_buffer.mojom
diff --git a/components/mus/public/interfaces/command_buffer.mojom b/components/mus/public/interfaces/command_buffer.mojom
index f9a977135e72cb2be49a68438aa8db060cfc4a4c..55619dd61a50df10bdefc2f7c673bbf7f67a2e99 100644
--- a/components/mus/public/interfaces/command_buffer.mojom
+++ b/components/mus/public/interfaces/command_buffer.mojom
@@ -33,11 +33,13 @@ interface CommandBuffer {
// If the context is lost after creation the LostContext method on the
// CommandBufferClient's will be called then this pipe will be
// closed.
+ [Sync]
Initialize(CommandBufferClient client,
handle<shared_buffer> shared_state,
array<int32> attribs) => (CommandBufferInitializeResult? result);
SetGetBuffer(int32 buffer);
Flush(int32 put_offset);
+ [Sync]
MakeProgress(int32 last_get_offset) => (gpu.mojom.CommandBufferState state);
RegisterTransferBuffer(
int32 id, handle<shared_buffer> transfer_buffer, uint32 size);

Powered by Google App Engine
This is Rietveld 408576698