[Mesa-dev] [PATCH v2 0/8] Support windows builds for OpenSWR
George Kyriazis
george.kyriazis at intel.com
Wed Nov 9 23:18:38 UTC 2016
Changes to support Windows scons builds for OpenSWR driver
Build on windows using the following command line:
scons swr=1 libgl-gdi
This will produce 3 .dlls. The (main) opengl32.dll, and 2 swr-specific
dlls that are loaded dynamically at runtime depending on the underlying
CPU architecture (swrAVX.dll and swrAVX2.dll).
The default software renderer is still llvmpipe, and, like on linux,
you enable SWR by setting the GALLIUM_DRIVER variable to "swr".
George Kyriazis (8):
mesa: removed redundant #else
scons: ignore .hpp files in parse_source_list()
scons: added llvm 3.9 support.
gallium: Added SWR support for gdi
gallium scons: Added swr driver to scons
gallium: Enable swr driver
swr: Added swr windows support
swr: Fix linux build
scons/custom.py | 2 +-
scons/llvm.py | 21 ++-
src/gallium/SConscript | 1 +
src/gallium/drivers/swr/Makefile.am | 7 +
src/gallium/drivers/swr/SConscript | 199 +++++++++++++++++++++++++
src/gallium/drivers/swr/rasterizer/common/os.h | 5 +-
src/gallium/drivers/swr/swr_context.cpp | 16 +-
src/gallium/drivers/swr/swr_context.h | 2 +
src/gallium/drivers/swr/swr_loader.cpp | 28 +++-
src/gallium/drivers/swr/swr_public.h | 11 +-
src/gallium/drivers/swr/swr_screen.cpp | 25 +---
src/gallium/targets/libgl-gdi/SConscript | 6 +
src/gallium/targets/libgl-gdi/libgl_gdi.c | 28 +++-
src/gallium/targets/libgl-xlib/SConscript | 6 +
src/gallium/targets/osmesa/SConscript | 6 +
src/util/macros.h | 1 -
16 files changed, 321 insertions(+), 43 deletions(-)
create mode 100644 src/gallium/drivers/swr/SConscript
--
2.10.0.windows.1
More information about the mesa-dev
mailing list