mesa/src
Alyssa Rosenzweig 662bb5977b util: Add xmlconfig build option
On embedded Linux, we can hardcode the driconf file (00-mesa-defaults.conf) with
no possibility of the file changing after the build. The static driconf
implementation, used on Windows and Android, suffices for that use case. It is
undesireable for these platforms to depend on expat or to spend time during app
start-up parsing driconf XML.

We already have the static driconf implemented, all we need is a meson option to
opt-out of runtime xmlconfig on Linux and use the static version instead.

To opt-out of runtime xmlconfig, build Mesa with -Dxmlconfig=disabled.

v2: Expand out feature.require() since it was only added in meson 0.59.0.

v3: Use more concise Meson syntax (Dylan)

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com> [v2]
Reviewed-by: Eric Engestrom <eric@igalia.com> [v2]
Reviewed-by: Emma Anholt <emma@anholt.net>
Tested-by: Chris Healy <healych@amazon.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19626>
2022-11-23 23:14:10 +00:00
..
amd radv: Conditionally expose VK_KHR_present_wait on RADV. 2022-11-23 19:06:12 +00:00
android_stub
asahi tree-wide: Use __func__ instead of __FUNCTION__ in non-gallium code 2022-11-22 06:53:46 +00:00
broadcom v3dv: drop wayland-protocols dep 2022-11-23 12:15:23 +00:00
c11
compiler nir/divergence: add missing btd_shader_type_intel 2022-11-23 15:04:22 +00:00
drm-shim
egl egl: Fix uninitialized variable warning 2022-11-22 01:54:51 +00:00
etnaviv tree-wide: Use __func__ instead of __FUNCTION__ in non-gallium code 2022-11-22 06:53:46 +00:00
freedreno freedreno/replay: Add option to replay specific range of cmdstreams 2022-11-23 20:12:08 +00:00
gallium zink: Don't check WITH_XMLCONFIG 2022-11-23 23:14:10 +00:00
gbm
getopt
glx Revert "egl/glx: add fallback for zink loading" 2022-11-17 01:08:33 +00:00
gtest
hgl
imagination pvr: Minor cleanup around pvr_emit_vdm_index_list() 2022-11-18 11:46:14 +00:00
imgui
intel anv: Conditionally expose VK_KHR_present_wait on ANV. 2022-11-23 19:06:12 +00:00
loader
mapi mapi: update gles 1.1 extention packet link 2022-11-20 15:14:01 +00:00
mesa st/mesa: only call st_manager_validate_framebuffers at FBO change or SwapBuffers 2022-11-23 20:37:02 +00:00
microsoft microsoft/nir_to_dxil: Avoid emitting SampleCmpLevel prior to SM 6.7 if possible 2022-11-22 16:49:36 +00:00
nouveau drm-shim/nouveau: fix the shim to work with nvif ioctl. 2022-11-09 21:21:22 +00:00
panfrost pan/mdg: Fix out-of-order execution 2022-11-23 20:23:50 +00:00
tool pps: make pps-producer RT only on freedreno 2022-11-15 21:21:42 +00:00
util util: Add xmlconfig build option 2022-11-23 23:14:10 +00:00
virtio venus: enable VK_KHR_push_descriptor 2022-11-23 01:21:34 +00:00
vulkan wsi/x11: Rewrite wait logic for ANI/WaitForPresentKHR. 2022-11-23 19:06:12 +00:00
meson.build meson: build radeon drm-shim also for r300 and r600 2022-11-16 14:37:47 +00:00