OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 [DartPackage="mojo_services"] |
| 6 module mojo.gfx.composition; |
| 7 |
| 8 // A scene token is an opaque transferable reference to a scene. |
| 9 // |
| 10 // Each scene is associated with a unique scene token at creation time. |
| 11 // This token can be used to create references from one scene to another |
| 12 // or to create a renderer for a scene graph. |
| 13 // |
| 14 // Scene tokens should be kept secret. |
| 15 // |
| 16 // TODO(jeffbrown): This implementation is a temporary placeholder until |
| 17 // we extend Mojo to provide a way to create tokens which cannot be forged. |
| 18 struct SceneToken { |
| 19 uint32 value; |
| 20 }; |
OLD | NEW |