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

Unified Diff: mojo/services/gpu/interfaces/command_buffer.mojom

Issue 1741963002: Auto-formatted all .mojom files. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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: mojo/services/gpu/interfaces/command_buffer.mojom
diff --git a/mojo/services/gpu/interfaces/command_buffer.mojom b/mojo/services/gpu/interfaces/command_buffer.mojom
index 0360a09483b2923d0881d3d444d47ece2814a698..6caadaed69181d92ac40887276ae02265130a295 100644
--- a/mojo/services/gpu/interfaces/command_buffer.mojom
+++ b/mojo/services/gpu/interfaces/command_buffer.mojom
@@ -11,8 +11,8 @@ struct CommandBufferState {
int32 get_offset;
int32 put_offset;
int32 token;
- int32 error; // TODO(piman): enum
- int32 context_lost_reason; // TODO(piman): enum
+ int32 error; // TODO(piman): enum
+ int32 context_lost_reason; // TODO(piman): enum
uint32 generation;
};
@@ -35,15 +35,11 @@ interface CommandBuffer {
// If the context is lost after creation the LostContext method on the
// CommandBufferLostContextObserver's will be called then this pipe will be
// closed.
- Initialize(CommandBufferSyncClient sync_client,
- CommandBufferSyncPointClient sync_point_client,
- CommandBufferLostContextObserver lost_observer,
- handle<shared_buffer> shared_state);
+ Initialize(CommandBufferSyncClient sync_client, CommandBufferSyncPointClient sync_point_client, CommandBufferLostContextObserver lost_observer, handle<shared_buffer> shared_state);
SetGetBuffer(int32 buffer);
Flush(int32 put_offset);
MakeProgress(int32 last_get_offset);
- RegisterTransferBuffer(
- int32 id, handle<shared_buffer> transfer_buffer, uint32 size);
+ RegisterTransferBuffer(int32 id, handle<shared_buffer> transfer_buffer, uint32 size);
DestroyTransferBuffer(int32 id);
// InsertSyncPoint returns the sync point returned via DidInsertSyncPoint.

Powered by Google App Engine
This is Rietveld 408576698