| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module mojo; | 5 module mus.mojom; |
| 6 | 6 |
| 7 import "components/mus/public/interfaces/gpu_capabilities.mojom"; | 7 import "components/mus/public/interfaces/gpu_capabilities.mojom"; |
| 8 import "ui/mojo/geometry/geometry.mojom"; | 8 import "ui/mojo/geometry/geometry.mojom"; |
| 9 | 9 |
| 10 struct CommandBufferState { | 10 struct CommandBufferState { |
| 11 int32 num_entries; | 11 int32 num_entries; |
| 12 int32 get_offset; | 12 int32 get_offset; |
| 13 int32 put_offset; | 13 int32 put_offset; |
| 14 int32 token; | 14 int32 token; |
| 15 int32 error; // TODO(piman): enum | 15 int32 error; // TODO(piman): enum |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 // InsertSyncPoint returns the sync point returned via DidInsertSyncPoint. | 52 // InsertSyncPoint returns the sync point returned via DidInsertSyncPoint. |
| 53 // If |retire| is true, the sync point is retired on insertion. Otherwise, | 53 // If |retire| is true, the sync point is retired on insertion. Otherwise, |
| 54 // explicitly call RetireSyncPoint to retire it. | 54 // explicitly call RetireSyncPoint to retire it. |
| 55 InsertSyncPoint(bool retire); | 55 InsertSyncPoint(bool retire); |
| 56 RetireSyncPoint(uint32 sync_point); | 56 RetireSyncPoint(uint32 sync_point); |
| 57 Echo() => (); | 57 Echo() => (); |
| 58 | 58 |
| 59 CreateImage(int32 id, | 59 CreateImage(int32 id, |
| 60 handle memory_handle, | 60 handle memory_handle, |
| 61 int32 type, | 61 int32 type, |
| 62 Size size, | 62 mojo.Size size, |
| 63 int32 format, | 63 int32 format, |
| 64 int32 internal_format); | 64 int32 internal_format); |
| 65 DestroyImage(int32 id); | 65 DestroyImage(int32 id); |
| 66 }; | 66 }; |
| OLD | NEW |