mesa/src/gallium/targets
duncan.hopkins 97b6851815 apple: Extended Apple feature support using GLX_USE_APPLE.
On MacOS/Apple/Dawin you can only get MESA to forward the GL funtions to
the systems OpenGL.framework or run SWRast directly. There is no way to use a gallium driver, even if they have been compiled.
The two gallium drivers of interest are SWRast and Zink, as the rest are hardware drivers and not relavent on MacOS.

The code changes add a new define GLX_USE_APPLE. This is used in combination with the existing GLX_USE_APPLEGL.
GLX_USE_APPLEGL calls the systems OpenGL.framework, Apple's OpenGL.
GLX_USE_APPLE calls the non-system OpenGL code, i.e. Gallium, hence the subtle naming difference. Apple systems are still used, just not the GL ones.
When GLX_USE_APPLE is defined the code will use the DRI/gallium driver sub-system so SWRast and Zink can selected at runtime on MacOS.

This also allows Zink to be run on MacOS, once it is fixed up.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28205>
2024-03-18 18:06:45 +00:00
..
d3d10umd d3d10umd: Rename d3d10sw target to d3d10umd 2024-02-05 16:59:22 +00:00
d3dadapter9 nine: convert licenses block to SPDX 2024-03-13 18:58:14 +00:00
dri apple: Extended Apple feature support using GLX_USE_APPLE. 2024-03-18 18:06:45 +00:00
lavapipe meson,windows: Use relative paths in Vulkan ICD manifest files 2024-03-01 20:09:59 +00:00
libgl-gdi libgl-gdi: Update wgl test to set debug flags needed for tests 2023-12-18 23:49:28 +00:00
libgl-xlib util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
omx gallium: Fix undefined symbols in version scripts 2023-11-17 12:35:24 +00:00
opencl meson: support installation tags 2023-09-11 13:00:45 +00:00
osmesa meson: inline gtest_test_protocol now that it's always 'gtest' 2023-03-10 07:20:29 +00:00
pipe-loader gallium: Do not create pipe-loader version scripts for disabled drivers 2023-11-19 09:34:59 +01:00
rusticl rusticl: enable zink 2023-10-14 01:01:16 +00:00
teflon teflon: Initial commit 2024-01-24 10:02:10 +00:00
va targets/va: override LIBVA_DRIVERS_PATH in devenv 2024-02-09 14:57:11 +00:00
vdpau gallium: Fix undefined symbols in version scripts 2023-11-17 12:35:24 +00:00
wgl gallium: add a nboxes param to flush_frontbuffer 2024-02-29 01:15:22 +00:00
xa driconf: drop now unused translation facility 2020-06-22 21:50:12 +00:00
dri.dyn meson: Rename dri-vdpau.dyn to dri.dyn 2023-08-16 16:57:54 +00:00