Mesa 3D graphics library
Go to file
Roland Scheidegger 213c207b3a gallivm: work around slow code generated for interleaving 128bit vectors
We use 128bit vector interleave for untwiddling in the blend code (with
256bit vectors). llvm generates terrible code for this for some reason,
so instead of generating a shuffle for 2 128bit vectors use a
extract/insert shuffle instead (it only seems to matter we're not using
128bit wide vectors for the shuffle). This decreases instruction count of
the blend code generated for a rgba8 render target without blending from
169 to 113 with llvm 3.1 and from 136 to 114 in llvm 3.2/3.3, and I got
a ~8% (llvm 3.1) and ~5% (3.2/3.3) performance improvement in gears.
(The generated code is still not terribly good as we could actually avoid
the interleaving completely but llvm can't know this.)

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2013-06-08 17:33:51 +02:00
bin mesa: add usage examples to get-pick-list and shortlog scripts 2013-05-01 21:42:02 +02:00
docs docs: update some environment variable info 2013-06-07 10:12:32 -06:00
doxygen glsl/build: Build glcpp via the glsl Makefile 2013-01-22 14:33:20 -08:00
include intel: Use the CHIPSET macro in the PCI ID tables for the device name. 2013-06-06 14:28:35 -07:00
m4 build: Use AX_PROG_FLEX 2013-01-22 14:33:38 -08:00
scons scons: Fix implicit python dependency discovery on Windows. 2013-06-08 08:55:06 +01:00
src gallivm: work around slow code generated for interleaving 128bit vectors 2013-06-08 17:33:51 +02:00
.dir-locals.el
.gitattributes
.gitignore
Android.common.mk build: Unify PACKAGE_VERSION on autotools, scons and Android 2013-06-06 19:07:14 +02:00
Android.mk android: add ilo to the build system 2013-05-06 07:20:07 -07:00
Makefile.am build: Use PACKAGE_VERSION from autoconf 2013-06-06 19:07:22 +02:00
SConstruct build: Unify PACKAGE_VERSION on autotools, scons and Android 2013-06-06 19:07:14 +02:00
autogen.sh
common.py scons: Allows choosing VS 10 or 11. 2013-03-12 22:04:04 +00:00
configure.ac build: Unify PACKAGE_VERSION on autotools, scons and Android 2013-06-06 19:07:14 +02:00

docs/README.WIN32

File: docs/README.WIN32

Last updated: 23 April 2011


Quick Start
----- -----

Windows drivers are build with SCons.  Makefiles or Visual Studio projects are
no longer shipped or supported.

Run

  scons osmesa mesagdi

to build classic mesa Windows GDI drivers; or

  scons libgl-gdi

to build gallium based GDI driver.

This will work both with MSVS or Mingw.


Windows Drivers
------- -------

At this time, only the gallium GDI driver is known to work.

Source code also exists in the tree for other drivers in
src/mesa/drivers/windows, but the status of this code is unknown.


General
-------

After building, you can copy the above DLL files to a place in your
PATH such as $SystemRoot/SYSTEM32.  If you don't like putting things
in a system directory, place them in the same directory as the
executable(s).  Be careful about accidentially overwriting files of
the same name in the SYSTEM32 directory.

The DLL files are built so that the external entry points use the
stdcall calling convention.

Static LIB files are not built.  The LIB files that are built with are
the linker import files associated with the DLL files.

The si-glu sources are used to build the GLU libs.  This was done
mainly to get the better tessellator code.

If you have a Windows-related build problem or question, please post
to the mesa-dev or mesa-users list.