meson: drop gallium-media argument
authorDylan Baker <dylan@pnwbakers.com>
Tue, 31 Oct 2017 22:12:20 +0000 (15:12 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Mon, 4 Dec 2017 22:36:35 +0000 (14:36 -0800)
This argument is the wrong approach for handling gallium media state
trackers, since it doesn't allow for an auto option. Instead we'll use
tristates, which do allow for auto.

This option has never been wired to anything anyway.

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
meson.build
meson_options.txt

index ddc4a44eb6feb36c9f4e446b15f07fa71387c587..0f515ad10b84780558f81c44784d389198f79ce9 100644 (file)
@@ -361,23 +361,6 @@ if with_dri or with_gallium
   endif
 endif
 
-with_gallium_xvmc = false
-with_gallium_vdpau = false
-with_gallium_omx = false  # this is bellagio
-with_gallium_va = false
-with_gallium_media = false
-dep_va = []
-_drivers = get_option('gallium-media')
-if _drivers != ''
-  _split = _drivers.split(',')
-  with_gallium_xvmc = _split.contains('xvmc')
-  with_gallium_vdpau = _split.contains('vdpau')
-  with_gallium_omx = _split.contains('omx')
-  with_gallium_va = _split.contains('va')
-  with_gallium_media = (with_gallium_xvmc or with_gallium_vdpau or
-                        with_gallium_omx or with_gallium_va)
-endif
-
 gl_pkgconfig_c_flags = []
 if with_platform_x11
   if with_any_vk or (with_glx == 'dri' and with_dri_platform == 'drm')
index bcd63cc374f802bf79594f2c8dc849944df6edcd..4d56c2404f63d02f2a547def3668b801c02788d5 100644 (file)
@@ -49,12 +49,6 @@ option(
   value : 'auto',
   description : 'comma separated list of gallium drivers to build. If this is set to auto all drivers applicable to the target OS/architecture will be built'
 )
-option(
-  'gallium-media',
-  type : 'string',
-  value : '',
-  description : 'comma separated list of gallium media APIs to build (omx,va,vdpau,xvmc).'
-)
 option(
   'gallium-extra-hud',
   type : 'boolean',