weston/libweston
Daniel Stone 65d87d071f compositor-drm: Turn vblank_pending from bool to refcount
vblank_pending is currently a bool, which is reset on every vblank
requests (i.e. sprite pageflip). This can occur more than once per
frame, so turn it into a callback, so we only fire frame-done when we've
collected all the events.

This fixes unexpected behaviour when multiple views per output have been
promoted to DRM planes.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2017-04-10 13:55:50 +03:00
..
animation.c
bindings.c
clipboard.c
compositor-drm.c compositor-drm: Turn vblank_pending from bool to refcount 2017-04-10 13:55:50 +03:00
compositor-drm.h compositor-drm: pageflip timeout implementation 2017-03-07 16:42:40 +02:00
compositor-fbdev.c Allow backends to group repaint flushes 2017-03-14 12:01:50 +02:00
compositor-fbdev.h
compositor-headless.c Allow backends to group repaint flushes 2017-03-14 12:01:50 +02:00
compositor-headless.h
compositor-rdp.c Allow backends to group repaint flushes 2017-03-14 12:01:50 +02:00
compositor-rdp.h
compositor-wayland.c compositor-wayland: Properly dealloc mmap data using munmap 2017-03-31 01:38:30 +02:00
compositor-wayland.h
compositor-x11.c Allow backends to group repaint flushes 2017-03-14 12:01:50 +02:00
compositor-x11.h
compositor.c Fix uninitialized msec_to_next in output_repaint_timer_arm 2017-03-22 17:55:07 +01:00
compositor.h Allow backends to group repaint flushes 2017-03-14 12:01:50 +02:00
data-device.c
dbus.c
dbus.h
gl-renderer.c gl-renderer: Change 'data' type to 'uint8_t *', since 'void *' arithmetic is undefined 2017-03-31 01:26:36 +02:00
gl-renderer.h
input.c Don't prepend protocol/ to include paths 2016-11-29 09:49:00 +00:00
launcher-direct.c configure: replace HAVE_LIBDRM with BUILD_DRM_COMPOSITOR 2017-04-07 12:02:47 +03:00
launcher-impl.h libweston/launcher: annotate iface(s) as constant data 2017-02-27 21:55:02 +00:00
launcher-logind.c launcher: Add sysmacros.h include for major() 2017-03-13 17:56:16 +00:00
launcher-util.c libweston/launcher: annotate iface(s) as constant data 2017-02-27 21:55:02 +00:00
launcher-util.h
launcher-weston-launch.c configure: replace HAVE_LIBDRM with BUILD_DRM_COMPOSITOR 2017-04-07 12:02:47 +03:00
libbacklight.c
libbacklight.h
libinput-device.c libinput: Suppress unhandled-case warning 2017-03-17 17:37:47 +00:00
libinput-device.h
libinput-seat.c
libinput-seat.h
libweston.pc.in
linux-dmabuf.c (multiple): Use standard permission notice 2017-02-13 21:45:12 +00:00
linux-dmabuf.h (multiple): Use standard permission notice 2017-02-13 21:45:12 +00:00
log.c
noop-renderer.c
pixel-formats.c libweston: Add pixel-format helpers 2017-04-07 12:28:36 +03:00
pixel-formats.h libweston: Add pixel-format helpers 2017-04-07 12:28:36 +03:00
pixman-renderer.c
pixman-renderer.h
plugin-registry.c
plugin-registry.h
screenshooter.c
spring-tool.c
timeline-object.h
timeline.c
timeline.h
vaapi-recorder.c
vaapi-recorder.h
version.h.in
vertex-clipping.c
vertex-clipping.h
weston-launch.c configure: replace HAVE_LIBDRM with BUILD_DRM_COMPOSITOR 2017-04-07 12:02:47 +03:00
weston-launch.h
windowed-output-api.h
zoom.c