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

Side by Side Diff: mojo/services/gpu/public/interfaces/command_buffer.mojom

Issue 839903002: Make more services' public interfaces flexible wrt location in repo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Change to use import_dirs 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 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 mojo;
6 6
7 import "mojo/services/gpu/public/interfaces/gpu_capabilities.mojom"; 7 import "gpu/public/interfaces/gpu_capabilities.mojom";
8 8
9 struct CommandBufferState { 9 struct CommandBufferState {
10 int32 num_entries; 10 int32 num_entries;
11 int32 get_offset; 11 int32 get_offset;
12 int32 put_offset; 12 int32 put_offset;
13 int32 token; 13 int32 token;
14 int32 error; // TODO(piman): enum 14 int32 error; // TODO(piman): enum
15 int32 context_lost_reason; // TODO(piman): enum 15 int32 context_lost_reason; // TODO(piman): enum
16 uint32 generation; 16 uint32 generation;
17 }; 17 };
(...skipping 26 matching lines...) Expand all
44 RetireSyncPoint(uint32 sync_point); 44 RetireSyncPoint(uint32 sync_point);
45 Echo() => (); 45 Echo() => ();
46 46
47 // TODO(piman): sync points 47 // TODO(piman): sync points
48 }; 48 };
49 49
50 interface CommandBufferClient { 50 interface CommandBufferClient {
51 DidDestroy(); 51 DidDestroy();
52 LostContext(int32 lost_reason); // TODO(piman): enum 52 LostContext(int32 lost_reason); // TODO(piman): enum
53 }; 53 };
OLDNEW
« 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