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); |