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

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

Issue 790213002: Restructure public side of geometry service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Nits Created 6 years 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/public/interfaces/geometry/geometry.mojom"; 7 import "mojo/services/geometry/public/interfaces/geometry.mojom";
8 import "mojo/services/public/interfaces/gpu/command_buffer.mojom"; 8 import "mojo/services/public/interfaces/gpu/command_buffer.mojom";
9 import "mojo/services/public/interfaces/gpu/viewport_parameter_listener.mojom"; 9 import "mojo/services/public/interfaces/gpu/viewport_parameter_listener.mojom";
10 import "mojo/services/surfaces/public/interfaces/quads.mojom"; 10 import "mojo/services/surfaces/public/interfaces/quads.mojom";
11 import "mojo/services/surfaces/public/interfaces/surface_id.mojom"; 11 import "mojo/services/surfaces/public/interfaces/surface_id.mojom";
12 12
13 enum ResourceFormat { 13 enum ResourceFormat {
14 RGBA_8888, 14 RGBA_8888,
15 RGBA_4444, 15 RGBA_4444,
16 BGRA_8888, 16 BGRA_8888,
17 ALPHA_8, 17 ALPHA_8,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // surface will respond to the SubmitFrame message. Clients should use this 67 // surface will respond to the SubmitFrame message. Clients should use this
68 // acknowledgement to ratelimit frame submissions. 68 // acknowledgement to ratelimit frame submissions.
69 SubmitFrame(SurfaceId id, Frame frame) => (); 69 SubmitFrame(SurfaceId id, Frame frame) => ();
70 DestroySurface(SurfaceId id); 70 DestroySurface(SurfaceId id);
71 71
72 CreateGLES2BoundSurface(CommandBuffer gles2_client, 72 CreateGLES2BoundSurface(CommandBuffer gles2_client,
73 SurfaceId id, 73 SurfaceId id,
74 Size size, 74 Size size,
75 ViewportParameterListener& listener); 75 ViewportParameterListener& listener);
76 }; 76 };
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