VirtualBox

source: vbox/trunk/src/VBox/Additions/3D/mesa/mesa-21.3.8/docs/macos.rst@ 107981

Last change on this file since 107981 was 96488, checked in by vboxsync, 3 years ago

Additions/3D/mesa: Export to OSE and remove symlinks.

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1Notes for macOS
2================
3
4Mesa builds on macOS without modifications. However, there are some details to
5be aware of.
6
7- Mesa has a number of build-time dependencies. Most dependencies, including
8 Meson itself, are available in `homebrew <https://brew.sh>`, which has a
9 Mesa package for reference. The exception seems to be Mako, a Python module
10 used for templating, which you can install as `pip3 install mako`.
11- macOS's default C compiler doesn't play nice with some C11 idioms used in
12 Mesa. To workaround, set `-Dc_std=c11`.
13- macOS is picky about its build-time environment. Type `brew sh` before
14 building to get the Homebrew dependencies in your path.
15
16Mesa's default builds with the Apple GLX uses Mesa as a front for the
17hardware-accelerated system OpenGL framework, to provide hardware acceleration
18to X11 applications on macOS running via XQuartz.
19
20Mesa's software rasterizers also work on macOS. To build, set the build options
21`-Dosmesa=true -Dglx=gallium-xlib` and select an appropriate Gallium software
22rasterizer.
23
24For native hardware, stay tuned for updates here!
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette