mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-21 13:31:00 +02:00
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]
This commit is contained in:
parent
1a68c0bdfb
commit
3e5115fde7
2 changed files with 6 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue