Find a file
Paul Berry 5aa96286e7 i965/gen6+: Add support for noperspective interpolation.
This required the following changes:

- WM setup now makes the appropriate set of barycentric coordinates
  (perspective vs. noperspective) available to the fragment shader,
  based on whether the shader requires perspective interpolation,
  noperspective interpolation, both, or neither.

- The fragment shader backend now uses the appropriate set of
  barycentric coordiantes when interpolating, based on the
  interpolation mode returned by
  ir_variable::determine_interpolation_mode().

- SF setup now uses gl_fragment_program::InterpQualifier to determine
  which attributes are to be flat shaded (as opposed to the old logic,
  which only flat shaded colors).

- CLIP setup now ensures that the clipper outputs non-perspective
  barycentric coordinates when they are needed by the fragment shader.

Fixes the remaining piglit tests of interpolation qualifiers that were
failing:
- interpolation-flat-*-smooth-none
- interpolation-flat-other-flat-none
- interpolation-noperspective-*
- interpolation-smooth-gl_*Color-flat-*

Reviewed-by: Eric Anholt <eric@anholt.net>
2011-10-27 15:32:20 -07:00
bin mesa: Remove support for BeOS 2011-08-26 23:31:23 -07:00
configs configs: add vmgfx-related dirs to configs/linux-dri 2011-10-23 11:10:06 -06:00
docs docs: update GL3 status 2011-10-27 15:57:08 +02:00
doxygen doxygen: Add glsl to the Makefile and .gitignore. 2011-01-19 23:49:54 -08:00
include Only use gcc visibility support with gcc4+. 2011-10-24 10:22:52 -06:00
scons scons: Use -fno-builtin-memcmp. 2011-10-12 20:43:01 +01:00
src i965/gen6+: Add support for noperspective interpolation. 2011-10-27 15:32:20 -07: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: build libGLES_mesa 2011-08-21 02:01:48 +08:00
Android.mk r600g: move all files from winsys/r600 into drivers/r600 2011-09-30 23:19:52 +02:00
autogen.sh autogen.sh: Honor NOCONFIGURE environment variable 2011-09-19 19:53:49 +01:00
common.py swrast: initial multi-threaded span rendering 2011-08-11 08:33:59 -06:00
configure.ac gallium/targets: Add vdpau target for nouveau 2011-10-21 23:39:01 +02:00
Makefile mesa: Remove support for BeOS 2011-08-26 23:31:23 -07: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.