OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [DartPackage="mojo_services"] | 5 [DartPackage="mojo_services"] |
6 module mojo.gfx.composition; | 6 module mojo.gfx.composition; |
7 | 7 |
8 import "mojo/services/gfx/composition/interfaces/nodes.mojom"; | 8 import "mojo/services/gfx/composition/interfaces/nodes.mojom"; |
9 import "mojo/services/gfx/composition/interfaces/resources.mojom"; | 9 import "mojo/services/gfx/composition/interfaces/resources.mojom"; |
10 import "mojo/services/gfx/composition/interfaces/scene_token.mojom"; | 10 import "mojo/services/gfx/composition/interfaces/scene_token.mojom"; |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 // In general, the version number will be provided to the owner of the | 202 // In general, the version number will be provided to the owner of the |
203 // scene by some other party which is in change of synchronizing updates | 203 // scene by some other party which is in change of synchronizing updates |
204 // across multiple scenes including this one. The other party will | 204 // across multiple scenes including this one. The other party will |
205 // frequently be the owner of some other scene which embeds this one. | 205 // frequently be the owner of some other scene which embeds this one. |
206 // | 206 // |
207 // In certain cases there might not be a version number provided for | 207 // In certain cases there might not be a version number provided for |
208 // synchronization. When this happens, set |version| to |kSceneVersionNone|. | 208 // synchronization. When this happens, set |version| to |kSceneVersionNone|. |
209 // | 209 // |
210 // Note that version numbers are unordered; there is no need to increment | 210 // Note that version numbers are unordered; there is no need to increment |
211 // them monotonically. Values may also be reused at will. | 211 // them monotonically. Values may also be reused at will. |
212 uint32 version = 0; // kSceneVersionNone | 212 uint32 version = 0; // kSceneVersionNone |
213 | 213 |
214 // A timestamp indicating approximately when the published contents of the | 214 // A timestamp indicating approximately when the published contents of the |
215 // scene are to be shown on the display output assuming everything is | 215 // scene are to be shown on the display output assuming everything is |
216 // fully rendered and submitted by the appropriate deadline. | 216 // fully rendered and submitted by the appropriate deadline. |
217 // | 217 // |
218 // Expressed in microseconds in the |MojoTimeTicks| timebase. | 218 // Expressed in microseconds in the |MojoTimeTicks| timebase. |
219 // | 219 // |
220 // A value of 0 means "as soon as possible". | 220 // A value of 0 means "as soon as possible". |
221 // | 221 // |
222 // See also: |FrameInfo.presentation_time|. | 222 // See also: |FrameInfo.presentation_time|. |
223 int64 presentation_time = 0; | 223 int64 presentation_time = 0; |
224 }; | 224 }; |
OLD | NEW |