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

Skip to content
Commit 4c331c85 authored by Derek Sollenberger's avatar Derek Sollenberger
Browse files

Avoid unnecessary computation for shadows and clipping for rounded layers

Shadow layers did not need to generate the shader as it was not used
so avoid that overhead.

Setting a roundrect clip and then drawing a single rect of the same size
is always less efficient than just drawing the roundrect directly.

Test: librenderengine_test
Bug: 181028875
Change-Id: I4e333f34b886f630773e4d660973bf8aa4585635
parent 7c42bef7
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