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

Unified Diff: mojo/services/gfx/composition/interfaces/scene_token.mojom

Issue 1552963002: Initial checkin of the new Mozart compositor. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-11
Patch Set: Created 4 years, 12 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/gfx/composition/interfaces/scene_token.mojom
diff --git a/mojo/services/gfx/composition/interfaces/scene_token.mojom b/mojo/services/gfx/composition/interfaces/scene_token.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..0213f6b56f8a1fa49b8ba319969ca46d7613a9c8
--- /dev/null
+++ b/mojo/services/gfx/composition/interfaces/scene_token.mojom
@@ -0,0 +1,20 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+[DartPackage="mojo_services"]
+module mojo.gfx.composition;
+
+// A scene token is an opaque transferable reference to a scene.
+//
+// Each scene is associated with a unique scene token at creation time.
+// This token can be used to create references from one scene to another
+// or to create a renderer for a scene graph.
+//
+// Scene tokens should be kept secret.
+//
+// TODO(jeffbrown): This implementation is a temporary placeholder until
+// we extend Mojo to provide a way to create tokens which cannot be forged.
+struct SceneToken {
+ uint32 value;
+};

Powered by Google App Engine
This is Rietveld 408576698