From 28a9f54095ae474f57fd4bf8882c75b047db1203 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 21 Apr 2021 00:44:32 +0530 Subject: [PATCH] docs/macos: Explain Apple GLX versus OSMesa on macOS Signed-off-by: Alyssa Rosenzweig Reviewed-by: Jeremy Huddleston Sequoia Part-of: --- docs/macos.rst | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/macos.rst b/docs/macos.rst index fa7e0d471e3..582d65e2e86 100644 --- a/docs/macos.rst +++ b/docs/macos.rst @@ -13,5 +13,12 @@ be aware of. - macOS is picky about its build-time environment. Type `brew sh` before building to get the Homebrew dependencies in your path. -At the moment, only the software rasterizers are supported on macOS. Stay tuned -for updates here! +Mesa's default builds with the Apple GLX uses Mesa as a front for the +hardware-accelerated system OpenGL framework, to provide hardware acceleration +to X11 applications on macOS running via XQuartz. + +Mesa's software rasterizers also work on macOS. To build, set the build options +`-Dosmesa=true -Dglx=gallium-xlib` and select an appropriate Gallium software +rasterizer. + +For native hardware, stay tuned for updates here!