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

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

Issue 861683003: Move services code brought in from Mojo to live under //third_party. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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 | « mojo/services/gpu/public/interfaces/BUILD.gn ('k') | mojo/services/gpu/public/interfaces/gpu.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/gpu/public/interfaces/command_buffer.mojom
diff --git a/mojo/services/gpu/public/interfaces/command_buffer.mojom b/mojo/services/gpu/public/interfaces/command_buffer.mojom
deleted file mode 100644
index a31b3dde3ecf5ffb79cd7c815a67725ff80d61e8..0000000000000000000000000000000000000000
--- a/mojo/services/gpu/public/interfaces/command_buffer.mojom
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module mojo;
-
-import "gpu/public/interfaces/gpu_capabilities.mojom";
-
-struct CommandBufferState {
- int32 num_entries;
- int32 get_offset;
- int32 put_offset;
- int32 token;
- int32 error; // TODO(piman): enum
- int32 context_lost_reason; // TODO(piman): enum
- uint32 generation;
-};
-
-interface CommandBufferSyncClient {
- DidInitialize(bool success, GpuCapabilities capabilities);
- DidMakeProgress(CommandBufferState state);
-};
-
-interface CommandBufferSyncPointClient {
- DidInsertSyncPoint(uint32 sync_point);
-};
-
-[Client=CommandBufferClient]
-interface CommandBuffer {
- Initialize(CommandBufferSyncClient sync_client,
- CommandBufferSyncPointClient sync_point_client,
- 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);
- DestroyTransferBuffer(int32 id);
-
- // 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
-};
-
-interface CommandBufferClient {
- DidDestroy();
- LostContext(int32 lost_reason); // TODO(piman): enum
-};
« no previous file with comments | « mojo/services/gpu/public/interfaces/BUILD.gn ('k') | mojo/services/gpu/public/interfaces/gpu.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698