docs/macos: Explain Apple GLX versus OSMesa on macOS

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10359>
This commit is contained in:
Alyssa Rosenzweig 2021-04-21 00:44:32 +05:30 committed by Marge Bot
parent 449744009c
commit 28a9f54095

View File

@ -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!