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

Skip to content
Commit 64900394 authored by mincheli's avatar mincheli Committed by Minche Li
Browse files

Correct the dirty region of magnifification bounds

The window type of window magnification is non-magnified. When
window magnification and fullscreen magnification are both enabled
during the test, we can find that the bounds of non-magnified area have
afterimage remained on the screen.
When drawing magnification bounds, Accessibility controller would clean
the dirty region of the canvas first then draw new magnification bounds
on the canvas. While the dirty region is always the current rectangle
of magnified region that not includes the one of the previous frame.
So the part of the previous frame would not be fully cleared. Hence the
afterimage would happen.
To fix it, we also have to correct the dirty region by the XOR of
magnified region and the old magnified region.

Bug: 152264396
Test: manual test
Change-Id: I19c796bdcf9eb80df8c05a83ed7a79e7981e77b1
parent c522d895
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