Index: mojo/services/public/interfaces/gpu/command_buffer.mojom |
diff --git a/mojo/services/public/interfaces/gpu/command_buffer.mojom b/mojo/services/public/interfaces/gpu/command_buffer.mojom |
index 1a2248db0641ecb93996ab1c0f43efb30db577a8..df4c03607e11770a12c8a7b56d2a8d473318521b 100644 |
--- a/mojo/services/public/interfaces/gpu/command_buffer.mojom |
+++ b/mojo/services/public/interfaces/gpu/command_buffer.mojom |
@@ -36,7 +36,12 @@ interface CommandBuffer { |
RegisterTransferBuffer( |
int32 id, handle<shared_buffer>? transfer_buffer, uint32 size); |
DestroyTransferBuffer(int32 id); |
- InsertSyncPoint(); // Sync point returned via DidInsertSyncPoint |
+ |
+ // InsertSyncPoint returns the sync point returned via DidInsertSyncPoint. |
+ // If |retire| is true, the sync point is retired on insertion. Otherwise, |
+ // explicitly call RetireSyncPoint to retire it. |
+ InsertSyncPoint(bool retire); |
+ RetireSyncPoint(uint32 sync_point); |
Echo() => (); |
// TODO(piman): sync points |