Mesa 3D graphics library
Go to file
Grazvydas Ignotas 7f268cf12b gallium/u_queue: set num_threads correctly if not all threads start
If i-th thread could not be created it means we have i threads,
not i+1, because we start from 0.

Fixes: 404d0d5 "gallium/u_queue: add an option to have multiple worker threads"
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
2017-02-27 14:49:46 +01:00
bin bin/get-fixes-pick-list.sh: add new script 2017-02-16 15:17:52 +00:00
docs docs: update features.txt for GL_ARB_clear_texture with llvmpipe and softpipe 2017-02-24 15:41:26 +01:00
doxygen
include eglmesaext: add new enums for EGL_MESA_drm_image_formats 2017-02-06 17:41:28 +01:00
m4
scons scons: check for libXdamage 1.1 or later 2017-02-13 10:14:23 +00:00
scripts
src gallium/u_queue: set num_threads correctly if not all threads start 2017-02-27 14:49:46 +01:00
.dir-locals.el dir-locals.el: Adds White Space support 2016-11-14 19:17:49 +02:00
.editorconfig editorconfig: Fix up the tab rendering width. 2017-01-03 10:38:53 -08:00
.gitattributes
.gitignore
.mailmap
.travis.yml travis: bring the scons build on par with AppVeyor 2017-02-20 18:21:22 +00:00
Android.common.mk android: define HAVE_DL_ITERATE_PHDR for build-id code 2017-02-20 16:33:03 +00:00
Android.mk ilo: EOL drop unmaintained gallium drv from buildsys 2017-02-03 16:13:36 +11:00
CleanSpec.mk
Makefile.am configure.ac: supersede --enable-gallium-llvm over --enable-llvm 2017-02-10 11:47:24 +00:00
REVIEWERS reviewers: add Rob H for the Android EGL+build parts 2016-11-21 16:01:06 +00:00
SConstruct
VERSION mesa: Bump version to 17.1.0-devel 2017-01-19 15:38:30 +00:00
appveyor.yml
autogen.sh
common.py scons: Recognize LLVM_CONFIG environment variable. 2016-11-24 13:37:33 -08:00
configure.ac configure.ac: check require_basic_egl only if egl enabled 2017-02-24 09:48:47 -05:00
install-gallium-links.mk
install-lib-links.mk

docs/README.WIN32

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.