Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-01-29 | gallium: Emit point size as a constant. | José Fonseca | |
2008-01-29 | gallium: Emit constants. | José Fonseca | |
2008-01-29 | gallium: Allow draw_vf usage to be controlled at runtime. | José Fonseca | |
2008-01-29 | gallium: Add extern keyword to global. | José Fonseca | |
2008-01-29 | gallium: Use GALLIUM_ prefix for env vars. | José Fonseca | |
2008-01-29 | gallium: 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-28 | gallium: remove dead vars, code | Keith Whitwell | |
2008-01-28 | gallium: fix typos in hardwired fetch path | Keith Whitwell | |
2008-01-28 | gallium: handle flatshading explicitly in clipper stage | Keith 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-28 | gallium: add a couple of hardwired vertex fetch functions | Keith Whitwell | |
2008-01-28 | gallium: only call vertex/prim queue flush when there is something to flush | Keith Whitwell | |
2008-01-28 | gallium: explictly cast double to float in vertex fetch | Keith Whitwell | |
2008-01-28 | gallium: fill in missing formats for vertex_fetch | Keith Whitwell | |
2008-01-28 | gallium: remove dead code from draw_vf* | Keith Whitwell | |
2008-01-28 | First 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-28 | Clone vf module. | José Fonseca | |
2008-01-28 | Simplify prototypes of draw_vbuf's internal functions. | José Fonseca | |
2008-01-28 | Cache the vinfo in vbuf_stage. | José Fonseca | |
2008-01-26 | gallium: disable unnecessary point/line/tri re-validation in ↵ | Brian | |
vbuf_flush_indices() | |||
2008-01-26 | gallium: fix a few segfaults/assertions that can happen during context init | Brian | |
2008-01-26 | gallium: Fix build on Windows. | Michal Krol | |
2008-01-26 | gallium: restructure vertex fetch code slightly | Keith Whitwell | |
2008-01-26 | gallium: Fix MSVC float/double conversion warning. | José Fonseca | |
2008-01-25 | gallium: replace loop w/ memset in draw_vertex_cache_invalidate() | Brian | |
2008-01-25 | gallium: better flush logic in draw module | Brian | |
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-25 | gallium: 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-25 | gallium: include p_state.h, replace PIPE_MAX_SHADER_OUTPUTS with ↵ | Brian | |
PIPE_MAX_SHADER_INPUTS | |||
2008-01-25 | gallium: optimizations to flatshade, two-side prim stages | Brian | |
2008-01-24 | change the name of the shaders to reflect what they do. | Zack Rusin | |
remove stale code and do some general cleanups. | |||
2008-01-23 | gallium: rename FORMAT_x to EMIT_x and use EMIT_ALL to emit whole vertex ↵ | Brian | |
as-is in vbuf code | |||
2008-01-23 | gallium: improved vertex layout and interpolant setup in softpipe | Brian | |
2008-01-23 | gallium: restore/rewrite vbuf code for softpipe | Brian | |
Now based on the draw_vbuf code, instead being a custom one-off. Disabled by default, enable with SP_VBUF env var. | |||
2008-01-23 | gallium: 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-23 | gallium: multiply vertex point size by 0.5 | Brian | |
2008-01-22 | gallium: Don't allocate a vertex buffer until after setting the prim type. | Brian | |
The vertex size may depend on whether we're drawing points, lines or triangles. | |||
2008-01-22 | added stipple_destroy() | José Fonseca | |
2008-01-22 | gallium: Added FORMAT_1F_PSIZE to insert constant point size into vertices | Brian | |
Also, added draw_convert_wide_points/lines() so a driver can tell the draw module whether to convert wide points/lines into triangles, or just pass them through. | |||
2008-01-21 | gallium: prototype draw_linestipple.c replaced by draw_stipple.c | Brian | |
2008-01-21 | gallium: new 'draw' stage for line stipple | Brian | |
Stippled lines are converted into a series of shorter line segments | |||
2008-01-21 | gallium: add a src_index[] array to draw's vertex_info for mapping ↵ | Brian | |
post-xform vertex attribs to hw vertex attribs | |||
2008-01-17 | gallium: hardwire reset_temps functionality | Keith Whitwell | |
2008-01-17 | gallium: whitespace changes | Keith Whitwell | |
2008-01-16 | vbuf updates/fixes (KeithW) | Brian | |
Plus, update i915 and Cell drivers for latest vbuf->draw() params. | |||
2008-01-16 | s/DBG/DRAW_DBG | Brian | |
2008-01-16 | remove useless assertions | Brian | |
2008-01-16 | init front/back color attrib indexes to 0, not -1 | Brian | |
2008-01-11 | vbuf_flush_vertices() instead of vbuf_flush_indices() in vbuf_end() | Brian | |
2008-01-11 | s/int/uint/ to silence warning | Brian | |
2008-01-11 | Fix malloc size buf, silence signed/unsigned comparision warning | Brian | |
2008-01-10 | Additional parameters to vbuf_render->draw() | Brian | |
Pass complete information about vertex/index buffer location, size, etc. |