Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-08-16 | draw: No need to make max_vertices even. | Chia-I Wu | |
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. | |||
2010-05-05 | gallium: rename draw() to draw_elements() in vbuf code | Brian Paul | |
Now we have draw_elements() and draw_arrays() to be consistent with the pipe_context drawing functions. | |||
2010-05-05 | gallium: rework provoking vertex code | Brian Paul | |
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. | |||
2010-04-26 | draw: Pass-through pipe_buffer::max_index to translate. | José Fonseca | |
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. | |||
2010-04-18 | draw: Cosmetic cleanups and comments. | José Fonseca | |
2010-03-26 | draw: Use translate function instead of switch cases | Jakob Bornecrantz | |
2010-03-01 | draw: Rename pipe formats. | José Fonseca | |
2009-12-30 | Add lame support for instanceID to draw module. | Michal Krol | |
It's all screaming for integer support -- fake it with float for now. | |||
2009-12-29 | Implement draw_arrays_instanced() in softpipe. | Michal Krol | |
Modify the translate module to respect instance divisors and accept instance id as a parameter to calculate input vertex offset. | |||
2009-06-09 | draw: implement flatshade_first for drawing pipeline | Brian Paul | |
2009-04-28 | gallium/draw: add ability to print out active pipeline stages | Keith Whitwell | |
2009-02-18 | Merge commit 'origin/draw-vbuf-interface' | Keith Whitwell | |
2009-02-18 | util: Move p_debug.h into util module. | José Fonseca | |
The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible. | |||
2009-02-17 | draw: second argument to unmap is max, not count | Keith Whitwell | |
2009-02-17 | draw: add map/unmap directives for swtnl driver interface | Keith Whitwell | |
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. | |||
2009-02-11 | draw: Cap max vertices instead of failing assert. | José Fonseca | |
2008-12-10 | gallium: change 65535 to UNDEFINED_VERTEX_ID | Alan Hourihane | |
2008-12-10 | gallium: temporary check for > 65535 vertices | Alan Hourihane | |
2008-10-06 | make draw's vertex_info struct smaller/quicker to compare with memcmp() | Keith Whitwell | |
2008-08-24 | gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h | Brian Paul | |
Also, rename p_tile.[ch] to u_tile.[ch] | |||
2008-06-18 | gallium: additional fixes to ensure even number of vertices per buffer | Brian Paul | |
2008-06-11 | draw: don't assume vertex position is in data[0] | Keith Whitwell | |
2008-06-04 | draw: respect driver's max vertex buffer size | Keith Whitwell | |
2008-05-29 | gallium: MSVC warning fixes. | José Fonseca | |
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 | |||
2008-05-09 | draw: fix translate double-free, minor cleanups | Keith Whitwell | |
2008-05-09 | draw: mimize cost of translate key compares, use cache universally | Keith Whitwell | |
2008-04-23 | draw: remove stupid debug (Keith) | Keith Whitwell | |
2008-04-23 | draw: add missing break (Jakob) | Keith Whitwell | |
2008-04-21 | draw: propogate lots of errors | Keith Whitwell | |
2008-04-19 | draw: rearrange debug code | Keith Whitwell | |
2008-04-19 | draw: move some pipeline-specific code & state to draw_pipe.[ch] | Keith Whitwell | |
2008-04-19 | draw: rename pipeline files to draw_pipe_* | Keith Whitwell | |