Skip to content

util: Add xmlconfig build option

Alyssa Rosenzweig requested to merge alyssa/mesa:util/xmlconfig-meson into main
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.

Cc @eric + @dbaker (meson), @anholt @robclark @jenatali (static driconf), @kusma (zink).

Merge request reports