mesa/src/loader
Eric Anholt 8a05d6ffc6 driconf: Make the driver's declarations be structs instead of XML.
We can generate the XML if anybody actually queries it, but this reduces
the amount of work in driver setup and means that we'll be able to support
driconf option queries on Android without libexpat.

This updates the driconf interface struct version for i965, i915, and
radeon to use the new getXml entrypoint to call the on-demand xml
generation.  Note that our loaders (egl, glx) implement the v2 function
interface and don't use .xml when that's set, and the X server doesn't use
this interface at all.

XML generation tested on iris and i965 using adriconf

Acked-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6916>
2020-10-02 23:59:52 +00:00
..
Android.mk Android: move libdrm settings to top-level Android.common.mk 2016-06-13 15:31:29 +01:00
loader.c driconf: Make the driver's declarations be structs instead of XML. 2020-10-02 23:59:52 +00:00
loader.h loader: replace int/1/0 with bool/true/false 2019-10-07 21:30:16 +01:00
loader_dri3_helper.c glx/dri3: Implement GLX_EXT_swap_control_tear 2020-09-10 14:48:19 -04:00
loader_dri3_helper.h egl/x11_dri3: implement EGL_KHR_swap_buffers_with_damage 2020-08-19 12:47:58 +00:00
Makefile.sources loader: Add headers to distribution. 2014-12-12 12:11:47 -08:00
meson.build egl/x11_dri3: implement EGL_KHR_swap_buffers_with_damage 2020-08-19 12:47:58 +00:00
pci_id_driver_map.c loader: s/int/bool/ for predicate result 2019-10-07 21:30:16 +01:00
pci_id_driver_map.h loader: Check if the kernel driver is i915 before loading iris 2020-01-28 15:35:09 -08:00
SConscript loader: Factor out the common driver opening logic from each loader. 2018-11-16 17:49:17 -08:00