summaryrefslogtreecommitdiff
path: root/src/rpi-renderer.c
diff options
context:
space:
mode:
authorShinya Saito <ssaito@igel.co.jp>2015-10-22 11:44:49 +0900
committerBryce Harrington <bryce@osg.samsung.com>2015-10-29 13:59:03 -0700
commit2071f1fbbf6436724e9cb325ba3bca44edd0022a (patch)
tree9890e67a5bf33041d111815335449feaa845784c /src/rpi-renderer.c
parent0c0e51e09663e48d02412c17f49bd8b13176a5b0 (diff)
downloadweston-2071f1fbbf6436724e9cb325ba3bca44edd0022a.tar.gz
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 <ssaito@igel.co.jp> Signed-off-by: Tomohito Esaki <etom@igel.co.jp> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'src/rpi-renderer.c')
-rw-r--r--src/rpi-renderer.c1
1 files changed, 1 insertions, 0 deletions
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