Find a file
Paul Berry 989b5722dc i965: Fix transform feedback of gl_ClipVertex.
Previously, on i965 Gen6 and above, we weren't allocating space for
gl_ClipVertex in the VUE, since the VS was automatically converting it
to clip distances.  This prevented transform feedback from being able
to capture gl_ClipVertex.

This patch goes aheads and allocates space for gl_ClipVertex in the
VUE on Gen6 and above.  The old behavior is retained on Gen5 and
below, since (a) transform feedback is not yet supported on those
platforms, and (b) those platforms don't currently support
gl_ClipVertex anyhow.

Note: this constitutes a slight waste of VUE space for shaders that
use gl_ClipVertex and don't use transform feedback to capture it.
However, that seems preferable to making the VUE map (and all of the
state that depends on it) dependent on transform feedback settings.

Fixes Piglit test "EXT_transform_feedback/builtin-varyings
gl_ClipVertex".

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2012-01-05 13:27:11 -08:00
bin mklib: tab cleanup, no functional change 2011-12-27 09:18:25 -07:00
configs gallium/failover: Remove the deprecated module. 2011-11-30 17:26:40 +00:00
docs docs: update GL3 status 2011-12-17 14:56:21 +01:00
doxygen gallium/failover: Remove the deprecated module. 2011-11-30 17:26:40 +00:00
include dri2: Add createContextAttribs entry point for DRISW version 3 2011-12-23 08:49:53 -08:00
scons Remove windows kernel support code. 2011-11-29 17:34:56 +00:00
src i965: Fix transform feedback of gl_ClipVertex. 2012-01-05 13:27:11 -08:00
tests glx: More hacking around versions of XCB that lack GLX_ARB_create_context support 2012-01-04 12:43:10 -08:00
.emacs-dirvars Add emacs dirvars file with Mesa indention definition. 2007-09-18 10:02:51 -04:00
.gitattributes Allow CRLF automatic conversion on MSVC project files. 2008-06-24 22:25:52 +09:00
.gitignore Ignore all shared objects 2011-10-04 07:48:45 -06:00
acinclude.m4 autoconf: Attempt to figure out the PIC flags for the platform 2008-05-09 07:05:16 -07:00
Android.common.mk android: pass -std=c99 by default 2011-11-26 11:42:08 +08:00
Android.mk android: move libGLES_mesa build rules to src/egl/main/. 2011-11-26 11:42:08 +08:00
autogen.sh autogen.sh: Honor NOCONFIGURE environment variable 2011-09-19 19:53:49 +01:00
common.py gallium/cell: Remove the driver. 2011-11-29 20:26:53 +00:00
configure.ac Revert "configure.ac: remove deprecated --with-driver=" 2012-01-04 23:49:18 -08:00
Makefile tests/glx: Add unit tests for GLX_ARB_create_context GLX protocol 2012-01-02 12:41:45 -08:00
SConstruct scons: Disable saving options automatically. 2011-07-01 19:04:57 +01:00

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.