weston: Add config option to enable pixman-based rendering
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 21 Sep 2018 09:50:32 +0000 (11:50 +0200)
committerDaniel Stone <daniels@collabora.com>
Thu, 31 Jan 2019 08:58:28 +0000 (08:58 +0000)
commit22dd67ccea41714a4832d2eba2676f0bc2e12475
tree2f80314457a08a208433d4bcfcb935feb807baf6
parentea54c2fda65aacd87c6385461dc7e7f7fb0d425d
weston: Add config option to enable pixman-based rendering

Pixman can be used for rendering if the default GLESv2 rendering
is broken or cannot be used.

Pixman-based rendering is already available with the command-line
switch '--use-pixman'. This patch adds support for this option to
the configuration file. Putting

  [core]
  use-pixman=true

into 'weston.ini' enables pixman-based rendering for all backends
that support it. With this change, pixman has to be enabled only
once.

Fixes: https://gitlab.freedesktop.org/wayland/weston/issues/27
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
compositor/main.c
man/weston.ini.man