Find a file
Kenneth Graunke c25e5300cb i965: Fix border color on Sandybridge and Ivybridge.
While reading through the simulator, I found some interesting code that
looks like it checks the sampler default color pointer against the bound
set in STATE_BASE_ADDRESS.  On failure, it appears to program it to the
base address itself.

So I decided to try programming a legitimate bound, and lo and behold,
border color worked.

+92 piglits on Sandybridge.  Also fixes Lightsmark on Ivybridge.

NOTE: This is a candidate for stable release branches.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=28924
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38868
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
2012-01-23 10:38:14 -08:00
bin Add .gitignore files to exclude unit test build artifacts from git 2012-01-05 13:27:12 -08:00
configs Remove src/mesa/ppc 2012-01-21 22:43:54 -05:00
docs docs: add more potential dependencies for vmware guest driver 2012-01-18 10:44:05 -07:00
doxygen doxygen: Add link to the gbm documentation to the header 2012-01-13 09:31:24 -05:00
include gbm: Validate usage flags in gbm_bo_create_from_egl_image() 2012-01-18 15:32:51 -05:00
scons scons: Don't set visibility to hidden on Haiku 2012-01-17 20:02:41 +00:00
src i965: Fix border color on Sandybridge and Ivybridge. 2012-01-23 10:38:14 -08:00
tests Add .gitignore files to exclude unit test build artifacts from git 2012-01-05 13:27:12 -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 i965: Convert the build to using automake. 2012-01-17 10:35:24 -08: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 scons: Add more machine architectures to the machine map 2012-01-18 16:46:16 +00:00
configure.ac Don't build shared dricore when unneeded 2012-01-23 18:17:48 +00:00
Makefile mesa: Include glx tests Makefile.in in tarball 2012-01-12 00:44:12 +01: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.