Mesa 3D graphics library
Go to file
Chad Versace 735070c45b i830: Fix stack corruption
Found by compiler warning:
    i830_texstate.c:131:28: warning: argument to 'sizeof' in 'memset' call
          is the same expression as the destination; did you mean to
          dereference it?  [-Wsizeof-pointer-memaccess]
       memset(state, 0, sizeof(state));
              ~~~~~            ^~~~~

On 64-bit systems, memset here would write an extra 4 bytes.

Note: This is a candidate for the stable branches.
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2012-07-20 16:01:57 -07:00
bin mesa: remove obsolete confdiff.sh 2012-06-20 01:51:38 -07:00
configs automake: convert libglapi 2012-07-13 12:44:07 +01:00
docs wayland: Support EGL_WIDTH and EGL_HEIGHT queries for wl_buffer 2012-07-19 14:03:17 -04:00
doxygen Fix building glsl when using automake-1.12 after 68e04cc6 2012-07-15 15:27:26 +01:00
include wayland: Use existing EGL_TEXTURE_FORMAT for querying wl_buffer texture format 2012-07-19 14:03:17 -04:00
scons gallivm,draw,llvmpipe: Support wider native registers. 2012-07-17 13:42:39 +01:00
src i830: Fix stack corruption 2012-07-20 16:01:57 -07:00
.dir-locals.el Add emacs setup for the docs/devinfo.html comment wrapping recommendation. 2012-07-11 09:20:21 -07:00
.gitattributes
.gitignore automake: Move top-level makefile to automake. 2012-06-11 09:28:00 -07:00
Android.common.mk android: pass -std=c99 by default 2011-11-26 11:42:08 +08:00
Android.mk radeonsi: initial WIP SI code 2012-04-13 10:32:06 -04:00
Makefile.am automake: convert libglsl 2012-07-13 12:43:41 +01:00
SConstruct
acinclude.m4
autogen.sh
common.py scons: Fix SCons build infrastructure for FreeBSD. 2012-05-24 18:49:40 -07:00
configure.ac configure.ac: Further LLVM fixups. 2012-07-17 19:12:01 +02: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.