diff options
| author | 2024-01-31 11:50:00 +0100 | |
|---|---|---|
| committer | 2024-02-02 10:29:55 +0100 | |
| commit | 52c0ce0ed7d6154a5af0fa93195e52464866b61c (patch) | |
| tree | 2ce62b2d0b1c3373f44729986148b0810f73dedc /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | f23d375e4f15262bd951cd059a9461310ba97ba9 (diff) | |
Use CompositingStrategy.ModulateAlpha when fading elements
This CL switches the compositionStrategy of elements to ModulateAlpha
when fading the elements. While this will not always lead to the most
correct result visually if the UI has overlapping rendering (which it
should not in SysUI case), it leads to much better performance.
In a follow-up CL, I will add a way to change the compositionStrategy
for cases where there is overlapping rendering.
Bug: 291071158
Test: PlatformComposeSceneTransitionLayoutTests
Flag: N/A
Change-Id: I96a4457cba36d0fbd1d15861ea1571e74cfa7d77
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions