mesa/docs
Kenneth Graunke 620f12a53f i965: Drop INTEL_DEBUG=stats.
For whatever reason, we had an INTEL_DEBUG=stats option that enabled
various statistics counters on Gen4-5 systems.  It's been around
forever, though I can't think of a single time that it's been useful.

On Gen6+, we enable statistics all the time because they're necessary
to support various query object targets.  Turning them off would break
those queries.

Gen4-5 don't support those queries, so the statistics counters generally
aren't useful; we disabled them by default.  This patch disables them
altogether.

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
2017-05-10 11:37:19 -07:00
..
relnotes docs: add sha256 checksums for 17.1.0 2017-05-10 15:21:41 +01:00
specs docs: Update MESA_shader_integer_functions spec to version 3. 2017-04-13 23:01:27 -07:00
application-issues.html docs: https all the links \o/ 2017-02-09 11:28:15 +00:00
ARB_color_buffer_float.txt mesa: implement clamping controls (ARB_color_buffer_float) 2011-03-29 12:04:55 +02:00
autoconf.html docs: fix a few typos 2017-02-27 14:15:10 +00:00
bugs.html docs: https all the links \o/ 2017-02-09 11:28:15 +00:00
codingstyle.html docs: fix a few typos 2017-02-27 14:15:10 +00:00
conform.html docs: fix misspellings 2014-01-06 09:55:38 -07:00
contents.html docs: add release calendar page and references to it 2017-04-29 13:43:06 +01:00
debugging.html docs: add new iframe layout 2012-09-19 17:15:47 +02:00
developers.html docs: https all the links \o/ 2017-02-09 11:28:15 +00:00
devinfo.html docs: flesh out releasing.html 2016-11-21 15:08:18 +00:00
dispatch.html glx: remove support for non-multithreaded platforms 2015-03-11 23:28:26 +00:00
download.html docs: https all the links \o/ 2017-02-09 11:28:15 +00:00
egl.html docs: fix a few typos 2017-02-27 14:15:10 +00:00
envvars.html i965: Drop INTEL_DEBUG=stats. 2017-05-10 11:37:19 -07:00
extensions.html mesa: Remove GL_MESA_resize_buffers 2013-06-28 13:35:21 -07:00
faq.html docs: https all the links \o/ 2017-02-09 11:28:15 +00:00
features.txt docs/features: mark KHR_no_error as started 2017-04-21 09:39:38 +02:00
gears.png docs: improve quality of gears.png 2012-09-20 20:00:36 +02:00
helpwanted.html docs: https all the links \o/ 2017-02-09 11:28:15 +00:00
index.html docs: add news item and link release notes for 17.1.0 2017-05-10 15:24:03 +01:00
install.html docs: fix a few typos 2017-02-27 14:15:10 +00:00
intro.html docs: improve the list of gl implementations 2017-02-09 15:45:08 +00:00
libGL.txt Fix a few typos 2015-04-27 17:28:29 +03:00
license.html docs: https all the links \o/ 2017-02-09 11:28:15 +00:00
lists.html docs: https all the links \o/ 2017-02-09 11:28:15 +00:00
llvmpipe.html bin/perf-annotate-jit: add .py suffix 2017-03-10 14:12:47 +00:00
mangling.html docs: recommend using --enable-mangling over the manual -DUSE... 2016-11-21 15:08:27 +00:00
mesa.css docs: add new iframe layout 2012-09-19 17:15:47 +02:00
opengles.html docs: https all the links \o/ 2017-02-09 11:28:15 +00:00
osmesa.html docs: rewrite the OSMesa info / instructions 2013-03-12 19:04:43 -06:00
patents.txt docs: https all the links \o/ 2017-02-09 11:28:15 +00:00
perf.html docs: add new iframe layout 2012-09-19 17:15:47 +02:00
postprocess.html docs: https all the links \o/ 2017-02-09 11:28:15 +00:00
precompiled.html docs: provide some tips where to obtain Mesa binaries 2017-02-16 15:17:51 +00:00
README.UVD radeon/uvd: add H.265/HEVC to legal notes 2015-11-08 18:16:01 -05:00
README.VCE radeon/winsys: add VCE support v4 2014-02-13 11:11:24 +01:00
README.WIN32 docs: https all the links \o/ 2017-02-09 11:28:15 +00:00
release-calendar.html docs: add release calendar page and references to it 2017-04-29 13:43:06 +01:00
releasing.html docs/releasing: added relevant people for build/check with MacOSX 2017-05-08 11:39:46 +03:00
relnotes.html docs: add news item and link release notes for 17.1.0 2017-05-10 15:24:03 +01:00
repository.html docs: https all the links \o/ 2017-02-09 11:28:15 +00:00
shading.html mesa: remove MESA_GLSL=opt 2017-03-31 13:43:38 +11:00
sourcedocs.html docs: add link to gallium doc 2017-02-21 14:43:29 +00:00
sourcetree.html docs: fix a few typos 2017-02-27 14:15:10 +00:00
submittingpatches.html docs: Document interaction Fixes tag and stable branches. 2017-04-15 11:37:46 +02:00
systems.html docs: https all the links \o/ 2017-02-09 11:28:15 +00:00
thanks.html docs: https all the links \o/ 2017-02-09 11:28:15 +00:00
utilities.html docs: https all the links \o/ 2017-02-09 11:28:15 +00:00
VERSIONS Fix a few typos 2015-04-27 17:28:29 +03:00
versions.html Fix a few typos 2015-04-27 17:28:29 +03:00
viewperf.html docs: https all the links \o/ 2017-02-09 11:28:15 +00:00
vmware-guest.html docs: https all the links \o/ 2017-02-09 11:28:15 +00:00
webmaster.html docs: add new iframe layout 2012-09-19 17:15:47 +02:00
xlibdriver.html docs: fix gamma correction link 2017-02-21 14:54:10 +00:00

File: docs/README.WIN32

Last updated: 21 June 2013


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

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

Run

  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.

Recipe
------

Building on windows requires several open-source packages. These are
steps that work as of this writing.

- install python 2.7
- install scons (latest)
- install mingw, flex, and bison
- install pywin32 from here: http://www.lfd.uci.edu/~gohlke/pythonlibs
  get pywin32-218.4.win-amd64-py2.7.exe
- install git
- download mesa from git
  see https://www.mesa3d.org/repository.html
- run scons

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.