summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw
AgeCommit message (Collapse)Author
2008-05-23draw: create specialized vs varients incorporating fetch & emitKeith Whitwell
2008-05-23draw: move some state into a new 'vs' areaKeith Whitwell
2008-05-23draw: get rid of fetch-shade-emit frontend hackKeith Whitwell
The code is now living in it's intended place as a pt middle end.
2008-05-23draw: remove disabled non-sse swizzle codeKeith Whitwell
2008-05-19Merge commit 'origin/gallium-0.1' into gallium-vertex-linearZack Rusin
2008-05-19if x86_get_func() returns NULL, handle it properly instead of abortingBrian Paul
2008-05-17move the swizzling code to gallivm in preperation for code-generating itZack Rusin
also some minor cleanups
2008-05-17gallium: in drivers, make copy of tokens passed to pipe->create_vs/fs_state()Brian Paul
The caller can then free the token array immediately.
2008-05-13decomposition from keith, adds decomposition of more prim to the pipelineZack Rusin
2008-05-12draw: turn fse path into a middle endKeith Whitwell
Also add some util functions in pt_util.c
2008-05-12draw: streamline the varray pathKeith Whitwell
- drop support for running the pipeline (ie. don't populate the flags values) - pass through all split-able primitives intact to the middle end - only primitives that can't be split are shunted on the draw-element path
2008-05-12draw: add fetch-shade-emit pathKeith Whitwell
Enable with TEST_FSE=t. Performs fetch from API-provided vertex buffers, transformation with one of three (two working) hard-coded shaders, and final emit to hardware vertices all in a single pass. Currently only really useful for profiling in conjunction with SP_NO_RAST=t.
2008-05-12draw: mimize cost of translate key compares, use cache universallyKeith Whitwell
2008-05-09draw: Fix number of vertices allocated in draw_pt_emit().Michel Dänzer
2008-05-09draw: fix translate double-free, minor cleanupsKeith Whitwell
2008-05-09draw: mimize cost of translate key compares, use cache universallyKeith 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-08fix quad stripsZack Rusin
2008-05-08fix triangle stripsZack Rusin
2008-05-08fix silly mistakesZack Rusin
2008-05-08redo the linear pathsZack Rusin
2008-05-08fix the regressionsZack Rusin
2008-05-08silence debugging outputZack Rusin
2008-05-08implement linear path for fetch_emit pipelineZack Rusin
2008-05-08don't fill in linear fetch_eltsZack Rusin
2008-05-08implement linear emition and fetching and plug it in the varray pathsZack Rusin
2008-05-08split larger primitives in the simple varray ptZack Rusin
2008-05-08abstract fetching eltsZack Rusin
2008-05-01added cast for MSVCBrian Paul
2008-05-01draw: label fn args -- shouldn't this be defined where the fn is created?Keith Whitwell
2008-05-01draw: avoid aliasing warningKeith Whitwell
2008-05-01draw: squash warningsKeith Whitwell
2008-05-01draw: turn on SSE swizzle codeKeith Whitwell
2008-04-30gallium: use the newer PIPE_FORMAT_x_UNORM format namesBrian Paul
2008-04-29gallium: init hw_key with memset() to silence valgrind warningsBrian Paul
We shouldn't be hashing with keys that have uninitialized memory.
2008-04-28gallium: Set SSE_SWIZZLES to 0 by default.Michal Krol
2008-04-28gallium: Generate SSE code to swizzle and unswizzle vs inputs and outputs.Michal Krol
Change SSE_SWIZZLES #define to 0 to disable it.
2008-04-25draw: emit extra flags whenever pipeline is activeKeith Whitwell
The assert was in fact over-sensitive, but emitting the extra flags is pretty trivial & we may as well just do it whenever we know the pipeline is running.
2008-04-25gallium: Add draw_pt_varray.c to scons build.Michel Dänzer
2008-04-25draw: no need to special-case elts/get_elts for varray frontendKeith Whitwell
2008-04-25draw: remove unused varsKeith Whitwell
2008-04-25frontend for rendering without eltsZack Rusin
2008-04-24draw: remove old assignment of edgeflag valueKeith Whitwell
2008-04-24gallium: commentsBrian Paul
2008-04-24draw: default edgeflag should be oneKeith Whitwell
2008-04-24draw: handle edgeflags and reset-line-stipple againKeith Whitwell
2008-04-23gallium: reorder code to fix a recursive flushBrian Paul
2008-04-23gallium: fix issues in recursive flushingBrian Paul
When flushing/rendering, some stages (like AA line/point) need to set pipe/driver state. Those driver functions often call draw_flush(). That leads to recursion. Use new draw->suspend_flush flag to explicitly prevent that in the key places. Remove the draw->vcache_flushing field. Reuse draw->flushing as a debug/assertion var.
2008-04-23gallium: fix commentsBrian Paul