Mesa3D Graphics Library (Bleeding edge ray tracing branches)
Go to file
Robert Ellison 0ccbc3c905 Fix an i965 assertion failure on glClear()
While running conform with render-to-texture:

	conform -d 33 -v 2 -t -direct

the i965 driver failed this assertion:

intel_clear.c:77: intel_clear_tris: Assertion `(mask & ~((1 << BUFFER_BACK_LEFT) | (1 << BUFFER_FRONT_LEFT) | (1 << BUFFER_DEPTH) | (1 << BUFFER_STENCIL))) == 0' failed.

The problem is that intel_clear_tris() is called by intelClear() to
clear any and all of the available color buffers, but intel_clear_tris()
actually only handles the back left and front left color buffers; so
the assertion fails as soon as you try to clear a non-standard color
buffer.

The fix is to have intelClear() only call intel_clear_tris() with
buffers that intel_clear_tris() can support.  intelClear() already backs
down to _swrast_Clear() for all buffers that aren't handled explicitly.
2009-02-11 18:05:19 -07:00
bin Merge commit 'origin/master' into gallium-0.2 2008-10-10 15:26:28 +01:00
configs autoconf: Adjust to new asm SOURCES variables 2009-02-11 11:58:39 -08:00
docs docs: some Cell driver docs updates 2009-02-10 19:36:52 -07:00
doxygen Merge branch 'gallium-0.1' into gallium-0.2 2008-09-11 16:05:15 +01:00
include glut: Automatic library linkage only on MSVC. 2009-01-24 15:32:01 +00:00
progs demos: minor updates for shader_api.c test 2009-02-11 09:17:22 -07:00
scons scons: Use parallel builds by default. 2009-02-10 18:13:05 +00:00
src Fix an i965 assertion failure on glClear() 2009-02-11 18:05:19 -07:00
windows Merge commit 'origin/master' into gallium-0.2 2009-01-22 09:43:42 +00:00
.emacs-dirvars Add emacs dirvars file with Mesa indention definition. 2007-09-18 10:02:51 -04:00
.gitattributes Allow CRLF automatic conversion on MSVC project files. 2008-06-24 22:25:52 +09:00
.gitignore scons: Build progs. 2008-12-12 12:37:21 +09:00
Makefile Revert "mesa: added new linux-gallium and linux-gallium-debug configs" 2009-02-10 16:22:19 +01:00
SConstruct Make r300 and amd build in scons. 2009-02-01 23:30:21 -08:00
acinclude.m4 autoconf: Attempt to figure out the PIC flags for the platform 2008-05-09 07:05:16 -07:00
autogen.sh autogen: Make sure MAKEFLAGS is not set before running autoreconf 2009-02-10 11:58:11 +10:30
common.py Merge commit 'origin/gallium-0.1' into gallium-0.2 2008-12-15 11:22:19 +00:00
configure.ac autoconf: Fix lib globbing for static builds 2009-02-11 15:16:00 -08:00

docs/README.directfb

                         
                         Mesa DirectFB Information


Requirements
============

  To build Mesa with DirectFB (DirectFBGL) support you need:
     - DirectFB at least 1.0.0 (http://directfb.org)
     - pkg-config at least 0.9 (http://pkgconfig.sf.net)


Installation
============
  Run
     
     make linux-directfb

  to build Mesa and DirectFBGL module,

     make install

  to install OpenGL libraries and

     cd src/mesa/drivers/directfb ; make install

  to install DirectFBGL module in the proper location.
  Actually, that last command may not be needed.  Please provide feedback.