Commit 3e5115fd authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

meson: align gl backend option defaults with autotools

Disable gl backend by default, just like autotools does:

  --enable-gl=[no/auto/yes]
                          Enable cairo's OpenGL surface backend feature
                          [default=no]
  --enable-glesv2=[no/auto/yes]
                          Enable cairo's OpenGLESv2 surface backend feature
                          [default=no]
  --enable-glesv3=[no/auto/yes]
                          Enable cairo's OpenGLESv3 surface backend feature
                          [default=no]
parent 1a68c0bd
......@@ -15,6 +15,9 @@ variables:
DEFAULT_MESON_ARGS: >
--default-library=both
-Dgl-backend=auto
-Dglesv2=auto
-Dglesv2=auto
stages:
- prep
......
......@@ -5,11 +5,11 @@ option('freetype', type : 'feature', value : 'auto')
# Cairo surface backends
option('cogl', type : 'feature', value : 'disabled')
option('directfb', type : 'feature', value : 'disabled')
option('gl-backend', type : 'combo', value : 'auto',
option('gl-backend', type : 'combo', value : 'disabled',
# FIXME: https://github.com/mesonbuild/meson/issues/4566
choices : ['auto', 'gl', 'glesv2', 'glesv3', 'disabled'])
option('glesv2', type : 'feature', value : 'auto')
option('glesv3', type : 'feature', value : 'auto')
option('glesv2', type : 'feature', value : 'disabled')
option('glesv3', type : 'feature', value : 'disabled')
option('drm', type : 'feature', value : 'disabled')
option('openvg', type : 'feature', value : 'disabled')
option('png', type : 'feature', value : 'auto') # png and svg surfaces
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment