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

Commit 8cc97685 authored by Alec Mouri's avatar Alec Mouri
Browse files

Always use seamless transition flag when capturing a transition

All transitions capture a screenshot, parent it above everything else in
its container, then orphans the layer once the container has finished
applying its transactions to complete the transition. That is, by
definition, a seamless transition.

This is important for HDR, as previously the seamless transition flag
was NOT used, which was causing tonemapping into SDR rather than
capturing display-relative pixels. Then, if HDR layers were captured,
we'd disable SDR dimming when displaying the screenshot, which
effectively inverse-tonemapped the screenshot into HDR, which caused a
flashing effect.

Bug: 383512175
Flag: EXEMPT bug fix
Test: Circle to Search an HDR video
Change-Id: I04a0828caea2daf293d838c5a03a109822c0bdda
parent 69fe63d2
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