Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-01-28 | Cell: move cmd_render() into new spu_render.c file | Brian | |
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: minor optimization for flat shading | Brian | |
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: initial texture cache/sampling code | Brian | |
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: additional assertions | Brian | |
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 ROUNUP4 | Brian | |
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-26 | Cell: move ASSERT macro into common.h | Brian | |
2008-01-25 | Cell: updates to match pipe_buffer changes | Brian | |
2008-01-25 | Cell: typedefs need semicolons, Ian :) | 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 | Work around parameter differences for main in different SDK versions | Ian Romanick | |
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-25 | Cell: new ROUNDUP16() macro | Brian | |
2008-01-24 | Cell: insert dummy field into cell_command_render struct to work around ↵ | Brian | |
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 | |||
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 | Cell: added asmfiles rule | 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 | Cell: use tile_t for color tile | Brian | |