From afca094c3a1862ebd1440d6b61955a3c25febad3 Mon Sep 17 00:00:00 2001 From: jbauman Date: Tue, 8 Dec 2015 17:01:16 -0800 Subject: 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} --- cc/output/compositor_frame_metadata.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cc/output') 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 satisfies_sequences; + + // This is the set of Surfaces that are referenced by this frame. + std::vector referenced_surfaces; }; } // namespace cc -- cgit v1.1