Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5d89c1d6 authored by David Sodman's avatar David Sodman
Browse files

SF: use shared_ptr to track hwcLayer

Add a wrapper class and use std::shared_ptr to track instances
of hwcLayer.  This is necessary because the calculation of
data for HWComposer is done in Layer and the processing of that
data is done in SurfaceFlinger, and we need to make sure that
the hwcLayer is not destroyed by Layer while or before being
used by SurfaceFlinger.

Merged-in: Icc7c002b84aaded1966d24aa8f849b47f51d2efb

Test: Compile/Boot
Change-Id: Icc7c002b84aaded1966d24aa8f849b47f51d2efb
parent e63a09dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment