weston/clients
Pekka Paalanen d56b94ac78 clients/dmabuf-intel: use three buffers
Use three buffers like simple-dmabuf-v4l instead of just two.

This is required, because when a frame callback arrives, the just
committed buffer is only on its way to the screen, while the previous
buffer is still being scanned out. It will take for the page flip to
complete, before the previous buffer is release. However, we want to be
able to repaint already at the frame callback, so three buffers can be
necessary.

This patch fixes weston-simple-dmabuf-intel to not abort with "Both
buffers busy at redraw()." when hardware overlays are used and the
surface gets directly scanned out.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
2016-06-17 11:30:37 +03:00
..
calibrator.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
clickdot.c clients & tests: Unify multiple definitions of x*alloc and related functions 2016-03-17 14:13:13 +02:00
cliptest.c clients & tests: Unify multiple definitions of x*alloc and related functions 2016-03-17 14:13:13 +02:00
desktop-shell.c clients & tests: Unify multiple definitions of x*alloc and related functions 2016-03-17 14:13:13 +02:00
dnd.c clients & tests: Unify multiple definitions of x*alloc and related functions 2016-03-17 14:13:13 +02:00
editor.c clients & tests: Unify multiple definitions of x*alloc and related functions 2016-03-17 14:13:13 +02:00
eventdemo.c eventdemo: use %u for uint32_t printing 2016-05-16 15:01:45 +03:00
flower.c client: fix spelling mistake 2016-04-05 16:00:21 -07:00
fullscreen.c clients: Use zalloc 2016-03-09 22:54:54 -08:00
gears.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
image.c cosmetic: Remove a few double semicolons 2015-10-07 11:22:03 -07:00
ivi-shell-user-interface.c ivi-shell-user-interface: ignore all but first seat 2016-05-12 11:49:03 +03:00
keyboard.c clients & tests: Unify multiple definitions of x*alloc and related functions 2016-03-17 14:13:13 +02:00
multi-resource.c Make config.h inclusion consistent 2016-06-16 11:01:54 -07:00
nested-client.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
nested.c clients/nested: fix undefined reference to xzalloc 2016-04-25 13:44:09 +03:00
presentation-shm.c Make config.h inclusion consistent 2016-06-16 11:01:54 -07:00
resizor.c clients & tests: Unify multiple definitions of x*alloc and related functions 2016-03-17 14:13:13 +02:00
scaler.c clients/scaler: migrate to wp_viewporter 2016-06-09 11:07:22 +03:00
screenshot.c clients & tests: Unify multiple definitions of x*alloc and related functions 2016-03-17 14:13:13 +02:00
simple-damage.c Make config.h inclusion consistent 2016-06-16 11:01:54 -07:00
simple-dmabuf-intel.c clients/dmabuf-intel: use three buffers 2016-06-17 11:30:37 +03:00
simple-dmabuf-v4l.c Make config.h inclusion consistent 2016-06-16 11:01:54 -07:00
simple-egl.c simple-egl: use roundtrip after get_registry request 2016-03-15 14:31:07 +02:00
simple-shm.c Make config.h inclusion consistent 2016-06-16 11:01:54 -07:00
simple-touch.c Make config.h inclusion consistent 2016-06-16 11:01:54 -07:00
smoke.c client: fix spelling mistake 2016-04-05 16:00:21 -07:00
stacking.c clients: Correct drawing glitch in stacking demo 2015-10-21 16:57:47 -05:00
subsurfaces.c clients & tests: Unify multiple definitions of x*alloc and related functions 2016-03-17 14:13:13 +02:00
terminal.c terminal: Document console codes less cryptically 2016-06-16 11:10:35 -07:00
transformed.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
weston-info.c weston-info: look for the right wp_presentation 2016-04-22 10:43:40 +03:00
weston-simple-im.c Make config.h inclusion consistent 2016-06-16 11:01:54 -07:00
window.c clients & tests: Unify multiple definitions of x*alloc and related functions 2016-03-17 14:13:13 +02:00
window.h clients & tests: Unify multiple definitions of x*alloc and related functions 2016-03-17 14:13:13 +02:00