renderer: change all frame_signal emission to pass previous_damage
authorStefan Agner <stefan@agner.ch>
Mon, 9 Dec 2019 12:26:57 +0000 (13:26 +0100)
committerStefan Agner <stefan@agner.ch>
Mon, 9 Dec 2019 12:32:07 +0000 (13:32 +0100)
commit0bb94476532ebbe95e255a9a736ee0c48866db53
tree79c27b999ff51e22744dd0fb377a38d49ab41f9a
parent404a84a03a81362c3528387d7c722e0850149676
renderer: change all frame_signal emission to pass previous_damage

Commit adaf8c7410da ("renderer: change frame_signal emission to pass
previous_damage as data argument") missed updating all frame_signal
emissions. Later commit 2619bfe420 ("move frame_signal emission to
weston_output_repaint()") fixed this deficency along with moving the
location of the emission. Due to an issue of the location change, this
commit had to be reverted again.

This makes sure that the pixman as well as the GL renderer now also
emits the damage region instead of the Weston output.

Fixes: adaf8c7410da ("renderer: change frame_signal emission to pass previous_damage as data argument")
Signed-off-by: Stefan Agner <stefan@agner.ch>
libweston/pixman-renderer.c
libweston/renderer-gl/gl-renderer.c