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

Unified Diff: third_party/mojo_services/src/gpu/public/interfaces/command_buffer.mojom

Issue 877993004: Revert "Update mojo sdk to rev 8d45c89c30b230843c5bd6dd0693a555750946c0" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: third_party/mojo_services/src/gpu/public/interfaces/command_buffer.mojom
diff --git a/third_party/mojo_services/src/gpu/public/interfaces/command_buffer.mojom b/third_party/mojo_services/src/gpu/public/interfaces/command_buffer.mojom
index aa2c5567eb9da0caba34f3420ade2384b2150033..a31b3dde3ecf5ffb79cd7c815a67725ff80d61e8 100644
--- a/third_party/mojo_services/src/gpu/public/interfaces/command_buffer.mojom
+++ b/third_party/mojo_services/src/gpu/public/interfaces/command_buffer.mojom
@@ -25,19 +25,10 @@ interface CommandBufferSyncPointClient {
DidInsertSyncPoint(uint32 sync_point);
};
-interface CommandBufferLostContextObserver {
- DidLoseContext(int32 context_lost_reason);
-};
-
+[Client=CommandBufferClient]
interface CommandBuffer {
- // Initialize attempts to initialize the command buffer. Success or failure
- // will be communicated via the CommandBufferSyncClient DidInitialize() call.
- // 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);
SetGetBuffer(int32 buffer);
Flush(int32 put_offset);
@@ -52,4 +43,11 @@ interface CommandBuffer {
InsertSyncPoint(bool retire);
RetireSyncPoint(uint32 sync_point);
Echo() => ();
+
+ // TODO(piman): sync points
+};
+
+interface CommandBufferClient {
+ DidDestroy();
+ LostContext(int32 lost_reason); // TODO(piman): enum
};
« no previous file with comments | « third_party/mojo_services/src/geometry/public/cpp/DEPS ('k') | third_party/mojo_services/src/native_viewport/public/cpp/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698