History log of /external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
eb65ccbc21670d16813b53e0f8d94cb4e037d39c 05-Dec-2010 Jakob Bornecrantz <wallbraker@gmail.com> draw: Don't revalidate pipeline on backend flushes

Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Tested-by: Stéphane Marchesin <marcheu@chromium.org>
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
4586e6c8cb5b391536a370faa0c419c3fd541693 11-Feb-2011 José Fonseca <jfonseca@vmware.com> draw: Don't use the pipeline when drawing lines with fractional widths.

Spotted by Jakob Bornecrantz.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
ae34a6393e6519dc32e53fa8407155e8679fc257 22-Aug-2010 José Fonseca <jfonseca@vmware.com> draw: Don't assert if indices point outside vertex buffer.

This is valid input, and asserting here does causes the test suites that
verify this to crash.

Also, the assert was wrongly accepting the case

max_index == vert_info->count

which, IIUC, is the first vertex outside the buffer. Assuming the
vert_info->count is precise (which often is not the case).
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
c3fee80f2b35f6a7e48d6015bfc759c66b7e1a2c 07-Aug-2010 Chia-I Wu <olv@lunarg.com> draw: Remove DRAW_PIPE_MAX_VERTICES and DRAW_PIPE_FLAG_MASK.

The higher bits of draw elements are no longer used for the stipple or
edge flags.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
5a085c623faebf957be3fae2f82dc89ef6214585 07-Aug-2010 Chia-I Wu <olv@lunarg.com> draw: Replace vcache by vsplit.

vcache decomposes primitives while vsplit splits primitives. Splitting
is generally easier to do and is faster. More importantly, vcache
depends on flatshade_first to decompose. The outputs may have incorrect
vertex order which is significant to GS.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
f141abdc8fdbff41e16b0ce53fa3fa8fba32a7f9 07-Aug-2010 Chia-I Wu <olv@lunarg.com> draw: Add flags to draw_prim_info.

A primitive may be splitted in frontends. The splitted primitives
should convey certain flag bits so that the decomposer can correctly
decide the stipple or edge flags.

This commit adds flags to draw_prim_info and updates the decomposer to
honor the flags. Frontends and middle ends will be updated later.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
6ae39f6dca8f0968902642f04f1deb6f573edb6d 07-Aug-2010 Chia-I Wu <olv@lunarg.com> draw: Assert that only the first vetex may have flags set.

642d5ba79abc6a231a5fdabb3454b9b082b0d7f8 removed flags masking for
vertices other than the first one. Add assertions to be on the safe
side.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
642d5ba79abc6a231a5fdabb3454b9b082b0d7f8 04-Aug-2010 Chia-I Wu <olv@lunarg.com> draw: Remove unnecessary vertex flag ANDs.

Vertex flags are a contract between vcache and the pipeline. They are
set only for the first vertex of a primitive.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
eb3c6ddafb7a1b544243e9dec991cc24d16940ea 01-Aug-2010 Chia-I Wu <olv@lunarg.com> draw: Include draw_decompose_tmp.h in draw_pt_decompose.h.

Use draw_decompose_tmp.h to replace pipeline primitive decomposer.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
b4c8de1ff24d4d5e2fe550da54249934320acab4 30-Jul-2010 Brian Paul <brianp@vmware.com> draw: do bounds checking of array elements (debug only)

Make sure that all the element indexes actually lie inside the vertex
buffer.

Also, rename pipe_run() to pipe_run_elts() to be more specific.

And assert/check the vertex count for the non-indexed case.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
5cf1921e6d7ba36e6e882094d3280e3cd363df61 24-Jun-2010 Zack Rusin <zackr@vmware.com> draw: initialize vertex header
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
292eecca8c4284cbb343d954b76586fcaa26de2a 23-Jun-2010 Brian Paul <brianp@vmware.com> draw: mask off DRAW_PIPE_FLAG_MASK bits in prim decompose code

Any elt may potentially have flags bits set so mask off those bits
everywhere.

Fixes crashes with demos/gamma.c, redbook/polys.c, etc. but polygon
stippling is still broken.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
bf577393c7334ed8e11584984138285ae0faac93 15-Jun-2010 Zack Rusin <zackr@vmware.com> draw: run the pipeline with the correct number of verts

verts per primitive, not total count
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
9cf5e814b943d38750cdc6d27a9e25856454c853 15-Jun-2010 Zack Rusin <zackr@vmware.com> draw: fix primitive indexing in the pipeline

spotted by Keith
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
b85a361ccbac956d2842251395c048a4b3f4c440 14-Jun-2010 Keith Whitwell <keithw@vmware.com> draw wip
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
cb136a93aba4dc64db7e446b0fbc36c9172e4017 06-May-2010 Brian Paul <brianp@vmware.com> gallium: rework provoking vertex code

Builds on commit ddb0e18f6c5582d4d2cc59ffd16ad9c4639ed059 and fixes
regressions in glean clipFlat test.

We assume that Gallium drivers observe flatshade_first for all triangles
and that all the assorted per-triangle calls in the 'draw' module also
follow flatshade_first. Everything else builds on those rules.

Gallium does not use follow flatshade_first for GL quads, quad strips
and polygons; the "last" vertex is always the provoking vertex for those
prims. So now there are separate QUAD_FIRST_PV and QUAD_LAST_PV macros
in the draw primitive decomposition code instead of one QUAD macro.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.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.c
b609cfc7c9c38f26e7e6d6f7dd5dd6d38f4ed209 18-Apr-2010 José Fonseca <jfonseca@vmware.com> draw: Cosmetic cleanups and comments.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
38f6f23fcf37247fd709d1c612d08bfa9b124e69 02-Feb-2010 José Fonseca <jfonseca@vmware.com> gallium: Make pipe_atomic a regular int32_t.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
64871747bb7b611ffe429fbf1724bd98ee25dd84 22-Jan-2010 Brian Paul <brianp@vmware.com> gallium/draw: apply DRAW_PIPE_FLAG_MASK to all vertex elements

Depending on first/last provoking vertex either the first or last
element/index may have the extra DRAW_PIPE_x flags. Mask off those
bits for all vertex elements to be safe (esp. for the quad case).
This may be overly cautious, but it's a cheap operation.

Fixes a segfault caused by large/bogus vertex indexes otherwise.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
5ab0d49a07fb81b7545463310c91ada596e26e72 22-Jan-2010 Brian Paul <brianp@vmware.com> gallium/draw: added comments, whitespace fixes
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
5c5364a0f6ebcc0ff30baffdb6195be9f4ad7f83 13-Aug-2009 José Fonseca <jfonseca@vmware.com> draw: Remove unused variable.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
bf57eda0ecf1996bc2d188ef0b51a8f3ec993412 13-Aug-2009 Keith Whitwell <keithw@vmware.com> Merge branch 'mesa_7_5_branch'
1ce3f5a806f6efb29c231157987e3495c7b41022 13-Aug-2009 Keith Whitwell <keithw@vmware.com> draw: cope with more primitives in draw_pipeline_run

This previously was used only for decomposed (POINT/LINE/TRI) primitives,
but for some time a full range of primitives could end up in here.

Fixes trivial/lineloop-clip on softpipe, among others.
(cherry picked from commit 87cd8a3b8a2407b30916be418ff2f95dfea5d2ad)
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
c70a529d7c8dfbb7fbb194261c60aeeb75f5ee35 19-Jun-2009 Brian Paul <brianp@vmware.com> draw: clean up indentation
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.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.c
f6abdb20437b1b8d27d8c45c0787017dfcad3497 20-Aug-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: fix typo in LINE() macro (replace i+1 with i1 var)

We were sometimes referencing an invalid vertex.
Fixes progs/trivial/line-clip.c test among others.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
5b86ae60fe339ae0b813d16ec328a68ccb2b9514 29-May-2008 José Fonseca <jrfonseca@tungstengraphics.com> draw: Fix MSVC warnings.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
1c624846a81b0218b4a07328f485e295432c6312 13-May-2008 Zack Rusin <zack@tungstengraphics.com> decomposition from keith, adds decomposition of more prim to the pipeline
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
fe586f8612dd517b9a1f0d87fbaf3a75e3caf588 07-May-2008 Zack Rusin <zack@tungstengraphics.com> redo the linear paths
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
909894e34ca5e575ce21005e38dc0b5e98e4bcd6 24-Apr-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: comments
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
f93332da5655a31b6c44a1079629a15360ff999b 24-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> draw: handle edgeflags and reset-line-stipple again
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.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.c
dcf6f776ce32b89b7ff784bb38030bd29698e005 19-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> draw: make draw_reset_vertex_ids private to the draw_pipe_* code
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
e7bac4276634ea1ee81ac71f6f6869f87e689872 19-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> draw: put pipeline flushing behind a new interface
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.c
bee1d31641674c67676de86fbb4b35ca5bf7f33f 19-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> draw: move pt_pipeline code to draw_pipe.c

This is now the drawing interface to the pipeline. No more
calling into pipeline.first->tri(), etc.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe.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.c