summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw
AgeCommit message (Collapse)Author
2008-02-12gallium: initial code for wide/AA line drawingBrian
2008-02-11gallium: fix fragment/vertex typoBrian
2008-02-11remove seperate llvm vs entry pointsZack Rusin
they're not necessary anymore. we use the same paths as sse and tgsi code
2008-02-10rewrite the way cpu engine is handledZack Rusin
2008-02-10rewrite the way we handle ir in llvm codeZack Rusin
introduce intermediate step gallivm_ir before compiling it down to the final llvm ir.
2008-02-07tgsi: Fall back to interpreter instead of assert(0) on unimplemented SSE code.Michel Dänzer
2008-02-06gallium: Use p_debug.h instead of non-portable stdio.h/assert.h functions.José Fonseca
2008-02-05gallium: Use align_free to free aligned memory.Michal Krol
2008-01-30Add driver_private field for drivers that hook shader_queue_flush.Ian Romanick
2008-01-30Provide mechanism to hook in custom vertex shader cache flush functionIan Romanick
2008-01-30Implement vertex fetch / vertex shader output write-backIan Romanick
2008-01-30gallium: Teach draw_vf about draw vertices.José Fonseca
This reduces the emit overhead, which is significant since we're emiting one vertex at a time.
2008-01-30gallium: Remove draw_vertex_fetch::lookup.José Fonseca
It is not being used, and would be dangerous to use given the possibility of constants.
2008-01-30gallium: Fix build on WinXP.Michal Krol
2008-01-29gallium: weaken assert slightlyKeith Whitwell
2008-01-29gallium: streamline various unfilled & stippled pathsKeith Whitwell
2008-01-29gallium: Emit point size as a constant.José Fonseca
2008-01-29gallium: Emit constants.José Fonseca
2008-01-29gallium: Allow draw_vf usage to be controlled at runtime.José Fonseca
2008-01-29gallium: Add extern keyword to global.José Fonseca
2008-01-29gallium: Use GALLIUM_ prefix for env vars.José Fonseca
2008-01-29gallium: Remove direct dependencies to mesa internals.José Fonseca
_mesa_exec_free is still being called. More invasive refactoring is necessary to clean it out.
2008-01-28gallium: remove dead vars, codeKeith Whitwell
2008-01-28gallium: fix typos in hardwired fetch pathKeith Whitwell
2008-01-28gallium: handle flatshading explicitly in clipper stageKeith Whitwell
We can do a better job in the clip stage than just relying on the brute-force approach of copying colors to all incoming vertices applied in the flatshade stage. At very least, it is only necessary to do this in the clipper when a primitive is actually being clipped.
2008-01-28gallium: add a couple of hardwired vertex fetch functionsKeith Whitwell
2008-01-28gallium: only call vertex/prim queue flush when there is something to flushKeith Whitwell
2008-01-28gallium: explictly cast double to float in vertex fetchKeith Whitwell
2008-01-28gallium: fill in missing formats for vertex_fetchKeith Whitwell
2008-01-28gallium: remove dead code from draw_vf*Keith Whitwell
2008-01-28First stab at hooking draw_vbuf & vf.José Fonseca
Emit disabled for now. Tested with softpipe. Only one vertex at a time for now (slow).
2008-01-28Clone vf module.José Fonseca
2008-01-28Simplify prototypes of draw_vbuf's internal functions.José Fonseca
2008-01-28Cache the vinfo in vbuf_stage.José Fonseca
2008-01-26gallium: disable unnecessary point/line/tri re-validation in ↵Brian
vbuf_flush_indices()
2008-01-26gallium: fix a few segfaults/assertions that can happen during context initBrian
2008-01-26gallium: Fix build on Windows.Michal Krol
2008-01-26gallium: restructure vertex fetch code slightlyKeith Whitwell
2008-01-26gallium: Fix MSVC float/double conversion warning.José Fonseca
2008-01-25gallium: replace loop w/ memset in draw_vertex_cache_invalidate()Brian
2008-01-25gallium: better flush logic in draw moduleBrian
This is the other half of Keith's draw/flush patch. There are now 5 flush flags to control what's flushed (post-xform vertex cache, prim cache, vbuf, etc). The gears slow-down in this part of the patch was due to the cull stage not getting invoked. It was unconditional before, but is now gated by 'need_det'. But it also needs to be gated by draw->rasterizer->cull_mode. Gears uses back-face culling.
2008-01-25gallium: replace prim pipeline begin/end() functions with flush()Brian
This is basically half of Keith's draw/flush patch. The stage->point/line/tri() functions are now self-validating, the validator functions are installed by the flush() function. There were excessive calls to validate_pipeline(), however. This was caused by draw_prim_queue_flush() keeping a local 'first' variable that always pointed to the validate functions. Replaced 'first' with 'draw->pipeline.first'. Performance in gears is up just slightly with this patch.
2008-01-25gallium: include p_state.h, replace PIPE_MAX_SHADER_OUTPUTS with ↵Brian
PIPE_MAX_SHADER_INPUTS
2008-01-25gallium: optimizations to flatshade, two-side prim stagesBrian
2008-01-24change the name of the shaders to reflect what they do.Zack Rusin
remove stale code and do some general cleanups.
2008-01-23gallium: rename FORMAT_x to EMIT_x and use EMIT_ALL to emit whole vertex ↵Brian
as-is in vbuf code
2008-01-23gallium: improved vertex layout and interpolant setup in softpipeBrian
2008-01-23gallium: restore/rewrite vbuf code for softpipeBrian
Now based on the draw_vbuf code, instead being a custom one-off. Disabled by default, enable with SP_VBUF env var.
2008-01-23gallium: overhaul usage of vertex_info in draw module.Brian
Remove all dependencies on vertex_info, except for draw_vbuf. Drawing stages now strictly operate on post-transformed vertices and don't know anything about hw vertices. Use vertex program output info for two-side/flat/etc stages. Temporarily disable vbuf module in softpipe driver.
2008-01-23gallium: multiply vertex point size by 0.5Brian