diff options
| author | 2024-01-09 15:59:53 +0100 | |
|---|---|---|
| committer | 2024-01-09 16:03:14 +0100 | |
| commit | b78a3dee0fc8ab442190e2f186378be97615c9b4 (patch) | |
| tree | c73eafcd9fbdb1313575c885ec3a5f0cebf02649 /libs/input/PointerController.cpp | |
| parent | f312646dd3172f11b83ee949cf107a96490fd416 (diff) | |
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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions