History log of /external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
aa661306828b8c76c1511f05e0fae577f06477b8 10-Nov-2011 Brian Paul <brianp@vmware.com> draw: handle out of memory conditions

If the vbuf backend fails to allocate a vertex buffer, don't crash
or assert.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
3c56280d330f50025fc948041f1413af55c50581 07-Mar-2011 Kurt Daverman <krd@vmware.com> draw: Respect max_indices from the renderer.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
931432fea69c29b4029ff23613468c8ad2c0181e 22-Apr-2011 Brian Paul <brianp@vmware.com> draw: fix point/line/tri flushing bug in vbuf code

Need to reset the point/line/tri functions to point to the "first"
versions whenever we flush vertices. Fixes unfilled polygon rendering
errors seen in demos/samples/logo.c. See comments for more info.

NOTE: This is a candidate for the 7.10 branch.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
aaf51ed7c24a5d9488f8225972e5d5d108c6c197 09-Aug-2010 Chia-I Wu <olv@lunarg.com> draw: No need to make max_vertices even.

Triangle strip alternates the front/back orientation of its triangles.
max_vertices was made even so that varray never splitted a triangle
strip at the wrong positions.

It did not work with triangle strips with adjacencies. And it is no
longer relevant with vsplit.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
740e50c60f03d194aafab93d5251699964800979 05-May-2010 Brian Paul <brianp@vmware.com> gallium: rename draw() to draw_elements() in vbuf code

Now we have draw_elements() and draw_arrays() to be consistent with the
pipe_context drawing functions.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.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_vbuf.c
2a30d3d74a0b87f8066659952628ccd072a4e2b0 26-Apr-2010 José Fonseca <jfonseca@vmware.com> draw: Pass-through pipe_buffer::max_index to translate.

max_index must be observed to prevent crashes due to bad index data.

I've been using this patch for some time without regressions.

Some places, where we use internal vertex buffer, it is not entirely
clear what max_index should be, so passing just ~0 to avoid regressions
for now.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
b609cfc7c9c38f26e7e6d6f7dd5dd6d38f4ed209 18-Apr-2010 José Fonseca <jfonseca@vmware.com> draw: Cosmetic cleanups and comments.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
84a8347b9f6ef0c1b2519e9bd5fef2ce3c85afb7 25-Mar-2010 Jakob Bornecrantz <wallbraker@gmail.com> draw: Use translate function instead of switch cases
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
7a61722f693a39cdeb4f5ab2e905f563f742d2e3 01-Mar-2010 José Fonseca <jfonseca@vmware.com> draw: Rename pipe formats.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
543b9566bdaa48fea2df1866fa1310c1cdbcde27 30-Dec-2009 Michal Krol <michal@vmware.com> Add lame support for instanceID to draw module.

It's all screaming for integer support -- fake it with float for now.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
7ca0ce38340144794267609646048b3820d594ab 29-Dec-2009 Michal Krol <michal@vmware.com> Implement draw_arrays_instanced() in softpipe.

Modify the translate module to respect instance divisors and accept
instance id as a parameter to calculate input vertex offset.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
8b45c9ce6e17f9b74f49d308eda3da1c768bc726 10-Jun-2009 Brian Paul <brianp@vmware.com> draw: implement flatshade_first for drawing pipeline
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.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_vbuf.c
89e2b9c6c24e1a0b7690b9a7502b0ea198069d10 18-Feb-2009 Keith Whitwell <keithw@vmware.com> Merge commit 'origin/draw-vbuf-interface'
ea4bf267e4b023b08043f91ac44592fed1736e7f 18-Feb-2009 José Fonseca <jfonseca@vmware.com> util: Move p_debug.h into util module.

The debug functions depend on several util function for os abstractions, and
these depend on debug functions, so a seperate module is not possible.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
1c4f67b980b6bec5788336a9cdd18c4fcec5e492 17-Feb-2009 Keith Whitwell <keith@tungstengraphics.com> draw: second argument to unmap is max, not count
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
befa4ff50ec4728de70c04532f8c7342fbd70147 17-Feb-2009 Keith Whitwell <keithw@vmware.com> draw: add map/unmap directives for swtnl driver interface

Previously draw module asked for a pointer into (mapped) vertex data,
which it would incrementally fill and emit draw commands against. This
was hard for the drivers to deal with, especially in the case where a
draw command would force a flush and thus an unmap of the vertex data.

With this change, the draw module explicitly maps & then unmaps vertex
data prior to emitting draw commands.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
874f364e9ea3a03d29ae4b6e1c7e2843ef8b9e79 11-Feb-2009 José Fonseca <jfonseca@vmware.com> draw: Cap max vertices instead of failing assert.
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
b716de47798defa7d22b0f15b201af6fba27f0b9 10-Dec-2008 Alan Hourihane <alanh@tungstengraphics.com> gallium: change 65535 to UNDEFINED_VERTEX_ID
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
e3f5370d637f367dbfe7d21f726e84185ad1e07d 10-Dec-2008 Alan Hourihane <alanh@tungstengraphics.com> gallium: temporary check for > 65535 vertices
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
53d4706c6c0922160f310834daaec5718ff1c511 10-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> make draw's vertex_info struct smaller/quicker to compare with memcmp()
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.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_vbuf.c
f1401385587882bb9d18a5f5b01dcbb71ddf0a2f 18-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: additional fixes to ensure even number of vertices per buffer
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.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_vbuf.c
0a4aea0e86a897d9afb9f2a0ec27f03faf8f1b21 02-Jun-2008 Keith Whitwell <keith@tungstengraphics.com> draw: respect driver's max vertex buffer size
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
8808d62f608d1397ee75d0087301d0b0a0278244 29-May-2008 José Fonseca <jrfonseca@tungstengraphics.com> gallium: MSVC warning fixes.

Conflicts:

src/gallium/auxiliary/draw/draw_pt_varray.c
src/gallium/auxiliary/draw/draw_pt_varray_tmp.h
src/gallium/auxiliary/draw/draw_pt_vcache.c
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
5ee2b5bdcc62e844079829f4f4301aad5374c62e 09-May-2008 Keith Whitwell <keith@tungstengraphics.com> draw: fix translate double-free, minor cleanups
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
1a03812fb57e956b438cd42ac68978facb49a99d 09-May-2008 Keith Whitwell <keith@tungstengraphics.com> draw: mimize cost of translate key compares, use cache universally
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
43be7a4819ad342e1cb3f8e3fb966a8a78dc2c1b 23-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> draw: remove stupid debug (Keith)
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
d6a965972b48fec95a2bcb778cf05d0468ba2573 23-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> draw: add missing break (Jakob)
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
0d4ece4c5a243dc4b684331bad49f220311e5520 21-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> draw: propogate lots of errors
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.c
68a7cb21fa14eac9e38bf398623739a892cc0d52 19-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> draw: rearrange debug code
/external/mesa3d/src/gallium/auxiliary/draw/draw_pipe_vbuf.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_vbuf.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_vbuf.c