commit | 99b705bb1729fe7dacd124851d4fc931547e1dc1 | [log] [tgz] |
---|---|---|
author | Pekka Paalanen <ppaalanen@gmail.com> | Mon Nov 19 15:29:09 2012 +0200 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Mon Nov 19 15:55:09 2012 -0500 |
tree | be6ecec584f73f139ed99e7f0ec33479cd449873 | |
parent | edce9c295c12c0d0e10f51aea1cbf62ed073254c [diff] |
simple-shm: honour wl_buffer.release Change simple-shm to properly process the wl_buffer.release event, and not reuse a buffer until it is released by the server, as specified in the protocol. In case the server has not released the buffer, but signals that it has been shown (frame callback), allocate a second buffer. Simple-shm will now automatically do double-buffering if needed. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>