From 83d61b6dfb88f681addebbec6676bef4de5824a4 Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Mon, 15 Dec 2014 17:03:04 -0800 Subject: protocol: Add test screenshot capability This adds a capture_screenshot request which returns an image of the screen in the client-supplied wl_buffer for the given display output. A 'done' event is used to indicate when screenshotting has finished and the wl_buffer is ready to be read. Signed-off-by: Bryce Harrington Reviewed-By: Derek Foreman --- protocol/weston-test.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'protocol') diff --git a/protocol/weston-test.xml b/protocol/weston-test.xml index 643a0c7c..2fd6b7a4 100644 --- a/protocol/weston-test.xml +++ b/protocol/weston-test.xml @@ -73,6 +73,22 @@ + + + Records an image of what is currently displayed on a given + display output, returning the image as an event. + + + + + + + The capture_screenshot_done signal is sent when a screenshot has been copied into the + provided buffer. + + -- cgit v1.2.1