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

Side by Side Diff: components/view_manager/public/interfaces/surfaces.mojom

Issue 1150093003: Move GLES2, GPU & Surfaces into the ViewManager directory. This does not merge the applications, th… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 7 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 "components/surfaces/public/interfaces/quads.mojom"; 7 import "components/view_manager/public/interfaces/quads.mojom";
8 import "components/surfaces/public/interfaces/surface_id.mojom"; 8 import "components/view_manager/public/interfaces/surface_id.mojom";
9 import "ui/mojo/geometry/geometry.mojom"; 9 import "ui/mojo/geometry/geometry.mojom";
10 10
11 enum ResourceFormat { 11 enum ResourceFormat {
12 RGBA_8888, 12 RGBA_8888,
13 RGBA_4444, 13 RGBA_4444,
14 BGRA_8888, 14 BGRA_8888,
15 ALPHA_8, 15 ALPHA_8,
16 LUMINANCE_8, 16 LUMINANCE_8,
17 RGB_565, 17 RGB_565,
18 ETC1, 18 ETC1,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // identifier. The caller can also produce a fully qualified surface id that 68 // identifier. The caller can also produce a fully qualified surface id that
69 // can be embedded in frames produces by different connections. 69 // can be embedded in frames produces by different connections.
70 CreateSurface(uint32 id_local); 70 CreateSurface(uint32 id_local);
71 71
72 // After the submitted frame is drawn for the first time, the surface will 72 // After the submitted frame is drawn for the first time, the surface will
73 // respond to the SubmitFrame message. Clients should use this acknowledgement 73 // respond to the SubmitFrame message. Clients should use this acknowledgement
74 // to ratelimit frame submissions. 74 // to ratelimit frame submissions.
75 SubmitFrame(uint32 id_local, Frame frame) => (); 75 SubmitFrame(uint32 id_local, Frame frame) => ();
76 DestroySurface(uint32 id_local); 76 DestroySurface(uint32 id_local);
77 }; 77 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698