third_party_mesa3d/docs
Adam Jackson a59b1b18a9 glx, egl: Add LIBGL_DRI2_DISABLE environment variable
For orthogonality with LIBGL_DRI3_DISABLE.

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7688>
2020-11-20 16:15:57 +00:00
..
_extra/specs docs: Update Mesa GL enum allocations for EGL_MESA_platform_xcb 2020-11-19 21:07:12 +00:00
_exts docs: specify redirects in conf.py instead 2020-10-21 18:11:39 +00:00
ci ci/deqp: Allow specifying the caselist fraction separate from CI_NODE_INDEX. 2020-11-11 17:22:47 +00:00
drivers docs: add basic docs for d3d12 driver 2020-11-20 09:10:28 +00:00
gallium gallium: add missing bits of the direct multi draw interface 2020-11-18 01:41:24 +00:00
relnotes driconf: remove the redundant glx-extension-disabling options 2020-11-13 08:48:34 +02:00
android.rst docs: Document how to build and install Android drivers. 2020-10-20 18:29:38 +00:00
application-issues.rst docs: update internal references 2020-06-16 20:36:38 +00:00
ARB_color_buffer_float.txt mesa: implement clamping controls (ARB_color_buffer_float) 2011-03-29 12:04:55 +02:00
bugs.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
codingstyle.rst docs: gallium -> Gallium 2020-09-29 09:00:36 +00:00
conf.py docs/vmware: Move the vmware driver docs into the drivers section. 2020-10-21 18:11:39 +00:00
conform.rst docs: Replace ancient swrast conformance docs with more current information. 2020-06-16 20:54:44 +00:00
contents.rst docs: add basic docs for d3d12 driver 2020-11-20 09:10:28 +00:00
debugging.rst docs: scons -> SCons 2020-09-30 08:18:21 +00:00
developers.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
devinfo.rst docs: drop open-coded toc for articles 2020-06-13 10:42:01 +00:00
dispatch.rst docs: use ref-links for internal references 2020-06-28 09:06:57 +00:00
download.rst docs: git -> Git 2020-09-30 08:18:21 +00:00
egl.rst docs: ie. -> i.e. 2020-10-28 10:27:51 +00:00
envvars.rst glx, egl: Add LIBGL_DRI2_DISABLE environment variable 2020-11-20 16:15:57 +00:00
extensions.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
faq.rst docs: s3tc -> S3TC 2020-10-28 10:27:51 +00:00
favicon.ico docs: update favicon 2020-06-26 12:09:22 +00:00
favicon.svg docs: update favicon 2020-06-26 12:09:22 +00:00
features.txt docs/features: document d3d12 features 2020-11-16 18:03:44 +00:00
helpwanted.rst docs: gcc -> GCC 2020-10-28 10:27:51 +00:00
index.rst docs: gallium -> Gallium 2020-09-29 09:00:36 +00:00
install.rst docs: clang -> Clang 2020-10-28 10:27:51 +00:00
libGL.txt glx: turn LIBGL_ALWAYS_INDIRECT into a boolean 2017-09-12 13:53:12 +01:00
license.rst docs: reformat license table as rst table 2020-06-13 10:42:01 +00:00
lists.rst docs: git -> Git 2020-09-30 08:18:21 +00:00
meson.rst docs: clang -> Clang 2020-10-28 10:27:51 +00:00
opengles.rst docs: update internal references 2020-06-16 20:36:38 +00:00
osmesa.rst docs: gallium -> Gallium 2020-09-29 09:00:36 +00:00
perf.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
precompiled.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +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.rst docs: update calendar and link releases notes for 20.2.2 2020-11-06 20:50:18 -08:00
release-maintainers-keys.asc docs: cat maintainer keys to a single file 2020-06-22 23:07:16 +00:00
releasing.rst docs: clang -> Clang 2020-10-28 10:27:51 +00:00
relnotes.rst docs: update calendar and link releases notes for 20.2.2 2020-11-06 20:50:18 -08:00
repository.rst docs: git -> Git 2020-09-30 08:18:21 +00:00
shading.rst docs: drop open-coded toc for articles 2020-06-13 10:42:01 +00:00
sourcedocs.rst docs: git -> Git 2020-09-30 08:18:21 +00:00
sourcetree.rst docs: gallium -> Gallium 2020-09-29 09:00:36 +00:00
submittingpatches.rst docs: quote "git log" 2020-09-30 08:18:21 +00:00
systems.rst Fix VMware capitalization. 2020-10-27 15:33:40 -07:00
thanks.rst docs: git -> Git 2020-09-30 08:18:21 +00:00
utilities.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
versions.rst docs: gcc -> GCC 2020-10-28 10:27:51 +00:00
viewperf.rst docs: gallium -> Gallium 2020-09-29 09:00:36 +00:00
xlibdriver.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +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.