mesa/docs
Erik Faye-Lund d6be994ef8 docs: use code-blocks
Sphinx can syntax-highlight a block if we use the right syntax.

Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4630>
2020-06-13 10:42:00 +00:00
..
relnotes docs: format notes as rst-notes 2020-06-13 10:42:00 +00:00
specs docs: update the blocks of unused EGL enums assigned to us 2020-06-13 01:30:24 +00:00
application-issues.rst docs: use code-blocks 2020-06-13 10:42:00 +00:00
ARB_color_buffer_float.txt
bugs.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
codingstyle.rst docs: use code-blocks 2020-06-13 10:42:00 +00:00
conf.py docs: disable syntax-highlighting by default 2020-06-13 10:42:00 +00:00
conform.rst docs: format notes as rst-notes 2020-06-13 10:42:00 +00:00
contents.rst docs: include meson in the toctree 2020-06-13 10:42:00 +00:00
debugging.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
developers.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
devinfo.rst docs: use code-blocks 2020-06-13 10:42:00 +00:00
dispatch.rst docs: use code-block with caption instead of table 2020-06-13 10:42:00 +00:00
download.rst docs: use code-blocks 2020-06-13 10:42:00 +00:00
egl.rst docs: use code-blocks 2020-06-13 10:42:00 +00:00
envvars.rst docs: format notes as rst-notes 2020-06-13 10:42:00 +00:00
extensions.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
faq.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
favicon.ico docs: add favicon to the website 2018-05-29 14:48:21 +01:00
favicon.png docs: add favicon to the website 2018-05-29 14:48:21 +01:00
features.txt docs/features.txt: Update for freedreno 2020-06-04 00:56:20 +00:00
helpwanted.rst docs: fixup broken rst 2020-06-13 10:42:00 +00:00
index.rst docs: format notes as rst-notes 2020-06-13 10:42:00 +00:00
install.rst docs: format notes as rst-notes 2020-06-13 10:42:00 +00:00
intro.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
libGL.txt glx: turn LIBGL_ALWAYS_INDIRECT into a boolean 2017-09-12 13:53:12 +01:00
license.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
lists.rst docs: format notes as rst-notes 2020-06-13 10:42:00 +00:00
llvmpipe.rst docs: use code-blocks 2020-06-13 10:42:00 +00:00
meson.rst docs: use code-blocks 2020-06-13 10:42:00 +00:00
opengles.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
osmesa.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
perf.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
postprocess.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: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
releasing.rst docs: format notes as rst-notes 2020-06-13 10:42:00 +00:00
relnotes.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
repository.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
shading.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
sourcedocs.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
sourcetree.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
submittingpatches.rst docs: use code-blocks 2020-06-13 10:42:00 +00:00
systems.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
thanks.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
utilities.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
VERSIONS Fix a few typos 2015-04-27 17:28:29 +03:00
versions.rst docs: format notes as rst-notes 2020-06-13 10:42:00 +00:00
viewperf.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +00:00
vmware-guest.rst docs: format notes as rst-notes 2020-06-13 10:42:00 +00:00
webmaster.rst docs: convert articles to reructuredtext 2020-06-13 10:42:00 +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.