OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ | 5 #ifndef CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ |
6 #define CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ | 6 #define CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "cc/base/cc_export.h" | 12 #include "cc/base/cc_export.h" |
13 #include "cc/output/viewport_selection_bound.h" | 13 #include "cc/output/viewport_selection_bound.h" |
14 #include "cc/surfaces/surface_id.h" | 14 #include "cc/surfaces/surface_id.h" |
15 #include "third_party/skia/include/core/SkColor.h" | 15 #include "third_party/skia/include/core/SkColor.h" |
16 #include "ui/events/latency_info.h" | |
17 #include "ui/gfx/geometry/size_f.h" | 16 #include "ui/gfx/geometry/size_f.h" |
18 #include "ui/gfx/geometry/vector2d_f.h" | 17 #include "ui/gfx/geometry/vector2d_f.h" |
| 18 #include "ui/latency_info/latency_info.h" |
19 | 19 |
20 namespace cc { | 20 namespace cc { |
21 | 21 |
22 class CC_EXPORT CompositorFrameMetadata { | 22 class CC_EXPORT CompositorFrameMetadata { |
23 public: | 23 public: |
24 CompositorFrameMetadata(); | 24 CompositorFrameMetadata(); |
25 CompositorFrameMetadata(const CompositorFrameMetadata& other); | 25 CompositorFrameMetadata(const CompositorFrameMetadata& other); |
26 ~CompositorFrameMetadata(); | 26 ~CompositorFrameMetadata(); |
27 | 27 |
28 // The device scale factor used to generate this compositor frame. | 28 // The device scale factor used to generate this compositor frame. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 // namespace as the current Surface). | 62 // namespace as the current Surface). |
63 std::vector<uint32_t> satisfies_sequences; | 63 std::vector<uint32_t> satisfies_sequences; |
64 | 64 |
65 // This is the set of Surfaces that are referenced by this frame. | 65 // This is the set of Surfaces that are referenced by this frame. |
66 std::vector<SurfaceId> referenced_surfaces; | 66 std::vector<SurfaceId> referenced_surfaces; |
67 }; | 67 }; |
68 | 68 |
69 } // namespace cc | 69 } // namespace cc |
70 | 70 |
71 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ | 71 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ |
OLD | NEW |