Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cell: fix a recursive flushing bug | Brian | 2008-01-26 | 3 | -1/+22 |
| | |||||
* | Cell: add check to catch recursive batch flushing | Brian | 2008-01-26 | 1 | -0/+7 |
| | |||||
* | Cell: move ASSERT macro into common.h | Brian | 2008-01-26 | 2 | -9/+11 |
| | |||||
* | gallium: Aggregate all buffer allocation info into a single struct. Obey ↵ | José Fonseca | 2008-01-26 | 6 | -21/+52 |
| | | | | requested alignment. | ||||
* | gallium: Make mm buffer manager more portable. | José Fonseca | 2008-01-26 | 1 | -11/+309 |
| | |||||
* | gallium: Remove unneeded headers. | José Fonseca | 2008-01-26 | 1 | -4/+0 |
| | |||||
* | gallium: fix linux build | Keith Whitwell | 2008-01-26 | 2 | -2/+0 |
| | |||||
* | gallium: Fix build on Windows. | Michal Krol | 2008-01-26 | 2 | -3/+3 |
| | |||||
* | d3d: Fix build on Windows. | Michal Krol | 2008-01-26 | 3 | -11/+15 |
| | |||||
* | gallium: Fix build on WinXP. | Michal Krol | 2008-01-26 | 2 | -4/+5 |
| | |||||
* | gallium: Use directory name in include. | José Fonseca | 2008-01-26 | 1 | -1/+2 |
| | |||||
* | gallium: Fix build for WinXP. | Michal Krol | 2008-01-26 | 5 | -18/+82 |
| | |||||
* | gallium: Define MALLOC_STRUCT. | José Fonseca | 2008-01-26 | 1 | -0/+2 |
| | |||||
* | gallium: Fix build on Windows. | Michal Krol | 2008-01-26 | 1 | -3/+3 |
| | |||||
* | gallium: Fix build on Windows. | Michal Krol | 2008-01-26 | 1 | -2/+2 |
| | |||||
* | gallium: restructure vertex fetch code slightly | Keith Whitwell | 2008-01-26 | 3 | -65/+149 |
| | |||||
* | gallium: Fix MSVC float/double conversion warning. | José Fonseca | 2008-01-26 | 1 | -1/+1 |
| | |||||
* | gallium: Complete integer types. | José Fonseca | 2008-01-26 | 1 | -0/+3 |
| | |||||
* | gallium: minor cleanups to pipe interface | Keith Whitwell | 2008-01-26 | 8 | -93/+44 |
| | | | | | - Remove put/get tile, just have users call put_tile_raw, etc directly. - Remove surface_data call, just map it locally. | ||||
* | gallium: add PIPE_FLUSH_SWAPBUFFERS flag | Keith Whitwell | 2008-01-26 | 1 | -0/+1 |
| | |||||
* | gallium: add notify_swapbuffers_complete, use it to set surfaces to ↵ | Keith Whitwell | 2008-01-26 | 2 | -0/+21 |
| | | | | undefined state | ||||
* | gallium: specialize glFlush vs other flush semantics | Keith Whitwell | 2008-01-26 | 2 | -13/+38 |
| | |||||
* | gallium: remove makefile whitespace | Keith Whitwell | 2008-01-26 | 1 | -1/+0 |
| | |||||
* | Cell: updates to match pipe_buffer changes | Brian | 2008-01-25 | 3 | -12/+10 |
| | |||||
* | Cell: typedefs need semicolons, Ian :) | Brian | 2008-01-25 | 1 | -2/+2 |
| | |||||
* | Cell: emit framebuffer state like other state | Brian | 2008-01-25 | 4 | -131/+32 |
| | | | | Plus misc clean-up. Window resize sometimes works now. | ||||
* | gallium: replace loop w/ memset in draw_vertex_cache_invalidate() | Brian | 2008-01-25 | 1 | -9/+1 |
| | |||||
* | gallium: better flush logic in draw module | Brian | 2008-01-25 | 7 | -103/+89 |
| | | | | | | | | | | | | 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. | ||||
* | gallium: replace prim pipeline begin/end() functions with flush() | Brian | 2008-01-25 | 19 | -240/+309 |
| | | | | | | | | | | | | | 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. | ||||
* | Work around parameter differences for main in different SDK versions | Ian Romanick | 2008-01-25 | 1 | -3/+11 |
| | |||||
* | gallium: rename pipe_buffer_handle to pipe_buffer, rework pipebuffer/ code | Keith Whitwell | 2008-01-25 | 62 | -894/+529 |
| | | | | | | | | | | | Provide an actual definition of the pipe_buffer struct, containing the parameters used to create the buffer, and its refcount. Shift refcounting buffers out of the winsys interface, similar to surfaces & textures. Rework pipebuffer/ to reflect the fact these changes, and also Michel's reworking of the buffer interface. | ||||
* | gallium: Simplify winsys buffer interface. | Michel Dänzer | 2008-01-25 | 26 | -456/+228 |
| | | | | | | The properties of a buffer represented by struct pipe_buffer_handle are now basically constant over its lifetime. The state tracker gets to deal with any more complex buffer semantics it may need to provide. | ||||
* | 965: add asserts to catch batch overrun | Keith Whitwell | 2008-01-25 | 3 | -13/+31 |
| | |||||
* | 965: cope better with range decls for temps, immediates, etc | Keith Whitwell | 2008-01-25 | 1 | -22/+12 |
| | |||||
* | gallium: include p_state.h, replace PIPE_MAX_SHADER_OUTPUTS with ↵ | Brian | 2008-01-25 | 1 | -4/+7 |
| | | | | PIPE_MAX_SHADER_INPUTS | ||||
* | Cell: propogate vertex info to SPUs, use it for attrib interpolation | Brian | 2008-01-25 | 7 | -33/+55 |
| | |||||
* | Cell: batch_buffer_size should be uint, not ubyte | Brian | 2008-01-25 | 1 | -1/+1 |
| | |||||
* | Cell: new ROUNDUP16() macro | Brian | 2008-01-25 | 2 | -4/+6 |
| | |||||
* | gallium: optimizations to flatshade, two-side prim stages | Brian | 2008-01-25 | 2 | -22/+35 |
| | |||||
* | gallium: added rastpos_destroy() | Brian | 2008-01-25 | 1 | -0/+1 |
| | |||||
* | Cell: insert dummy field into cell_command_render struct to work around ↵ | Brian | 2008-01-24 | 1 | -0/+1 |
| | | | | | | | | | apparent compiler bug Without this dummy field, it seems the SPU code in cmd_render() gets a bogus value when dereferencing render->num_indices, sometimes. This showed up as missing tries in gears.c in the first frame rendered. Using spu-gcc version 4.1.1, Cell SDK 2.1 | ||||
* | Cell: s/-W/-Wall/ in linux-cell | Brian | 2008-01-24 | 1 | -1/+1 |
| | |||||
* | Cell: send actual vertex size in the render command | Brian | 2008-01-24 | 4 | -40/+22 |
| | |||||
* | Cell: rewrite compute_vertex_layout() | Brian | 2008-01-24 | 1 | -89/+60 |
| | |||||
* | Cell: fix asst. warnings | Brian | 2008-01-24 | 5 | -5/+9 |
| | |||||
* | gallium: added rastpos_destroy() | Brian | 2008-01-24 | 1 | -0/+7 |
| | |||||
* | i915: add case for TGSI_FILE_IMMEDIATE to avoid error, but still needs ↵ | Brian | 2008-01-24 | 1 | -3/+4 |
| | | | | proper handling... | ||||
* | Cell: use Cell driver by default if linux-cell is built | Brian | 2008-01-24 | 1 | -2/+2 |
| | | | | To disable the Cell driver and use softpipe instead, export GALLIUM_NOCELL=1 | ||||
* | disable usage of llvm in fragment shaders | Zack Rusin | 2008-01-24 | 1 | -0/+5 |
| | | | | | | it produces wrong results because it hasn't been adjusted to some new changes and it will just be in the way while changing llvm code to a different vector layout | ||||
* | change the name of the shaders to reflect what they do. | Zack Rusin | 2008-01-24 | 5 | -96/+12 |
| | | | | remove stale code and do some general cleanups. |