Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-08-25 | draw: Remove UNDEFINED_VERTEX_ID checks in emit pathes. | Chia-I Wu | |
UNDEFINED_VERTEX_ID is used by draw_pipe_vbuf to decide whether a vertex has been emitted or not. The non-pipeline pathes do not use it (they tell the frontend the max vertex count when prepare() is called). | |||
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-08-03 | draw: added a comment | Brian Paul | |
2010-06-15 | draw wip | Keith Whitwell | |
2010-06-08 | draw: Remove unnecessary headers. | Vinson Lee | |
2010-06-08 | gallium: a lot more complete implementation of stream output | Zack Rusin | |
interface wise we have everything needed by d3d10 and gl transform feedback. the draw module misses implementation of some corner cases (e.g. when stream output wants different number of components per output than normal rendering paths) | |||
2010-06-08 | gallium: basic and initial implementation of the stream output interface | Zack Rusin | |
aka transform feedback | |||
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-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-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-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. | |||
2008-12-10 | gallium: change 65535 to UNDEFINED_VERTEX_ID | Alan Hourihane | |
2008-12-10 | gallium: more vertex count checks | 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-04 | draw: respect driver's max vertex buffer size | Keith Whitwell | |
2008-05-27 | draw: add disabled debug code | Keith Whitwell | |
2008-05-26 | draw: defensively flush pipeline backend when setting primitive | Keith Whitwell | |
2008-05-26 | draw: defensively reset render primitive some more | Keith Whitwell | |
2008-05-26 | draw: defensively reset render primitive, which can get clobbered by clipping | Keith Whitwell | |
2008-05-26 | draw: add missing break | Keith Whitwell | |
2008-05-19 | Merge commit 'origin/gallium-0.1' into gallium-vertex-linear | Zack Rusin | |
2008-05-12 | draw: mimize cost of translate key compares, use cache universally | Keith Whitwell | |
2008-05-09 | draw: Fix number of vertices allocated in draw_pt_emit(). | Michel Dänzer | |
2008-05-09 | draw: mimize cost of translate key compares, use cache universally | Keith Whitwell | |
2008-05-08 | Merge branch 'gallium-0.1' into gallium-vertex-linear | Keith Whitwell | |
2008-05-08 | draw: only fill in / compare the part of the translate key we're using. | Keith Whitwell | |
It's quite a big struct & we examine it a lot (too much). Reduce the impact of this by just looking at the active part where possible. | |||
2008-05-08 | silence debugging output | Zack Rusin | |
2008-05-08 | implement linear emition and fetching and plug it in the varray paths | Zack Rusin | |
2008-04-29 | gallium: init hw_key with memset() to silence valgrind warnings | Brian Paul | |
We shouldn't be hashing with keys that have uninitialized memory. | |||
2008-04-23 | Add translate cache to fetch_emit stage and add out of memory | Zack Rusin | |
checks to code creating the cache. | |||
2008-04-23 | Create a sharable translate_cache and use it. | Zack Rusin | |
2008-04-23 | fix the simple hash finding function and use it | Zack Rusin | |
2008-04-22 | Cache translate's structs for emits and fetches. | Zack Rusin | |
Results in a fair speed improvement. | |||
2008-04-18 | draw: remove draw_vf code, use translate instead | Keith Whitwell | |
2008-04-18 | translate: add sse version based on old draw_vf_sse.c | Keith Whitwell | |
2008-04-18 | draw: split off all the extra functionality in the vertex shader | Keith Whitwell | |
This will at least allow us to make the initial gains to get decent vertex performance much more quickly & with higher confidence of getting it right. At some later point can look again at code-generating all the fetch/cliptest/viewport extras in the same block as the vertex shader. For now, just need to get some decent baseline performance. | |||
2008-04-17 | draw: move hw vertex emit to a new module | Keith Whitwell | |