summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_vbuf.h
Commit message (Collapse)AuthorAgeFilesLines
* s/Tungsten Graphics/VMware/José Fonseca2014-01-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tungsten Graphics Inc. was acquired by VMware Inc. in 2008. Leaving the old copyright name is creating unnecessary confusion, hence this change. This was the sed script I used: $ cat tg2vmw.sed # Run as: # # git reset --hard HEAD && find include scons src -type f -not -name 'sed*' -print0 | xargs -0 sed -i -f tg2vmw.sed # # Rename copyrights s/Tungsten Gra\(ph\|hp\)ics,\? [iI]nc\.\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./g /Copyright/s/Tungsten Graphics\(,\? [iI]nc\.\)\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./ s/TUNGSTEN GRAPHICS/VMWARE/g # Rename emails s/[email protected]/[email protected]/ s/[email protected]/[email protected]/g s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/ s/jrfonseca\[email protected]/[email protected]/g s/keithw\[email protected]/[email protected]/g s/[email protected]/[email protected]/g s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/ s/[email protected]/[email protected]/ # Remove dead links s@Tungsten Graphics (http://www.tungstengraphics.com)@Tungsten Graphics@g # C string src/gallium/state_trackers/vega/api_misc.c s/"Tungsten Graphics, Inc"/"VMware, Inc"/ Reviewed-by: Brian Paul <[email protected]>
* draw: clean up setting stream out information a bitRoland Scheidegger2013-08-271-1/+0
| | | | | | | | | | | | | | | | | In particular noone is interested in the vertex count, so drop that, and also drop the duplicated num_primitives_generated / so.primitives_storage_needed variables in drivers. I am unable for now to figure out if primitives_storage_needed in SO stats (used for d3d10) should increase if SO is disabled, though the equivalent num_primitives_generated used for OpenGL definitely should increase. In any case we were only counting when SO is active both in softpipe and llvmpipe anyway so don't pretend there's an independent num_primitives_generated counter which would count always. (This means the PIPE_QUERY_PRIMITIVES_GENERATED count will still be wrong just as before, should eventually fix this by doing either separate counting for this query or adjust the code so it always counts this even if SO is inactive depending on what's correct for d3d10.) Reviewed-by: Brian Paul <[email protected]>
* draw: implement pipeline statistics in the draw moduleZack Rusin2013-04-161-0/+8
| | | | | | | | | | | | | This is a basic implementation of the pipeline statistics in the draw module. The interface is similar to the stream output statistics and also requires that the callers explicitly enable it. Included is the implementation of the interface in llvmpipe and softpipe. Only softpipe enables the pipeline statistics capability though because llvmpipe is lacking gathering of the fragment shading and rasterization statistics. Signed-off-by: Zack Rusin <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
* draw/softpipe: EXT_transform_feedback support (v2)Dave Airlie2012-01-101-1/+2
| | | | | | | | | | | 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 <[email protected]>
* gallium: make vbuf_render::set_primitive() return voidBrian Paul2012-01-071-1/+1
| | | | All the implementations of this function always return TRUE.
* draw: rewrite stream output to handle all the dark cornersZack Rusin2010-06-161-1/+1
| | | | | register masks, multiple output buffers, multiple primitives, non-linear vertices (elts) and stride semantics.
* gallium: make draw auto work and add relevant caps and docsZack Rusin2010-06-081-0/+8
|
* gallium: rename draw() to draw_elements() in vbuf codeBrian Paul2010-05-051-6/+6
| | | | | Now we have draw_elements() and draw_arrays() to be consistent with the pipe_context drawing functions.
* draw: add map/unmap directives for swtnl driver interfaceKeith Whitwell2009-02-171-7/+9
| | | | | | | | | | 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.
* draw: Add missing include.José Fonseca2009-01-091-0/+2
|
* draw: Predeclare struct.José Fonseca2009-01-081-1/+2
|
* draw: allow driver-override of draw_need_pipeline()Keith Whitwell2008-12-231-0/+11
|
* draw: attempt atomic submit of large drawelements callsKeith Whitwell2008-08-261-1/+2
|
* gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul2008-08-241-2/+0
| | | | Also, rename p_tile.[ch] to u_tile.[ch]
* gallium: improvements, or extensions at least, to the passthrough pathKeith Whitwell2008-03-171-2/+4
| | | | Passthrough is actually more tricky than you'd think...
* draw: placeholder/prototype code for a passthrough draw pathKeith Whitwell2008-03-101-0/+6
|
* Code reorganization: s/aux/auxiliary/.José Fonseca2008-02-151-0/+106
"aux" is a reserved name on Windows (X_X)