From 2071f1fbbf6436724e9cb325ba3bca44edd0022a Mon Sep 17 00:00:00 2001 From: Shinya Saito Date: Thu, 22 Oct 2015 11:44:49 +0900 Subject: [PATCH] Provide damage region for screen recording on Raspberry Pi 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 Signed-off-by: Tomohito Esaki Reviewed-by: Bryce Harrington --- src/rpi-renderer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rpi-renderer.c b/src/rpi-renderer.c index d0a97974..76e1ddf7 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