Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-01-28 | Cell: add a few null texture tests | Brian | |
2008-01-28 | Cell: compute min index referenced in draw command, use it to reduce size of ↵ | Brian | |
vertex data payload | |||
2008-01-28 | Cell: basic texture mapping | Brian | |
Texture images are tiled in PPU code. SPUs use a texture cache for getting texels from textures. This is very rough code, but demos/texcyl.c works. | |||
2008-01-28 | Cell: emit state in cell_clear_surface() if dirty. | Brian | |
Without this a program that does nothing but glClear() doesn't work. We need the framebuffer state. | |||
2008-01-28 | Cell: re-enable bounding boxes | Brian | |
The geometry bounding box is used to restrict rasterization to just those tiles that are relevant. Note another dummy field had to be added to the cell_command_render struct. Apparently, every 4th word in a struct is susceptible to corruption in some circumstances. Might be a compiler bug. | |||
2008-01-28 | Cell: make sure state commands aren't split across batches | Brian | |
2008-01-28 | Cell: remove unneeded flush(), dead code | Brian | |
2008-01-28 | Cell: clean-up of render path | Brian | |
Finally removed a number of unneeded flush commands. Vertex buffers are allocated from the general buffer pool, freed by SPUs when done. Still an occasional failed assertion (invalid batch buffer command)... | |||
2008-01-28 | Cell: checkpoint commit: always inline prim indexes into batch buffer | Brian | |
Also, explicit release-vertex-buffer command. Lots of debug/stale code still in place... | |||
2008-01-28 | Cell: If flushing for swapbuffers, wait for frame completion | Brian | |
2008-01-28 | Cell: additional debug code, misc clean-up | Brian | |
2008-01-28 | Cell: generalize the batch buffer code for vertex buffers... | Brian | |
2008-01-26 | Cell: added support for inlined vertex buffers. | Brian | |
Small prims are now self-contained in batch buffers when space allows. | |||
2008-01-26 | Cell: added support for inlined indexes | Brian | |
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-26 | Cell: added cell_batch_free_space() | Brian | |
2008-01-26 | Cell: remove some old tile code | Brian | |
2008-01-26 | Cell: fix a recursive flushing bug | Brian | |
2008-01-26 | Cell: add check to catch recursive batch flushing | Brian | |
2008-01-25 | Cell: updates to match pipe_buffer changes | Brian | |
2008-01-25 | Cell: emit framebuffer state like other state | Brian | |
Plus misc clean-up. Window resize sometimes works now. | |||
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: rename pipe_buffer_handle to pipe_buffer, rework pipebuffer/ code | Keith Whitwell | |
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. | |||
2008-01-25 | Cell: propogate vertex info to SPUs, use it for attrib interpolation | Brian | |
2008-01-25 | Cell: batch_buffer_size should be uint, not ubyte | Brian | |
2008-01-24 | Cell: send actual vertex size in the render command | Brian | |
2008-01-24 | Cell: rewrite compute_vertex_layout() | Brian | |
2008-01-24 | Cell: fix asst. warnings | Brian | |
2008-01-23 | Cell: s/FORMAT/EMIT/ | Brian | |
2008-01-23 | Cell: remove old test code | Brian | |
2008-01-23 | Cell: asst. updates to sync up with today's earlier gallium changes | Brian | |
2008-01-21 | Cell: initial support for sampler state | Brian | |
2008-01-21 | Cell: s/cell_init_surface_funcs/cell_init_surface_functions/ | Brian | |
2008-01-21 | Cell: Added cell_surface.[ch] files | Brian | |
2008-01-21 | Cell: renamed cell_surface.[ch] to cell_clear.[ch] | Brian | |
2008-01-21 | Cell: rename cell_surface.[ch] cell_clear.[ch] | Brian | |
2008-01-21 | Cell: Add initial texture functions | Brian | |
2008-01-21 | Cell: add cell_set_sampler_texture() | Brian | |
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-20 | enable call to cell_emit_state() | Brian | |
2008-01-19 | Cell: improve "finished copying batch buffer" signalling. | Brian | |
When the SPU is done copying a batch buffer to local store, use an mfc_put() to write a "done" message back to the buffer status array in main memory. We were previously using a mailbox message for synchronization. | |||
2008-01-16 | vbuf updates/fixes (KeithW) | Brian | |
Plus, update i915 and Cell drivers for latest vbuf->draw() params. | |||
2008-01-14 | Cell: after sending a batch, wait for a DMA completion signal. | Brian | |
This fixes sporadic rendering glitches. Using a mailbox msg for now, until spe_mfcio_tag_status_read() or similar is found to work. | |||
2008-01-14 | Cell: update surface map code to match recent changes in pipe_surface struct | Brian | |
2008-01-12 | Cell: disable cell_emit_state() for now | Brian | |
2008-01-12 | Cell: first state object (depth/stencil/alpha) emitted to SPUs | Brian | |
2008-01-12 | Cell: whitespace/cleanup | Brian | |
2008-01-12 | Cell: sketch out needed rasterizer state | Brian | |
2008-01-11 | Cell: basic batch buffer working | Brian | |
2008-01-11 | Cell: initial work for a hw-like batch buffer system | Brian | |
2008-01-11 | Cell: remove obsolete cell_prim_buffer struct and code | Brian | |