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

Skip to content
Commit a7e006b3 authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

SF caching: Skip BT601_625 layers for caching and hole-punch

Bug: 188428469
Test: manual
Test: libcompositionengine_test

Such layers render differently on the GPU vs the DPU, so avoid caching
them and rendering them with a hole-punch. Doing either one would result
in a color shift when moving in or out of caching.

Remove isHdr from LayerState. Consolidate its check at its only
call-site, inside CachedSet, where we decide whether to skip
a layer.

Change-Id: I2931cd08d1eca728adefb2e73b6e3e0bd2e67b24
parent 84340f77
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