Mesa 3D graphics library
Go to file
Kenneth Graunke 82f8e8ebd5 i965: Replace structs with bit-shifting for Gen7 SURFACE_STATE entries.
Every generation except Gen7 creates SURFACE_STATE entries via a
uint32_t array.  Only Gen7 uses the older bitfield structure, which we
moved away from because it was less efficient.  Convert it for
consistency.

This reduces the compiled size of gen7_wm_surface_state.o by 2.86% in a
release build.

v2: Fix accidental use of BRW_SURFACE_WIDTH/HEIGHT in brw_state_dump.c;
    switch back to gen7_set_surface_mcs_info setting surf[6] directly
    (both per Eric's review comments).

Acked-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
2013-01-03 13:36:04 -08:00
bin mesa: use .cherry-ignore in the get-pick-list.sh script 2012-11-14 20:45:33 +01:00
configs automake/gallium: attempt to fix -lrt 2012-12-04 18:02:07 +10:00
docs docs: add ARB_texture_buffer_object_rgb32 2012-12-16 07:07:43 +10:00
doxygen Finish _HAVE_FULL_GL removal 2012-10-17 19:30:34 -07:00
include mesa: fix compiler warnings when including GL/gl.h with other gl headers 2012-12-06 09:08:52 -07:00
m4 build: Fix AX_PROG_{CC,CXX}_FOR_BUILD macros 2012-12-13 10:58:11 -08:00
scons gallium/os: Cleanup up os_time_get/os_time_get_nano. 2012-12-06 17:12:31 +00:00
src i965: Replace structs with bit-shifting for Gen7 SURFACE_STATE entries. 2013-01-03 13:36:04 -08:00
.dir-locals.el
.gitattributes
.gitignore Add .dirstamp to toplevel .gitignore 2012-11-21 18:25:10 +01:00
Android.common.mk android: Define Make variables for Android version 2013-01-02 14:51:18 -08:00
Android.mk android: Define Make variables for Android version 2013-01-02 14:51:18 -08:00
Makefile.am build: use git ls-files for adding all Makefile.in into the release tarball 2012-11-26 19:03:21 +01:00
SConstruct
acinclude.m4 build: fix enable/disable language in ./configure --help 2012-11-10 21:32:09 +01:00
autogen.sh build: Fix autogen.sh to allow out-of-tree builds 2012-08-14 10:54:39 -07:00
common.py scons: Add option to enable floating-point textures. 2012-08-15 22:04:24 -07:00
configure.ac configure.ac: Disable compiler optimizations when --enable-debug is set 2012-12-12 14:48:06 -06:00

docs/README.WIN32

File: docs/README.WIN32

Last updated: 23 April 2011


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

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

Run

  scons osmesa mesagdi

to build classic mesa Windows GDI drivers; or

  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.


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.