summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pt_fetch.c
AgeCommit message (Collapse)Author
2009-01-27gallium: standardize on stride instead of pitch in the interfaceZack Rusin
2008-08-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul
Also, rename p_tile.[ch] to u_tile.[ch]
2008-06-10Revert "draw: no need to rearrange most primitives in vcache for ↵Keith Whitwell
flatshade-first" This reverts commit ad44e68706877ab06929747e7a82c718c1c27e02.
2008-06-10draw: no need to rearrange most primitives in vcache for flatshade-firstKeith Whitwell
The driver/pipeline will still be applying flatshade-first state to the triangles emitted from vcache, so there's no need to rotate the vertices of most primitives. The only exception is POLYGON, as explained in the code.
2008-05-12draw: mimize cost of translate key compares, use cache universallyKeith Whitwell
2008-05-09draw: fix translate double-free, minor cleanupsKeith Whitwell
2008-05-08Merge branch 'gallium-0.1' into gallium-vertex-linearKeith Whitwell
2008-05-08draw: 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-08implement linear emition and fetching and plug it in the varray pathsZack Rusin
2008-04-24draw: default edgeflag should be oneKeith Whitwell
2008-04-24draw: handle edgeflags and reset-line-stipple againKeith Whitwell
2008-04-23Add translate cache to fetch_emit stage and add out of memoryZack Rusin
checks to code creating the cache.
2008-04-23Create a sharable translate_cache and use it.Zack Rusin
2008-04-23fix the simple hash finding function and use itZack Rusin
2008-04-23gallium: fix broken hashing for vertex translationBrian Paul
It seems we get hash collisions fairly easily and the code as it was didn't deal with that properly. I think we need a simpler hashing interface...
2008-04-22Cache translate's structs for emits and fetches.Zack Rusin
Results in a fair speed improvement.
2008-04-21draw: squash a couple of memory leaksKeith Whitwell
2008-04-19draw: move incoming vertex state into draw->ptKeith Whitwell
This state is effectively private to the vertex processing part of the draw module.
2008-04-19draw: always emit header in draw_pt_fetch.cKeith Whitwell
2008-04-18translate: add sse version based on old draw_vf_sse.cKeith Whitwell
2008-04-18draw: split off all the extra functionality in the vertex shaderKeith 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.