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

Skip to content
Commit b78a3dee authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

Use CompositingStrategy.Offscreen in Modifier.punchHole (1/2)

This CL optimizes Modifier.punchHole by using an Offscreen composition
strategy (so that the layer can be blended against) rather than using
Canvas.withSaveLayer {} that reallocates an offscreen buffer every
frame.

Bug: 305195729
Test: PunchHoleTest
Flag: N/A
Change-Id: If26804247f36f763c812b007ecb114259c836e3b
parent f312646d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment