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

Side by Side Diff: cc/output/compositor_frame_metadata.h

Issue 1475643006: Revert of List all child surfaces (including occluded) in CompositorFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
« no previous file with comments | « cc/layers/surface_layer_impl.cc ('k') | cc/quads/render_pass.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <vector> 8 #include <vector>
9 9
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
11 #include "cc/output/viewport_selection_bound.h" 11 #include "cc/output/viewport_selection_bound.h"
12 #include "cc/surfaces/surface_id.h"
13 #include "third_party/skia/include/core/SkColor.h" 12 #include "third_party/skia/include/core/SkColor.h"
14 #include "ui/events/latency_info.h" 13 #include "ui/events/latency_info.h"
15 #include "ui/gfx/geometry/size_f.h" 14 #include "ui/gfx/geometry/size_f.h"
16 #include "ui/gfx/geometry/vector2d_f.h" 15 #include "ui/gfx/geometry/vector2d_f.h"
17 16
18 namespace cc { 17 namespace cc {
19 18
20 class CC_EXPORT CompositorFrameMetadata { 19 class CC_EXPORT CompositorFrameMetadata {
21 public: 20 public:
22 CompositorFrameMetadata(); 21 CompositorFrameMetadata();
(...skipping 28 matching lines...) Expand all
51 50
52 // Provides selection region updates relative to the current viewport. If the 51 // Provides selection region updates relative to the current viewport. If the
53 // selection is empty or otherwise unused, the bound types will indicate such. 52 // selection is empty or otherwise unused, the bound types will indicate such.
54 ViewportSelection selection; 53 ViewportSelection selection;
55 54
56 std::vector<ui::LatencyInfo> latency_info; 55 std::vector<ui::LatencyInfo> latency_info;
57 56
58 // A set of SurfaceSequences that this frame satisfies (always in the same 57 // A set of SurfaceSequences that this frame satisfies (always in the same
59 // namespace as the current Surface). 58 // namespace as the current Surface).
60 std::vector<uint32_t> satisfies_sequences; 59 std::vector<uint32_t> satisfies_sequences;
61
62 // This is the set of Surfaces that are referenced by this frame.
63 std::vector<SurfaceId> referenced_surfaces;
64 }; 60 };
65 61
66 } // namespace cc 62 } // namespace cc
67 63
68 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ 64 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_
OLDNEW
« no previous file with comments | « cc/layers/surface_layer_impl.cc ('k') | cc/quads/render_pass.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698