From: Shinya Saito <[email protected]>

When trying to do sceen recording using the screenshooter, no screen data
was ever processed because the rpi-renderer never set the previous frames
damage area.

Update the rpi-renderer to copy the necessary data.

Signed-off-by: Shinya Saito <[email protected]>
Signed-off-by: Tomohito Esaki <[email protected]>
---

 Tested on weston v1.8.0
 Compile tested on v1.9.0. (I don't have access to a Raspberry Pi right now)

 src/rpi-renderer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/rpi-renderer.c b/src/rpi-renderer.c
index d0a9797..76e1ddf 100644
--- a/src/rpi-renderer.c
+++ b/src/rpi-renderer.c
@@ -1410,6 +1410,7 @@ rpi_renderer_repaint_output(struct weston_output *base,
        /* The frame_signal is emitted in rpi_renderer_finish_frame(),
         * so that the firmware can capture the up-to-date contents.
         */
+       pixman_region32_copy(&base->previous_damage, output_damage);
 }
 
 static void
-- 
1.8.0

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to