OpenSWR source is now upstreamed to the Mesa repo. For the lastest source, please pull from mesa-master
C C++ Python Assembly Makefile Yacc Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin sort the bugs list by number Jul 13, 2015
docs docs: Mark off GL_OES_shader_image_atomic as done. Feb 23, 2016
doxygen doxygen: Remove doxygen_sqlite3.db with 'make clean' Jul 11, 2015
include i965/skl: Update Skylake renderer strings Feb 18, 2016
m4 mesa/build - changes for review comments Feb 23, 2016
scons remove non-working windows integration of swr Feb 24, 2016
src Resource management: Better tracking of resource state and synchroniz… Mar 1, 2016
.dir-locals.el dir-locals.el: set case-label offset to 0 Feb 3, 2016
.gitattributes Disable autocrlf on Visual Studio project files. Feb 28, 2008
.gitignore mesa: add .mesa-install-links files to gitignore Apr 17, 2015
.travis.yml travis: Add a test build with scons. Dec 1, 2015 Android: disable unused-parameter warning Feb 18, 2016 nir: move shader_enums.[ch] to compiler Jan 26, 2016 android: Depend on gallium_dri from EGL, instead of linking in gallium. Jun 9, 2015 include,gallium: Remove pre-MSVC 2013 compatibility. Feb 11, 2016 Update Oct 7, 2016
SConstruct scons: Don't use bundled C99 headers for VS 2013. May 2, 2014
VERSION mesa: bump version Feb 22, 2016
appveyor.yml appveyor: Bump shallow clone depth. Feb 3, 2016 pass --force to autoreconf, quote ORIGDIR Mar 11, 2015 multi-architecture aware swr driver Feb 11, 2016 Merge remote-tracking branch 'origin/master' into master-openswr Feb 24, 2016 targets/radeonsi/vdpau: convert to static/shared pipe-drivers Jun 22, 2014 install-lib-links: remove the .install-lib-links file Feb 24, 2015


Note: All development has moved into the Mesa repo. This source is for reference only.


This is a repository of the integration work combining the high performance, highly scalable core SWR rasterizer with Mesa. A more complete introduction and discussion towards upstreaming to the Mesa project can be found on the mesa-dev mailing list.

Source is now upstreamed to the Mesa repo. For the lastest source, please pull from:

  • git://


  • llvmpipe is the default software renderer. Use GALLIUM_DRIVER=swr to switch to the OpenSWR rasterizer.

  • LLVM 3.6 or newer is required.

  • To build SWR with autoconf, include the following in the config line: --with-gallium-drivers=swr --disable-dri --disable-egl --enable-xlib-glx.

  • SCons build support has been temporarily removed to focus on upstreaming. SCons will be reenabled at a later date.

  • Code for the driver is in src/gallium/drivers/swr

  • Code for the rasterizer is in src/gallium/drivers/swr/rasterizer