commit | 365c1296fa8285c6eff09df7888b4cb2e1a4ebb8 | [log] [tgz] |
---|---|---|
author | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | Fri May 27 14:11:01 2016 +0300 |
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | Wed Jun 29 12:41:31 2016 +0300 |
tree | 7e3ea0213a32aca7935da450609baec6b878cbfe | |
parent | fd10ef0f630409e6fbd758fd1b5a9c316234c2c7 [diff] |
tests: make screenshooting return a buffer Screenshooting does not involve creating a wl_surface, so using struct surface is superfluous. Return a struct buffer instead. It could have been just a pixman_image_t, but setting up proper destruction would be a bit more work. Should not hurt to keep the wl_buffer around until the user is ready to free the image. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Daniel Stone <daniels@collabora.com>