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

Side by Side Diff: mojo/services/surfaces/public/interfaces/surfaces.mojom

Issue 1398973004: Move //mojo/services/X/public/... to //mojo/services/X/... (part 2). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_1
Patch Set: add missing copyright notices 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 [DartPackage="mojo_services"] 5 [DartPackage="mojo_services"]
6 module mojo; 6 module mojo;
7 7
8 import "geometry/public/interfaces/geometry.mojom"; 8 import "geometry/interfaces/geometry.mojom";
9 import "surfaces/public/interfaces/quads.mojom"; 9 import "surfaces/public/interfaces/quads.mojom";
10 import "surfaces/public/interfaces/surface_id.mojom"; 10 import "surfaces/public/interfaces/surface_id.mojom";
11 11
12 enum ResourceFormat { 12 enum ResourceFormat {
13 RGBA_8888, 13 RGBA_8888,
14 RGBA_4444, 14 RGBA_4444,
15 BGRA_8888, 15 BGRA_8888,
16 ALPHA_8, 16 ALPHA_8,
17 LUMINANCE_8, 17 LUMINANCE_8,
18 RGB_565, 18 RGB_565,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // identifier. The caller can also produce a fully qualified surface id that 69 // identifier. The caller can also produce a fully qualified surface id that
70 // can be embedded in frames produces by different connections. 70 // can be embedded in frames produces by different connections.
71 CreateSurface(uint32 id_local); 71 CreateSurface(uint32 id_local);
72 72
73 // After the submitted frame is drawn for the first time, the surface will 73 // After the submitted frame is drawn for the first time, the surface will
74 // respond to the SubmitFrame message. Clients should use this acknowledgement 74 // respond to the SubmitFrame message. Clients should use this acknowledgement
75 // to ratelimit frame submissions. 75 // to ratelimit frame submissions.
76 SubmitFrame(uint32 id_local, Frame frame) => (); 76 SubmitFrame(uint32 id_local, Frame frame) => ();
77 DestroySurface(uint32 id_local); 77 DestroySurface(uint32 id_local);
78 }; 78 };
OLDNEW
« no previous file with comments | « mojo/services/surfaces/public/interfaces/quads.mojom ('k') | mojo/services/view_manager/public/cpp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698