History log of /external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e814d577253d3b618cc40e36f9d50b42fe61d6ed 03-Nov-2011 Brian Paul <brianp@vmware.com> draw: assert that we have non-null fragment shader

Instead of just segfaulting. Recently ran into this.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
102bf6e2a70f565f03d5e9c4995b29d61c0aa165 23-Sep-2011 José Fonseca <jfonseca@vmware.com> draw: Never allocate duplicate extra vertex attribs.

Prevents mismatches when the VS outputs generic attributes not used by
the FS.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
77af10955462819d973a395270777c5b8217f6ae 20-Sep-2010 Brian Paul <brianp@vmware.com> draw: check bitshift against PIPE_MAX_SHADER_OUTPUS
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
e22e3927b056806e9bbb089734132ad0bcb98df1 18-Sep-2010 Brian Paul <brianp@vmware.com> gallium: rework handling of sprite_coord_enable state

Implement the pipe_rasterizer_state::sprite_coord_enable field
in the draw module (and softpipe) according to what's specified
in the documentation.

The draw module can now add any number of extra vertex attributes
to a post-transformed vertex and generate texcoords for those
attributes per sprite_coord_enable. Auto-generated texcoords
for sprites only worked for one texcoord unit before.

The frag shader gl_PointCoord input is now implemented like any
other generic/texcoord attribute.

The draw module now needs to be informed about fragment shaders
since we need to look at the fragment shader's inputs to know
which ones need auto-generated texcoords.

Only softpipe has been updated so far.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
41e7347a173693e9cf9ec41151a38e89627ed54f 23-Jul-2010 Brian Paul <brianp@vmware.com> draw: add small ybias factor for drawing wide points

Fixes minor rasterization error detected by some tests.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
1c377cea1094c0b5414c663adf2fd393bf41ddfb 16-Jun-2010 Alan Hourihane <alanh@vmware.com> draw: handle some out of memory conditions
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
8cb223eb020560d59c8f73e09b832cef477933b7 21-Apr-2010 Brian Paul <brianp@vmware.com> gallium/draw: fix point sprite handling

New draw API function to indicate whether or not to convert points to
quads for sprite rasterization.

Fix point-to-quad conversion regression in the wide-point stage. We
need to check the pipe_rasterizer_state::point_quad_rasterization flag.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
62c958738545bbaf4283303613146e6a04f1793a 17-Apr-2010 Brian Paul <brianp@vmware.com> gallium/draw: use a local var to simplify some code
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
8f3bdeaad610d7d5a5c6e73e1e9c721219595754 19-Apr-2010 Brian Paul <brianp@vmware.com> Merge branch '7.8'

Conflicts:

src/gallium/auxiliary/draw/draw_context.c
src/gallium/auxiliary/draw/draw_pipe_aaline.c
src/gallium/drivers/llvmpipe/lp_context.c
e3a34cc7f6c9f959cdc2af4486e84587fab4d0d7 19-Apr-2010 Brian Paul <brianp@vmware.com> gallium/draw: use correct rasterization state for wide/AA points/lines

When points or lines are decomposed into triangles, we need to be sure
to disable polygon culling, stippling, "un-filled" modes, etc.

This patch sets the rasterization state to disable those things prior to
drawing points/lines with triangles, then restores the previous state
afterward.

The new piglit point-no-line-cull test checks this problem & solution.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
911fa4a4a16e7cb099107ecf79d9ed8f63139236 12-Apr-2010 Dave Airlie <airlied@redhat.com> ffvertex: don't touch tex coords if coord replace is enabled.

The fixed function vertex program shouldn't need to deal or touch tex coords
if stuffing is enabled.

Though I'm not 100% this won't break assumption made elsewhere it seems like
the correct thing to do, and makes r300g point sprites a lot easier to implement.

draw: fix point-sprite when vertex program is used.

This commit regressed draw, so fix it as well to help bisection.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
68f93ea3eb83cfad014b8ec93cec3564c1aa9833 04-Feb-2010 Roland Scheidegger <sroland@vmware.com> gallium: add point_quad_rasterization bit to rasterizer state

This determines if points should be rasterized according to GL point rules
or as normal quads (GL point sprites / d3d points / d3d point sprites).
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
4a4daa75a85db22cd37ebd533ebbccb427e07077 03-Feb-2010 Roland Scheidegger <sroland@vmware.com> gallium: clean up point sprite rasterizer state

Don't need sprite coord origin per coord.
Also, don't need separate sprite enable bit - if all coords have it diabled,
then there are no point sprites (technically, there's a distinction in pre-GL3,
but it only differs in having more leniency in clamping to max size, something
the state tracker would need to handle and the hardware won't bother anyway).
Also, use packed field for the per-coord enables.
All in all, should save 3 dwords in rasterizer state (from 10 down to 7).
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
a407636efb6c32cee81b9a1525dbc804aacd957b 12-Jan-2010 Roland Scheidegger <sroland@vmware.com> gallium: remove point_size_min and point_size_max from rasterizer state

The state tracker is responsible for clamping to any graphics API enforced
size min/max limits for both the static point_size setting as well as per
vertex point size (in the vertex shader).
Note that mesa state tracker didn't actually use these values.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
89d8577fb3036547ef0b47498cc8dc5c77f886e0 14-Dec-2009 Zack Rusin <zackr@vmware.com> gallium: add geometry shader support to gallium
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
23c0e812bc27e6735f8e7dc48616d90a4b375b28 31-Jul-2009 Brian Paul <brianp@vmware.com> draw: fix-ups for point coord attribute

progs/glsl/pointcoord.c works again
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
423f45d18a665423e319dcea08c11ff9f5646a80 29-Jun-2009 Brian Paul <brianp@vmware.com> gallium/draw: sketch out some missing pointcoord code

The gl_PointCoord attribute is currently expected to be in the fog coord
register's z/w components. This was never totally fleshed out though.
This is just some placeholder code.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
427554211b5b8ab2c6afcd5bd574ac97fb3457da 01-Jun-2009 Brian Paul <brianp@vmware.com> draw: reset extra_vp_outputs.slot to zero in widepoint_flush()

Fixes a crash when clearing the window with a quad after drawing large
points. We were asking the draw module how many vertex shader outputs
there were and got 3 instead of 2. This led to creating vertices with
too many attributes and trying to read invalid memory.

We reset extra_vp_outputs.slot to zero in the aaline/aapoint stage's
flush functions already.
This omission was just an oversight in the wide_point stage.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
eb979cef8535914f428d2462e78f713da558fc18 28-Apr-2009 Keith Whitwell <keithw@vmware.com> gallium/draw: add ability to print out active pipeline stages
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
a06d38a74e865a0373a7314aad26b25c27ef8c57 18-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: fix wide point / point coord semantic info (generic, not fog)
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
4f25420bdd834e81a3e22733304efc5261c2998a 25-Aug-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h

Also, rename p_tile.[ch] to u_tile.[ch]
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
22604727e469f4a9881f722be319670d5cde4519 11-Aug-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: emit sprite coords (gl_PointCoord)
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
2161b0fafcdc16703162dd489d2ec1e7114cce4c 12-Jun-2008 Keith Whitwell <keith@tungstengraphics.com> draw: don't assume vertex position is in data[0]
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
2f0d1396e4c1626b3b1ac799bd29e86a9530369e 13-May-2008 Keith Whitwell <keith@tungstengraphics.com> draw: move some state into a new 'vs' area
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
0d4ece4c5a243dc4b684331bad49f220311e5520 21-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> draw: propogate lots of errors
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
a918a9c744f656c8bf2e3fd2841732e01a5ccefc 21-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> draw: consolidate all the passthrough line/tri/point funcs
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
507fbe2d327efb8d608ce8e07436b97321560808 19-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> draw: move some pipeline-specific code & state to draw_pipe.[ch]
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
26831bdac594a11e51b6c4b09df78bb11444f5dd 19-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> draw: rename pipeline files to draw_pipe_*
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_wide_point.c