apple: Collection of changes that allow the gallium code paths to be used on macOS.
These changes allow for the following:
- Account for differences in Apples xQuarts X11 implementation, when compiling DRI2 code.
- Relaxed some Apple vs DRI meson restrictions.
- Added a new define
GLX_USE_APPLE
that allows the gallium code paths to be used instead of the hardwired OpenGL.framework. - If more than one gallium drivers is requested or a non-default singular driver (i.e. not the default
softpipe
), then useGLX_USE_APPLE
. This will allow forzink
to be selectable on MacOS. This does not mean Zink works, only that you can now select it and it tries to run!
This code has been used to get glxinfo
to run softpipe
and zink
gallium drivers.