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

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

Issue 361123002: Mojo surfaces service and example app (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « mojo/mojo_services.gypi ('k') | mojo/services/surfaces/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f9c54687268ff4af856084d4876753bb3130e834..29e1efa14e9abc65dde1e8b04f0c9f123a1bcc18 100644
--- a/mojo/services/public/interfaces/surfaces/surfaces.mojom
+++ b/mojo/services/public/interfaces/surfaces/surfaces.mojom
@@ -3,6 +3,7 @@
// found in the LICENSE file.
import "mojo/services/public/interfaces/geometry/geometry.mojom"
+import "mojo/services/gles2/command_buffer.mojom"
import "mojo/services/public/interfaces/surfaces/quads.mojom"
import "mojo/services/public/interfaces/surfaces/surface_id.mojom"
@@ -50,14 +51,19 @@ struct Frame {
};
interface SurfaceClient {
+ SetIdNamespace(uint32 id);
ReturnResources(ReturnedResource[] resources);
};
[Client=SurfaceClient]
interface Surface {
- CreateSurface(mojo.Size size) => (SurfaceId id);
+ CreateSurface(SurfaceId id, mojo.Size size);
SubmitFrame(SurfaceId id, Frame frame);
DestroySurface(SurfaceId id);
+
+ CreateGLES2BoundSurface(mojo.CommandBuffer gles2_client,
+ SurfaceId id,
+ mojo.Size size);
};
}
« no previous file with comments | « mojo/mojo_services.gypi ('k') | mojo/services/surfaces/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698