summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-01-28gallium: check if surface has defined status in check_clear_depth_with_quad()Brian
This was part of Keith's patch from Friday.
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-27Do refcounting trhoughout all buffer objects, since it is now a base ↵José Fonseca
requirement.
2008-01-27Fullfill pipe_winsys->user_buffer_create. Aggregate winsys functions.José Fonseca
2008-01-26Cell: added support for inlined vertex buffers.Brian
Small prims are now self-contained in batch buffers when space allows.
2008-01-26Cell: added ROUNUP4Brian
2008-01-26Cell: added support for inlined indexesBrian
If there's room in the batch buffer after the rendering command to accomodate the indexes, put them there rather than in a separate buffer.
2008-01-26Cell: added cell_batch_free_space()Brian
2008-01-26gallium: disable unnecessary point/line/tri re-validation in ↵Brian
vbuf_flush_indices()
2008-01-26Cell: remove some old tile codeBrian
2008-01-26gallium: s/GLuint/unsigned/ to work with gallium when THREADS not definedBrian
2008-01-26gallium: fix a few segfaults/assertions that can happen during context initBrian
2008-01-26Cell: fix a recursive flushing bugBrian
2008-01-26Cell: add check to catch recursive batch flushingBrian
2008-01-26Cell: move ASSERT macro into common.hBrian
2008-01-26gallium: Aggregate all buffer allocation info into a single struct. Obey ↵José Fonseca
requested alignment.
2008-01-26gallium: Make mm buffer manager more portable.José Fonseca
2008-01-26gallium: Remove unneeded headers.José Fonseca
2008-01-26gallium: fix linux buildKeith Whitwell
2008-01-26gallium: Fix build on Windows.Michal Krol
2008-01-26d3d: Fix build on Windows.Michal Krol
2008-01-26gallium: Fix build on WinXP.Michal Krol
2008-01-26gallium: Use directory name in include.José Fonseca
2008-01-26gallium: Fix build for WinXP.Michal Krol
2008-01-26gallium: Define MALLOC_STRUCT.José Fonseca
2008-01-26gallium: Fix build on Windows.Michal Krol
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-26gallium: Complete integer types.José Fonseca
2008-01-26gallium: minor cleanups to pipe interfaceKeith Whitwell
- Remove put/get tile, just have users call put_tile_raw, etc directly. - Remove surface_data call, just map it locally.
2008-01-26gallium: add PIPE_FLUSH_SWAPBUFFERS flagKeith Whitwell
2008-01-26gallium: add notify_swapbuffers_complete, use it to set surfaces to ↵Keith Whitwell
undefined state
2008-01-26gallium: specialize glFlush vs other flush semanticsKeith Whitwell
2008-01-26gallium: remove makefile whitespaceKeith Whitwell
2008-01-25Cell: updates to match pipe_buffer changesBrian
2008-01-25Cell: typedefs need semicolons, Ian :)Brian
2008-01-25Cell: emit framebuffer state like other stateBrian
Plus misc clean-up. Window resize sometimes works now.
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.