History log of /frameworks/native/services/surfaceflinger/ContainerLayer.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
578038fc49f83c4c8c4accdce49df404ecd6ad02 09-Mar-2018 Robert Carr <racarr@google.com> SurfaceFlinger: Add childLayersOnly variant of capture layers.

Currently captureLayers is being used to capture children of abstract
buffer-less layers, for example we capture the node representing
a Task. Because of animations, etc, the node may have been scaled
when we want to take the screenshot, so we solved this problem with
an inverse transform in LayerRenderArea. However we have parallel problems
for crop, visibility, etc...It seems what we really want from captureLayers
is the ability to capture all child layers while ignoring the parent imposed
state as if in a parallel hierarchy. I initially considered implementing a parallel
hierarchy with layer clones but it seemed much less risky for P to instead
reparent the existing hierarchy to a parallel abstract parent on the server side.

Bug: 72760590
Test: Existing tests pass. Quickstep works with new implementation. New transaction tests.
Change-Id: Ifd2b2f9ed45351d8ed0d7f09be1cd9806ec4abe8
/frameworks/native/services/surfaceflinger/ContainerLayer.h
cdf832043afeb74598d64f8689098ae75dad8731 07-Mar-2018 Robert Carr <racarr@google.com> SurfaceFlinger: Add "Abstract" Layer type.

Add an Abstract Layer type which exists only to be a parent. We
will use this to more cleanly represent the various hierarchy Layers
from the WM and for an upcoming screenshot rework.

Bug: 72760590
Test: Existing tests pass
Change-Id: Icd19ab0a467585660a95ae37b9c5dd4b8106da9d
/frameworks/native/services/surfaceflinger/ContainerLayer.h