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

Unified Diff: mojo/services/public/interfaces/surfaces/surfaces.mojom

Issue 504443002: Update mojo surfaces bindings and mojo/cc/ glue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gn fixes Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: mojo/services/public/interfaces/surfaces/surfaces.mojom
diff --git a/mojo/services/public/interfaces/surfaces/surfaces.mojom b/mojo/services/public/interfaces/surfaces/surfaces.mojom
index 0aead1e6bb7e2662bde61c279cfda7369d2aeb4f..8299cb36eca22b6f39f93add9792f89e5e211ad6 100644
--- a/mojo/services/public/interfaces/surfaces/surfaces.mojom
+++ b/mojo/services/public/interfaces/surfaces/surfaces.mojom
@@ -52,13 +52,16 @@ struct Frame {
};
interface SurfaceClient {
- SetIdNamespace(uint32 id);
ReturnResources(ReturnedResource[] resources);
};
[Client=SurfaceClient]
interface Surface {
+ // The id is created by the client and must be unique and contain the
+ // connection's namespace in the upper 32 bits.
CreateSurface(SurfaceId id, Size size);
+
+ // The client can only submit frames to surfaces created with this connection.
SubmitFrame(SurfaceId id, Frame frame);
DestroySurface(SurfaceId id);
« no previous file with comments | « mojo/services/public/interfaces/surfaces/BUILD.gn ('k') | mojo/services/public/interfaces/surfaces/surfaces_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698