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

Side by Side Diff: components/mus/public/interfaces/command_buffer.mojom

Issue 1406153004: components/mus/public/interfaces View => Window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Yet another rebase Created 5 years, 2 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 unified diff | Download patch
OLDNEW
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
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 };
OLDNEW
« no previous file with comments | « components/mus/public/interfaces/BUILD.gn ('k') | components/mus/public/interfaces/compositor_frame.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698