GNOME Bugzilla – Bug 719701
clear the "target" actor background in the calibration UI
Last modified: 2013-12-16 11:39:59 UTC
The actor that shows the "target" on the tap area doesn't currently clear its background. This works fine on the first run as the surface backing it is freshly created. But on subsequent runs of the calibration UI, the surface seems to be reused from previous actors' cached surfaces, but it's still not cleared. This leads to growing artifacts on the actor the more times the calibration UI is run.
Created attachment 263316 [details] [review] wacom: Clear background on "target" actor in calibration UI the actor's draw() method isn't guaranteed to get a pristine surface, which may cause artifacts if the background is left untouched, so clear the background each time the actor has to be drawn.
Review of attachment 263316 [details] [review]: Looks good.
Attachment 263316 [details] pushed as 71945b8 - wacom: Clear background on "target" actor in calibration UI