compositor-drm: expose global shadow flag for pixman
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Mon, 23 Apr 2018 09:44:58 +0000 (11:44 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Thu, 24 May 2018 14:20:04 +0000 (17:20 +0300)
commitdee412d174e3180ec8999c9d473b36ff2118abcf
treecdac0882188cfabbc709655beb7cc351719b664d
parent26ded94aa0969f826b296cde3a40deb1871811de
compositor-drm: expose global shadow flag for pixman

Allow global control of the pixman shadow buffers. The compositor can
choose whether all output use or do not use a shadow buffer with the
pixman renderer.

The option is added to the end of struct weston_drm_backend_config to
avoid bumping WESTON_DRM_BACKEND_CONFIG_VERSION.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
Reviewed-by: Ian Ray <ian.ray@ge.com>
libweston/compositor-drm.c
libweston/compositor-drm.h