Skip to content

NatronGitHub/osmesa-install

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osmesa-install

Script and patches to build and install variations of OSMesa http://www.mesa3d.org/osmesa.html:

  • "mangled" or not (in mangled OSMesa, all functions start with mgl instead of gl)
  • debug or not
  • choice of osmesa driver: swrast, softpipe, llvmpipe or swr (SWR is not yet supported on macOS)
  • possibility to also compile and install LLVM 4.0.0 or 3.4.2 for the llvmpipe driver

Usage

  • edit variables / paths as the beginning of the osmesa-install.sh script
  • compile and install:
mkdir build
cd build
sh ../osmesa-install.sh
  • there is a test program on the osdemo directory, with a few checks

Notes and caveats

The script fixes the following Mesa bugs related to mangled OSMesa:

Also note that the latest clang (tested with 4.0.0) does not build on 32 bits mingw64 due to the following gcc bug (older versions of clang work):

About

script and patches to build and install variations of OSMesa http://www.mesa3d.org/osmesa.html

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 50.1%
  • C 40.9%
  • Python 7.0%
  • Makefile 2.0%