History log of /external/mesa3d/src/gallium/drivers/softpipe/sp_clear.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e763b6e78825f11aa3e9e2368ba8fc47313a7848 07-Dec-2011 Morgan Armand <morgan.devel@gmail.com> softpipe: remove the 32bits limitation on depth(-stencil) formats

This patch remove the 32bits limitation. As a side effect, it bring the support for the GL_ARB_depth_buffer_float extension.
No regression have been found on piglit, and all tests for GL_ARB_depth_buffer_float pass successfully.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/softpipe/sp_clear.c
9a8791c889160a784207243bf46957647640da5f 18-Oct-2011 Brian Paul <brianp@vmware.com> softpipe: remove unused vars in softpipe_clear()
/external/mesa3d/src/gallium/drivers/softpipe/sp_clear.c
396ac41fc285f0d7c8545f2b32ba373693a7a326 19-Sep-2011 Dave Airlie <airlied@redhat.com> softpipe: add integer support

This adds support to the clear and tile caches for integer storage
and clearing, avoiding any floating paths.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/softpipe/sp_clear.c
6dd284f7c8fac22f64c13fdf9909094f5ec59086 16-Sep-2011 Dave Airlie <airlied@redhat.com> gallium: move clear paths from rgba to a pointer to a color union (v2)

This moves the gallium interface for clears from using a pointer to 4 floats to a pointer to a union of float/unsigned/int values.

Notes:
1. the value is opaque.
2. only when the value is used should it be interpretered according to
the surface format it is going to be used with.
3. float clears on integer buffers and vice-versa are undefined.

v2: fixed up vega and graw, dropped hunks that shouldn't have been in
patch.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/softpipe/sp_clear.c
57aa597b3d5dac0fc59c05557dafec59e14e1019 21-Jul-2011 Brian Paul <brianp@vmware.com> softpipe: use the polygon stipple utility module

This is an alternative to the draw module's polygon stipple stage.
The softpipe implementation here is just a test. The advantange of
using the new polygon stipple utility module (with other drivers)
is we can avoid software vertex processing in the draw module and
get much better performance.
Polygon stipple doesn't require special vertex processing like
the other draw module stage.
/external/mesa3d/src/gallium/drivers/softpipe/sp_clear.c
89f244931f444056a1ccf544e608b533fa993fa2 25-Apr-2010 José Fonseca <jfonseca@vmware.com> softpipe: Hardcode TILE_CLEAR_OPTIMIZATION to 1.

The un-optimized path relies on surface_fill which can only handle formats
with depth <= 32, so it is pointless to keep it around.
/external/mesa3d/src/gallium/drivers/softpipe/sp_clear.c
41450b03a8e8e0f94f8eefc6880d32e9b0ef6f6d 31-Dec-2009 Brian Paul <brianp@vmware.com> softpipe: implement conditional rendering
/external/mesa3d/src/gallium/drivers/softpipe/sp_clear.c
3456f9149b3009fcfce80054759d05883d3c4ee5 07-Dec-2009 Roland Scheidegger <sroland@vmware.com> gallium/util: fix util_color_[un]pack[-ub] to be strict aliasing safe

use pointer to union instead of void pointer.
gcc complained a lot, depending what the pointer originally actually was.
Looks like it's in fact maybe legal to cast for instance uint pointers to
union pointers as long as union contains a uint type, hence use this with some
callers, other just use union util_color in the first place.
/external/mesa3d/src/gallium/drivers/softpipe/sp_clear.c
71b3ccc4b0e006de3a70c05c41a706ac9929cd5d 11-Sep-2009 Brian Paul <brianp@vmware.com> softpipe: remove unneeded #includes
/external/mesa3d/src/gallium/drivers/softpipe/sp_clear.c
3f4d776199562f94edb99045e0dad3e26dfddac0 10-Sep-2009 Brian Paul <brianp@vmware.com> softpipe: minor indentation fix
/external/mesa3d/src/gallium/drivers/softpipe/sp_clear.c
988db641195819c948249a1bb2d59f13577a482f 10-Sep-2009 Brian Paul <brianp@vmware.com> softpipe: set dirty_render_cache in softpipe_clear()

This fixes a bug seen when doing a glDrawPixels(GL_STENCIL_INDEX) right
after a glClear(). The check-for-flush test was failing because we
didn't set the dirty_render_cache flag in softpipe_clear(). So we saw
stale data when we mapped the stencil buffer.
/external/mesa3d/src/gallium/drivers/softpipe/sp_clear.c
f4d744af24e07103f0f297b485f3dbca1fb7bc3b 06-Apr-2009 Brian Paul <brianp@vmware.com> softpipe: clean up the buffer clear and tile cache code a little
/external/mesa3d/src/gallium/drivers/softpipe/sp_clear.c
eb168e26aa63f11a47d70c4555cae30691a2cd57 04-Apr-2009 Michel Dänzer <daenzer@vmware.com> gallium: Clean up driver clear() interface.

Only allows clearing currently bound buffers, but colour and depth/stencil in
a single call.
/external/mesa3d/src/gallium/drivers/softpipe/sp_clear.c
d332f8b4efae39f09454593374ff939a08af7619 26-Mar-2009 Michel Dänzer <daenzer@vmware.com> gallium: Remove some little-used fields from struct pipe_surface.
/external/mesa3d/src/gallium/drivers/softpipe/sp_clear.c
2299f21f8da816fc4588492965e7dac422da1a96 26-Jan-2009 Zack Rusin <zackr@vmware.com> gallium: standardize api on the prefix "nr"
/external/mesa3d/src/gallium/drivers/softpipe/sp_clear.c
a1886d539158fcc692d0d45985465be8e4bbe077 05-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> softpipe: convert clear color to surface format if needed
/external/mesa3d/src/gallium/drivers/softpipe/sp_clear.c
a5b87f249ef79b1a8d8b9dbe72879b7ac9eb133c 22-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> softpipe: implement SP_NO_RAST env var
/external/mesa3d/src/gallium/drivers/softpipe/sp_clear.c
69c39b9ae28764194a6d310d58aa36b7ac596aa9 13-Mar-2008 Brian <brian.paul@tungstengraphics.com> gallium: set surface status to CLEAR or DEFINED in clearing/drawing code.

Otherwise, we were never setting these flags. This confused the state tracker.
Fixes progs/demos/texenv.c, probably others.
/external/mesa3d/src/gallium/drivers/softpipe/sp_clear.c
b642730be93149baa7556e5791393168ab396175 15-Feb-2008 José Fonseca <jrfonseca@tungstengraphics.com> Code reorganization: move files into their places.

This is in a separate commit to ensure renames are properly preserved.
/external/mesa3d/src/gallium/drivers/softpipe/sp_clear.c