diff options
author | 2022-12-22 20:06:32 +0000 | |
---|---|---|
committer | 2022-12-22 22:36:04 +0000 | |
commit | 8fc721bb338c6d13e8758c2139d073acab86e3e2 (patch) | |
tree | 5ed9d431326907c0ab5e57b82af187c5a8e45030 /libs/gui/LayerState.cpp | |
parent | 42afe5fa137aacc2fc5d9bdf12052dc455b769ca (diff) |
SF: Introduce LayerSnapshot and LayerSnapshotBuilder
Create a builder that walks through the layer hierarchy
to build an ordered list of LayerSnapshots that can be
passed on to CompositionEngine.
This builder does a minimum amount of work to update
an existing set of snapshots based on hierarchy changes
and RequestedLayerState changes.
The builder also introduces a fast path to update
snapshots when there are only buffer updates.
Additionally, pull out LayerSnapshot class from LayerFE
and move it to frontend package.
Bug: 238781169
Test: presubmit
Change-Id: I3fbd6d60968950df2ee97d975c72f9e0aa31b007
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions