summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/ppu
AgeCommit message (Collapse)Author
2008-01-28Cell: add a few null texture testsBrian
2008-01-28Cell: compute min index referenced in draw command, use it to reduce size of ↵Brian
vertex data payload
2008-01-28Cell: basic texture mappingBrian
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-28Cell: 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-28Cell: re-enable bounding boxesBrian
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-28Cell: make sure state commands aren't split across batchesBrian
2008-01-28Cell: remove unneeded flush(), dead codeBrian
2008-01-28Cell: clean-up of render pathBrian
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-28Cell: checkpoint commit: always inline prim indexes into batch bufferBrian
Also, explicit release-vertex-buffer command. Lots of debug/stale code still in place...
2008-01-28Cell: If flushing for swapbuffers, wait for frame completionBrian
2008-01-28Cell: additional debug code, misc clean-upBrian
2008-01-28Cell: generalize the batch buffer code for vertex buffers...Brian
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 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-26Cell: remove some old tile codeBrian
2008-01-26Cell: fix a recursive flushing bugBrian
2008-01-26Cell: add check to catch recursive batch flushingBrian
2008-01-25Cell: updates to match pipe_buffer changesBrian
2008-01-25Cell: emit framebuffer state like other stateBrian
Plus misc clean-up. Window resize sometimes works now.
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: rename pipe_buffer_handle to pipe_buffer, rework pipebuffer/ codeKeith 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-25Cell: propogate vertex info to SPUs, use it for attrib interpolationBrian
2008-01-25Cell: batch_buffer_size should be uint, not ubyteBrian
2008-01-24Cell: send actual vertex size in the render commandBrian
2008-01-24Cell: rewrite compute_vertex_layout()Brian
2008-01-24Cell: fix asst. warningsBrian
2008-01-23Cell: s/FORMAT/EMIT/Brian
2008-01-23Cell: remove old test codeBrian
2008-01-23Cell: asst. updates to sync up with today's earlier gallium changesBrian
2008-01-21Cell: initial support for sampler stateBrian
2008-01-21Cell: s/cell_init_surface_funcs/cell_init_surface_functions/Brian
2008-01-21Cell: Added cell_surface.[ch] filesBrian
2008-01-21Cell: renamed cell_surface.[ch] to cell_clear.[ch]Brian
2008-01-21Cell: rename cell_surface.[ch] cell_clear.[ch]Brian
2008-01-21Cell: Add initial texture functionsBrian
2008-01-21Cell: add cell_set_sampler_texture()Brian
2008-01-21gallium: add a src_index[] array to draw's vertex_info for mapping ↵Brian
post-xform vertex attribs to hw vertex attribs
2008-01-20enable call to cell_emit_state()Brian
2008-01-19Cell: 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-16vbuf updates/fixes (KeithW)Brian
Plus, update i915 and Cell drivers for latest vbuf->draw() params.
2008-01-14Cell: 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-14Cell: update surface map code to match recent changes in pipe_surface structBrian
2008-01-12Cell: disable cell_emit_state() for nowBrian
2008-01-12Cell: first state object (depth/stencil/alpha) emitted to SPUsBrian
2008-01-12Cell: whitespace/cleanupBrian
2008-01-12Cell: sketch out needed rasterizer stateBrian
2008-01-11Cell: basic batch buffer workingBrian
2008-01-11Cell: initial work for a hw-like batch buffer systemBrian
2008-01-11Cell: remove obsolete cell_prim_buffer struct and codeBrian