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

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

More thorough check for expensive rendering

The intent of this check is to determine whether we need to do any color
conversion. For simplicity, we assumed we would need to do color
conversion if the display is P3. This isn't necessarily the case,
though; if all the input buffers are P3, we won't need color conversion.
And if the display is anything besides P3, we still may need it. Check
all the layers; if any does not match the outputDataspace, we will do
color conversion.

Bug: 221067687
Test: manual (logcat)
Test: jank tracking
Change-Id: I5c77769cf9fd2f07806c97022fa4bb940bfcc1ac
parent 757c9f21
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