Mesa 3D graphics library
Go to file
Roland Scheidegger f972567671 draw: make sure key size is calculated consistently.
Some parts calculated key size by using shader information, others by using
the pipe_vertex_element information. Since it is perfectly valid to have more
vertex_elements set than the vertex shader is using those may not be the same,
so we weren't copying over all vertex_element state - this caused the tgsi dump
to assert (iterates over all vertex elements). More importantly in this
situation it would also break vertex texturing completely (since the sampler
state derived from the key is at a different position than expected).
Fix thix by deriving key->nr_vertex_elements from the shader information
instead of the pipe_vertex_element state (unlike dx10, we can't have "holes"
in pipe_vertex_element state, so this should be safe).
(Note that actual llvm shader generation does not use the pipe_vertex_element
state from the key itself in any case (althogh I guess it could) but uses
the one from draw.pt (which should be the same though contains all elements)
instead.)

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2013-02-22 04:34:07 +01:00
bin Remove installmesa 2013-01-10 22:01:31 +01:00
docs docs: import release notes for 9.0.3, add news item 2013-02-21 17:31:42 +01:00
doxygen glsl/build: Build glcpp via the glsl Makefile 2013-01-22 14:33:20 -08:00
include mesa: remove old version comment from gl.h 2013-02-15 09:25:15 -07:00
m4 build: Use AX_PROG_FLEX 2013-01-22 14:33:38 -08:00
scons Require libdrm_radeon 2.4.42 for radeonsi. 2013-02-05 15:12:14 +01:00
src draw: make sure key size is calculated consistently. 2013-02-22 04:34:07 +01:00
.dir-locals.el
.gitattributes
.gitignore Clean up .gitignore files 2013-01-10 22:01:31 +01:00
Android.common.mk android: Define Make variables for Android version 2013-01-02 14:51:18 -08:00
Android.mk android: Define Make variables for Android version 2013-01-02 14:51:18 -08:00
Makefile.am mesa: bump version to 9.2 (devel) 2013-01-31 09:01:15 +01:00
SConstruct
autogen.sh
common.py scons: Add option to enable floating-point textures. 2012-08-15 22:04:24 -07:00
configure.ac configure.ac: Do not check for clock_gettime on MinGW. 2013-02-19 21:17:37 -08: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.