diff options
author | jbauman <jbauman@chromium.org> | 2015-12-08 17:01:16 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-09 01:01:55 +0000 |
commit | afca094c3a1862ebd1440d6b61955a3c25febad3 (patch) | |
tree | 83571447a53151bad952a4280475449d2ab00563 /cc/output | |
parent | b0293a3aa2ce09755ed6fab5838b4f978d56f313 (diff) | |
download | chromium_src-afca094c3a1862ebd1440d6b61955a3c25febad3.zip chromium_src-afca094c3a1862ebd1440d6b61955a3c25febad3.tar.gz chromium_src-afca094c3a1862ebd1440d6b61955a3c25febad3.tar.bz2 |
List all child surfaces (including occluded) in CompositorFrame
Then any occluded child surface with a copy request can be aggregated
(and have its copy done) whenever its parent draws.
BUG=529378
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1491743006
Cr-Commit-Position: refs/heads/master@{#363877}
Diffstat (limited to 'cc/output')
-rw-r--r-- | cc/output/compositor_frame_metadata.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/output/compositor_frame_metadata.h b/cc/output/compositor_frame_metadata.h index 72035e3..392c6b0 100644 --- a/cc/output/compositor_frame_metadata.h +++ b/cc/output/compositor_frame_metadata.h @@ -9,6 +9,7 @@ #include "cc/base/cc_export.h" #include "cc/output/viewport_selection_bound.h" +#include "cc/surfaces/surface_id.h" #include "third_party/skia/include/core/SkColor.h" #include "ui/events/latency_info.h" #include "ui/gfx/geometry/size_f.h" @@ -57,6 +58,9 @@ class CC_EXPORT CompositorFrameMetadata { // A set of SurfaceSequences that this frame satisfies (always in the same // namespace as the current Surface). std::vector<uint32_t> satisfies_sequences; + + // This is the set of Surfaces that are referenced by this frame. + std::vector<SurfaceId> referenced_surfaces; }; } // namespace cc |