mesa/docs
Roland Scheidegger 886626960b llvmpipe, gallivm: implement lod queries (LODQ opcode)
This uses all the existing code to calculate lod values for mip linear
filtering. Though we'll have to disable the simplifications (if we know some
parts of the lod calculation won't actually matter for filtering purposes due
to mip clamps etc.). For better or worse, we'll also disable lod calculation
hacks (mostly should make a difference for cube maps) always - the issue with
per-pixel lod being difficult is mostly because we then have different mipmaps
needed for the actual texel fetch, which isn't a problem with lodq.
We still use approximation for the log2 - for that reason I believe the float
part of the lod is only accurate to about 4-5 bits (and one bit less with 1d
textures actually) which is hopefully good enough (though d3d10 technically
requires 6 bits - could use quadratic interpolation instead of linear to get
8 bits or so).
Since lodq requires unclamped lod, we also have to move some sampler key
calculations to texture sampling code - even if we know we're going to access
mipmap 0 we still have to calculate lod and apply lod_bias for lodq.

Passes piglit ARB_texture_query_lod tests (after having fixed the test).

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2017-09-20 21:18:54 +02:00
..
relnotes docs: add sha256 checksums for 17.2.1 2017-09-18 00:13:43 +01:00
specs
application-issues.html
ARB_color_buffer_float.txt
autoconf.html
bugs.html docs: update bug reporting guidelines 2017-07-03 08:14:08 -06:00
codingstyle.html
conform.html
contents.html
debugging.html
developers.html
devinfo.html
dispatch.html
download.html docs: update HTTP -> HTTPS reference to reflect reality 2017-07-12 15:45:30 +01:00
egl.html docs/egl: remove reference to EGL_DRIVERS_PATH 2017-09-12 16:14:04 +01:00
envvars.html i965: Add an INTEL_DEBUG=reemit option. 2017-09-15 21:51:45 -07:00
extensions.html
faq.html
features.txt llvmpipe, gallivm: implement lod queries (LODQ opcode) 2017-09-20 21:18:54 +02:00
gears.png
helpwanted.html docs: remove link to MissingFunctionality wiki page 2017-08-22 11:03:08 +10:00
index.html docs: update calendar, add news item and link release notes for 17.2.1 2017-09-18 00:16:42 +01:00
install.html
intro.html
libGL.txt glx: turn LIBGL_ALWAYS_INDIRECT into a boolean 2017-09-12 13:53:12 +01:00
license.html
lists.html
llvmpipe.html
mangling.html
mesa.css
opengles.html
osmesa.html
patents.txt
perf.html
postprocess.html
precompiled.html
README.UVD
README.VCE
README.WIN32
release-calendar.html docs: update calendar, add news item and link release notes for 17.2.1 2017-09-18 00:16:42 +01:00
releasing.html egl+glx: turn LIBGL_ALWAYS_SOFTWARE into a boolean 2017-09-12 13:53:11 +01:00
relnotes.html docs: update calendar, add news item and link release notes for 17.2.1 2017-09-18 00:16:42 +01:00
repository.html
shading.html docs: Document shader capturing environment variables. 2017-09-12 09:27:09 -07:00
sourcedocs.html
sourcetree.html docs: update sourcetree following omx rename 2017-09-17 13:29:46 +01:00
submittingpatches.html docs/submittingpatches: add 'test each commit' instructions 2017-09-17 00:21:31 +01:00
systems.html
thanks.html
utilities.html
VERSIONS
versions.html
viewperf.html
vmware-guest.html
webmaster.html
xlibdriver.html

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.