weston/src
Pekka Paalanen d5fbfb2e35 rpi: avoid vc_dispmanx_set_wl_buffer_in_use without EGL
The symbol is needed only for the EGL buffer path. If --disable-egl is
given to ./configure, there is no need for it, so fix it to actually not
look for that symbol needlessly.

This should fix the runtime error:

	Failed to load module: .../rpi-backend.so: undefined symbol:
	vc_dispmanx_set_wl_buffer_in_use

when you use --disable-egl and do not have a recent enough
libraspberrypi package (/opt/vc, a.k.a userland.git) that would provide
vc_dispmanx_set_wl_buffer_in_use. Apparently no released version of
userland yet provides this.

The calls are organized into two helper functions to avoid a boolean
argument, and put the #ifdefs away from the main parts of the code.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Cc: Tomeu Vizoso <tomeu@tomeuvizoso.net>
2013-11-27 22:49:31 -08:00
..
xwayland src/data_device.c: add dnd support for touch screen 2013-11-25 16:32:00 -08:00
.gitignore protocol: move sub-surfaces to Wayland 2013-11-15 16:23:17 -08:00
animation.c Add move/scale animation 2013-11-19 11:49:28 -08:00
bindings.c Add modifier-only binding 2013-11-19 11:49:25 -08:00
clipboard.c malloc + memset -> zalloc 2013-08-08 13:46:13 -07:00
cms-colord.c malloc + memset -> zalloc 2013-08-08 13:46:13 -07:00
cms-helper.c configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS 2013-06-05 01:16:34 -04:00
cms-helper.h Add more missing config.h includes 2013-08-16 10:56:00 -07:00
cms-static.c malloc + memset -> zalloc 2013-08-08 13:46:13 -07:00
compositor-drm.c compositor-drm: Release the correct buffer in drm_output_release_fb 2013-11-19 13:25:10 -08:00
compositor-fbdev.c pixman-renderer, gl-renderer: Destroy debug bindings on clean up 2013-10-25 12:17:51 -07:00
compositor-headless.c compositor: finish frame if redraw fails 2013-10-22 12:24:56 -07:00
compositor-rdp.c compositor: finish frame if redraw fails 2013-10-22 12:24:56 -07:00
compositor-rpi.c pixman-renderer, gl-renderer: Destroy debug bindings on clean up 2013-10-25 12:17:51 -07:00
compositor-wayland.c Wayland backend: set the opaque region when starting fullscreen 2013-11-19 11:44:51 -08:00
compositor-x11.c Move region transformation code to weston_transformed_region 2013-11-07 16:34:59 -08:00
compositor.c compositor: set weston_surface:resource to NULL when destroyed 2013-11-21 22:00:17 -08:00
compositor.h src/data_device.c: add dnd support for touch screen 2013-11-25 16:32:00 -08:00
data-device.c src/data_device.c: add dnd support for touch screen 2013-11-25 16:32:00 -08:00
dbus.c dbus: add dbus-match helpers 2013-10-21 16:07:10 -07:00
dbus.h dbus: add dbus-match helpers 2013-10-21 16:07:10 -07:00
evdev-touchpad.c evdev: Only track one pending event 2013-09-24 16:22:19 -07:00
evdev.c evdev: Synchronize keys only if seat is keyboard capable 2013-11-12 16:20:19 -08:00
evdev.h evdev: Reference count input device's seat capabilities 2013-10-21 13:45:03 -07:00
filter.c filter: Remove unused variable 2013-11-12 16:20:34 -08:00
filter.h filter: Remove unused variable 2013-11-12 16:20:34 -08:00
gl-renderer.c gl-renderer: Attach buffer during surface state creation if possible 2013-11-19 13:11:25 -08:00
gl-renderer.h gl-renderer: Remove the renderer-global border support 2013-11-07 16:34:13 -08:00
input.c input: Cancel pointer grabs when compositor loses kb focus 2013-11-22 21:12:19 -08:00
launcher-util.c configure.ac: Make libdrm optional in weston-launch 2013-11-24 15:16:23 -08:00
launcher-util.h launcher: add logind backend 2013-10-21 16:23:58 -07:00
libbacklight.c configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS 2013-06-05 01:16:34 -04:00
libbacklight.h Fix a few -pedantic warnings 2012-05-10 14:11:44 -04:00
log.c Use #define WL_HIDE_DEPRECATED to avoid deprecated warnings for wl_buffer 2013-08-06 19:27:04 -07:00
logind-util.c logind: change to -1+errno 2013-11-21 16:28:08 -08:00
logind-util.h launcher: add logind backend 2013-10-21 16:23:58 -07:00
Makefile.am Makefile.am: The wayland rpi doesn't libsession-helper.la 2013-11-25 13:54:30 -08:00
noop-renderer.c compositor: Let renderers create and destroy surface state on their own 2013-10-25 12:21:51 -07:00
pixman-renderer.c Add calls to wl_shm_buffer_begin/end_access 2013-11-13 16:32:58 -08:00
pixman-renderer.h Add more missing config.h includes 2013-08-16 10:56:00 -07:00
rpi-bcm-stubs.h rpi: Protect in-use DispmanX resources from premature deletion 2013-10-25 11:05:45 -07:00
rpi-renderer.c rpi: avoid vc_dispmanx_set_wl_buffer_in_use without EGL 2013-11-27 22:49:31 -08:00
rpi-renderer.h rpi: add a Dispmanx renderer 2013-05-22 17:05:45 -04:00
screenshooter.c Add calls to wl_shm_buffer_begin/end_access 2013-11-13 16:32:58 -08:00
shell.c exposay: provide a cancel func to the ptr grab iface 2013-11-27 22:49:31 -08:00
spring-tool.c Split the geometry information from weston_surface out into weston_view 2013-10-22 13:34:11 -07:00
tablet-shell.c Split the geometry information from weston_surface out into weston_view 2013-10-22 13:34:11 -07:00
text-backend.c Add cancel function to grab interfaces 2013-10-28 14:44:06 -07:00
udev-seat.c launcher: add weston_launcher_close() dummy 2013-10-21 16:07:45 -07:00
udev-seat.h udev-seat: Repick seat after a new device was added 2013-10-21 13:47:05 -07:00
vaapi-recorder.c vaapi-recorder: Don't leak fd on thread error path 2013-10-10 16:50:18 -07:00
vaapi-recorder.h compositor-drm: Add hardware accelerated capture of screen using libva 2013-08-30 13:44:40 -07:00
version.h.in version.h: Add version check macro 2013-09-23 10:42:19 -07:00
vertex-clipping.c Split vertex clipping code out into vertex-clipping.c 2013-09-16 21:40:31 -07:00
vertex-clipping.h Split vertex clipping code out into vertex-clipping.c 2013-09-16 21:40:31 -07:00
weston-egl-ext.h weston-egl: Update weston-egl-ext.h: s/wl_buffer/wl_resource 2013-10-01 10:42:55 -07:00
weston-launch.c configure.ac: Make libdrm optional in weston-launch 2013-11-24 15:16:23 -08:00
weston-launch.h launcher: Handle drm set/drop master and vt switch signals in launcher 2013-09-18 11:14:14 -07:00
weston.pc.in weston.pc: Added libexecdir and pkglibexecdir variables 2013-06-04 00:14:04 -04:00
zoom.c zoom: use the new pointer motion signal to move the zoom frame. 2013-11-15 16:17:51 -08:00