History log of /external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ec8cbd79ac4065111365a6720c9564de56855cc8 04-Jan-2012 Dave Airlie <airlied@redhat.com> draw/softpipe: EXT_transform_feedback support (v2)

This replaces the current code with an implementation compatible with
the new gallium interface. I've left some of the remains of the interface
intact so llvmpipe keeps building correctly, and I'll take a look at fixing
llvmpipe up later.

v2: fixup as per Brian's review

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
488dd2c1912132fe7ee5e81b05fb64ba62a46098 07-Jan-2012 Brian Paul <brianp@vmware.com> gallium: make vbuf_render::set_primitive() return void

All the implementations of this function always return TRUE.
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
287531772ccea82c8a6c4dab5656d751a8943524 16-Jun-2010 Zack Rusin <zackr@vmware.com> draw: rewrite stream output to handle all the dark corners

register masks, multiple output buffers, multiple primitives,
non-linear vertices (elts) and stride semantics.
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
be7d8ddf0c0a293ee94db360a44561beb10e62f9 07-Jun-2010 Zack Rusin <zackr@vmware.com> gallium: add basic support for stream output queries
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
2c22b8e61dc4adab658c6198feea30c006aa6c58 01-Jun-2010 Zack Rusin <zack@kde.org> gallium: make draw auto work and add relevant caps and docs
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_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/drivers/softpipe/sp_prim_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/drivers/softpipe/sp_prim_vbuf.c
826f55218879ff42207f3968fd4a89370c8ae460 15-Apr-2010 Brian Paul <brianp@vmware.com> softpipe: formatting fixes and comments
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
558ce9964f7edeefbe07b002a341fb9275b3c69b 07-Mar-2010 Marek Olšák <maraeo@gmail.com> softpipe: quads never provoke the first vertex
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
cd8614b0287dc5a69725ec4ee0208fad61f7789e 22-Jan-2010 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_7_branch'

Conflicts:
src/gallium/auxiliary/draw/draw_context.c
src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c
src/gallium/auxiliary/pipebuffer/Makefile
src/gallium/auxiliary/pipebuffer/SConscript
src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
src/gallium/auxiliary/tgsi/tgsi_scan.c
src/gallium/drivers/i915/i915_surface.c
src/gallium/drivers/i915/i915_texture.c
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_tex_sample_c.c
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/softpipe/sp_prim_vbuf.c
src/gallium/state_trackers/xorg/xorg_dri2.c
src/gallium/winsys/drm/intel/gem/intel_drm_api.c
src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c
src/gallium/winsys/drm/radeon/core/radeon_drm.c
src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c
src/mesa/state_tracker/st_cb_clear.c
e5da7b8548842500e751b133b96b28113fbe0d76 19-Jan-2010 José Fonseca <jfonseca@vmware.com> softpipe: Fix vertex buffer memory leak.
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
2a60302e51987ae65455b083fa3d9e9bb0e2087b 18-Jan-2010 Jakob Bornecrantz <jakob@vmware.com> softpipe: Fix leak in vbuf draw module
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
180ccffe550698d860e06d3cf5e16e4d9c3e7ddd 28-Dec-2009 Vinson Lee <vlee@vmware.com> softpipe: Silence unused variable warning.
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
9a0ff33ad60cb63d430c4f93f6531f7aa2ec2ba8 07-Oct-2009 Brian Paul <brianp@vmware.com> softpipe: prefix non-static functions with sp_
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
4fe0fc3eba1f79beda890a5016359d549bab6ad4 23-Aug-2009 Keith Whitwell <keithw@vmware.com> softpipe: remove old prim_setup draw stage

Everything now goes through the draw_vbuf handler, the same as
regular drivers.
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
d12bae9368e0c44a9943d9b37ab848ea307d70c7 18-Aug-2009 Keith Whitwell <keithw@vmware.com> softpipe: move flatshade-first check out of loop
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
a1dbd7aa159e266592a1e52504680992327ca9e0 24-Jul-2009 Keith Whitwell <keithw@vmware.com> softpipe: actually pass >1 quad from triangle routine

First attempt
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
9038b6c8bbda49c544d777c7cf7b107887421c77 19-Jun-2009 Brian Paul <brianp@vmware.com> Merge branch 'ext-provoking-vertex'

Conflicts:

docs/relnotes-7.6.html
progs/tests/Makefile
src/gallium/drivers/softpipe/sp_prim_vbuf.c
src/glx/x11/indirect.c
src/mesa/glapi/Makefile
src/mesa/glapi/dispatch.h
src/mesa/glapi/glapioffsets.h
src/mesa/glapi/glapitable.h
src/mesa/glapi/glapitemp.h
src/mesa/glapi/glprocs.h
src/mesa/main/dlist.c
src/mesa/main/enums.c
src/mesa/sparc/glapi_sparc.S
src/mesa/x86-64/glapi_x86-64.S
src/mesa/x86/glapi_x86.S
5aec03aaf45ce83cb203849bb3f13c336b232822 10-Jun-2009 Brian Paul <brianp@vmware.com> softpipe: implement flatshade_first for triangles
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
086ecea179ed572c89aa77c5f465671a5cef87a7 04-Jun-2009 Brian Paul <brianp@vmware.com> softpipe: separate case for PIPE_PRIM_POLYGON in sp_vbuf_draw()

Because of flat shading, we can't use same code as PIPE_PRIM_TRIANGLE_FAN.
This is a follow-on to commit a59575d8fbe8b0ca053cc8366ce7a42bc660158a.
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
a64bbdaa3e0b036a880d6db65ceb4a66205062f1 04-Jun-2009 Brian Paul <brianp@vmware.com> softpipe: fix incorrect tri vertex order for PIPE_PRIM_POLYGON rendering

This fixes incorrect front/back-face orientation.
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
a59575d8fbe8b0ca053cc8366ce7a42bc660158a 31-May-2009 Brian Paul <brianp@vmware.com> softpipe: fix incorrect provoking vertex color for PIPE_PRIM_POLYGON

This fixes the incorrect colors seen when rendering flat-shaded polygons.
Note that clipped polygons were correct, but unclipped polygons were wrong.

See the glean/clipFlat test for regression testing.
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
9d9a7edfbc7259b532123d7d85f6238f59a9a41a 05-Mar-2009 Brian Paul <brianp@vmware.com> Revert "softpipe: added null ptr check for align_free() call in vbuf code"

This reverts commit 6db24f449de9cc81e1f7bb2dde55a9819463d5e5.

With a null ptr check in align_free() this is no longer needed.
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
6db24f449de9cc81e1f7bb2dde55a9819463d5e5 05-Mar-2009 Brian Paul <brianp@vmware.com> softpipe: added null ptr check for align_free() call in vbuf code

Fixes GALLIUM_NOCELL path. See bug 20475.
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
a321b8ed6ea583f43f8d5ab5d1b918a96df44f1d 19-Feb-2009 Keith Whitwell <keithw@vmware.com> softpipe: add dumping of post-tranfsormed vertices (disabled)
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
7ca78a07b37e4cce0e258f711c6f8bbe1d98a633 17-Feb-2009 Keith Whitwell <keithw@vmware.com> softpipe: update to new draw interfaces
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
d7b5243c64b93d4f35d42ce89ae297de09fb76b4 11-Nov-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: massage sp_vbuf_draw() and sp_vbuf_draw_arrays() to look more alike

Also, update some comments.
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_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/drivers/softpipe/sp_prim_vbuf.c
f116a149160d50d43a23b02a3416725d6f895d51 12-May-2008 Keith Whitwell <keith@tungstengraphics.com> softpipe: more work to get non-reduced primitives working in vbuf
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
90e86363de7dbcfda3490b5c31d701350a0fa2ef 12-May-2008 Keith Whitwell <keith@tungstengraphics.com> softpipe: make vbuf handle all primitive types
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
8b607f42d094e61432c5718b8baa0a68268ec150 16-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> softpipe: call setup_prepare earlier so that vertex info is correct when queried
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
871d39ec8c168fa58d8758013e99da63fa58111d 14-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> softpipe: calculate determinant for all triangles, don't rely on draw module to do it
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
8e7326832a7420154fc0d526ac682494db1be160 14-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> softpipe: do our own culling, don't rely on the draw module.

May not always happen due to passthrough modes, etc.
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
c95dcc49629b72b95826e87e067d7a48753605fb 08-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> remove usage of vertex_header
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
9425a702bef7d3f601e9ddc2b801f00a3d52dbb8 17-Mar-2008 Keith Whitwell <keith@tungstengraphics.com> gallium: improvements, or extensions at least, to the passthrough path

Passthrough is actually more tricky than you'd think...
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
49a687882a659bd03fd09ca7a7d592818914597a 16-Mar-2008 Brian <brian.paul@tungstengraphics.com> gallium: finish remaining prim types for sp_vbuf_draw_arrays()

Not totally tested, but easily fixed if glitches are found.
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
e4cdce43cebe6a2b38f7ea5145474ca2b12c57bb 14-Mar-2008 Keith Whitwell <keith@tungstengraphics.com> gallium: fix some compiler warnings
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
7d5e38a55ae99a4c28873377572f77f383ce0c3e 13-Mar-2008 Brian <brian.paul@tungstengraphics.com> gallium: plug in new sp_vbuf_draw_arrays() function

Will be used for pass-through mode.
Also, call draw_set_render() to register the vbuf stage. Should probably
rename that function to something like draw_set_vbuf_stage().
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.c
6acd63a4980951727939c0dd545a0324965b3834 15-Feb-2008 José Fonseca <jrfonseca@tungstengraphics.com> Code reorganization: update build.

Update the Makefiles and includes for the new paths.

Note that there hasn't been no separation of the Makefiles yet, and make is
jumping all over the place. That will be taken care shortly. But for now, make
should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm
might require some minor tweaks.
/external/mesa3d/src/gallium/drivers/softpipe/sp_prim_vbuf.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_prim_vbuf.c