meson: build glx
[mesa.git] / meson_options.txt
index f352f384c146cd46da6c77b49bc141b06cc62d91..09adce0286000a4be6f57251cfd95e92ae978e2d 100644 (file)
@@ -20,6 +20,8 @@
 
 option('platforms', type : 'string', value : 'x11,wayland',
        description : 'comma separated list of window systems to support. wayland, x11, surfaceless, drm, etc.')
+option('dri3', type : 'combo', value : 'auto', choices : ['auto', 'yes', 'no'],
+       description : 'enable support for dri3')
 option('dri-drivers', type : 'string', value : 'i965',
        description : 'comma separated list of dri drivers to build.')
 option('vulkan-drivers', type : 'string', value : 'intel,amd',
@@ -36,6 +38,10 @@ option('gles2', type : 'boolean', value : true,
        description : 'Build support for OpenGL ES 2.x and 3.x')
 option('opengl', type : 'boolean', value : true,
        description : 'Build support for OpenGL (all versions)')
+option('glx', type : 'combo', value : 'auto', choices : ['auto', 'disabled', 'dri', 'xlib', 'gallium-xlib'],
+       description : 'Build support for GLX platform')
+option('glvnd', type : 'boolean', value : false,
+       description : 'Enable GLVND support.')
 option('asm', type : 'boolean', value : true,
        description : 'Build assembly code if possible')
 option('valgrind', type : 'boolean', value : true,