Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Cell: add cell_set_sampler_texture() | Brian | 2008-01-21 | 2 | -0/+19 | |
| | ||||||
* | gallium: add a src_index[] array to draw's vertex_info for mapping ↵ | Brian | 2008-01-21 | 1 | -9/+10 | |
| | | | | post-xform vertex attribs to hw vertex attribs | |||||
* | enable call to cell_emit_state() | Brian | 2008-01-20 | 1 | -1/+1 | |
| | ||||||
* | Cell: improve "finished copying batch buffer" signalling. | Brian | 2008-01-19 | 4 | -17/+61 | |
| | | | | | | 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. | |||||
* | vbuf updates/fixes (KeithW) | Brian | 2008-01-16 | 1 | -9/+25 | |
| | | | | Plus, update i915 and Cell drivers for latest vbuf->draw() params. | |||||
* | Cell: after sending a batch, wait for a DMA completion signal. | Brian | 2008-01-14 | 1 | -3/+14 | |
| | | | | | | This fixes sporadic rendering glitches. Using a mailbox msg for now, until spe_mfcio_tag_status_read() or similar is found to work. | |||||
* | Cell: update surface map code to match recent changes in pipe_surface struct | Brian | 2008-01-14 | 4 | -15/+18 | |
| | ||||||
* | Cell: disable cell_emit_state() for now | Brian | 2008-01-12 | 1 | -1/+1 | |
| | ||||||
* | Cell: first state object (depth/stencil/alpha) emitted to SPUs | Brian | 2008-01-12 | 6 | -0/+86 | |
| | ||||||
* | Cell: whitespace/cleanup | Brian | 2008-01-12 | 2 | -18/+25 | |
| | ||||||
* | Cell: sketch out needed rasterizer state | Brian | 2008-01-12 | 1 | -0/+42 | |
| | ||||||
* | Cell: basic batch buffer working | Brian | 2008-01-11 | 6 | -8/+103 | |
| | ||||||
* | Cell: initial work for a hw-like batch buffer system | Brian | 2008-01-11 | 7 | -11/+150 | |
| | ||||||
* | Cell: remove obsolete cell_prim_buffer struct and code | Brian | 2008-01-11 | 2 | -7/+0 | |
| | ||||||
* | Cell: debug code, comments | Brian | 2008-01-11 | 1 | -2/+15 | |
| | ||||||
* | Cell: reformattting | Brian | 2008-01-11 | 1 | -8/+6 | |
| | ||||||
* | Cell: Remove the pre-vbuf rendering code | Brian | 2008-01-11 | 3 | -10/+3 | |
| | ||||||
* | Cell: compute bounding box in cell_vbuf_draw() | Brian | 2008-01-10 | 1 | -11/+20 | |
| | ||||||
* | Cell: enable vbuf path by default | Brian | 2008-01-10 | 2 | -5/+2 | |
| | ||||||
* | Cell: checkpoint: draw_vbuf code in place and works, but not enabled by ↵ | Brian | 2008-01-10 | 1 | -8/+51 | |
| | | | | default yet. | |||||
* | Cell: initial implementation of vbuf code. | Brian | 2008-01-10 | 5 | -1/+188 | |
| | | | | | | The draw module's vbuf stage builds buffers of post-transformed vertices and issues draw-elements calls to render them. We'll pass the vertex and index buffers to the SPUs... | |||||
* | Cell: call draw_compute_vertex_size() | Brian | 2008-01-10 | 1 | -1/+2 | |
| | ||||||
* | Cell: s/free/align_free/ | Brian | 2008-01-10 | 1 | -1/+1 | |
| | ||||||
* | Cell: clean-up cell_spu_exit() code | Brian | 2008-01-10 | 3 | -22/+8 | |
| | ||||||
* | Cell: remove some debug printfs, predicate others with Debug boolean | Brian | 2008-01-09 | 3 | -7/+0 | |
| | ||||||
* | Cell: implemement basic Z testing | Brian | 2008-01-09 | 2 | -24/+26 | |
| | | | | Also, improve some surface clearing code | |||||
* | Cell: improve surface state code to replace some temporary code. | Brian | 2008-01-03 | 3 | -13/+86 | |
| | ||||||
* | insert a temporary flush to fix missing triangles artifact | Brian | 2008-01-03 | 1 | -0/+5 | |
| | ||||||
* | better debug code | Brian | 2008-01-03 | 1 | -2/+15 | |
| | ||||||
* | make use of prim bounds box info | Brian | 2008-01-02 | 2 | -0/+10 | |
| | ||||||
* | only fetch as much vertex data as needed | Brian | 2008-01-02 | 1 | -0/+1 | |
| | ||||||
* | remove previous triangle test code | Brian | 2008-01-02 | 1 | -33/+0 | |
| | ||||||
* | Cell: basic triangle rendering works. | Brian | 2008-01-02 | 6 | -3/+92 | |
| | | | | | | The cell "render_stage" (last in the "draw" pipeline) emits vertices into a buffer which is pulled by the SPUs in response to a "RENDER" command. This is pretty much temporary/scaffold code for now. | |||||
* | Plug in more infrastructure for actual rendering. | Brian | 2008-01-01 | 10 | -67/+675 | |
| | | | | | | | Track vertex/fragment shader state. Plug in pipe->draw_arrays(), pipe->draw_elements(). Plug render stage (a stub) into end of 'draw' pipeline. Specify a hard-coded vertex format for now. | |||||
* | updates for depth/stencil/alpha state | Brian | 2007-12-17 | 3 | -11/+11 | |
| | ||||||
* | gallium: incorporate alpha state into depth_stencil state object. | Keith Whitwell | 2007-12-17 | 4 | -49/+7 | |
| | ||||||
* | PIPE_SCREEN_SURFACE no longer needed | Brian | 2007-12-12 | 1 | -2/+0 | |
| | ||||||
* | Cell: draw smooth-shaded triangle | Brian | 2007-12-11 | 1 | -9/+20 | |
| | ||||||
* | Collect some global vars in a single struct. | Brian | 2007-12-11 | 4 | -69/+84 | |
| | ||||||
* | Remove temporary cell_create_surface() | Brian | 2007-12-11 | 2 | -29/+5 | |
| | ||||||
* | Port to libspe2 | Ian Romanick | 2007-12-11 | 4 | -49/+58 | |
| | | | | | | libspe is deprecated in Cell SDK 2.1, and it is removed in Cell SDK 3.0. This patch ports the existing libspe-based code to libspe2. Some error checking (eh-hem) would be nice. | |||||
* | use ALIGN16_ATTRIB from p_compiler.h | Brian | 2007-12-11 | 2 | -5/+5 | |
| | ||||||
* | Remove obsolete clear_color, tex sampler state | Brian | 2007-12-11 | 1 | -2/+0 | |
| | ||||||
* | Remove obsolete clear_color, tex sampler state functions | Brian | 2007-12-11 | 4 | -41/+0 | |
| | ||||||
* | gallium: remove set_sampler_units interface | Keith Whitwell | 2007-12-11 | 4 | -20/+5 | |
| | | | | | The effect of this mapping can be acheived by the state tracker and setting up the pipe texture state pointers to incorporate its affects. | |||||
* | Cell: first triangle. | Brian | 2007-12-10 | 2 | -22/+21 | |
| | | | | | | | | This is a feeble first step, but it works. The cell_clear_surface() function has been hijacked to set up a "draw triangle" command and send it to all the SPUs. The Gallium softpipe triangle code was copied to the SPU module and modified. Only the progs/trivial/clear.c program runs. | |||||
* | Cell driver state-setter functions, basic tile get/put, glClear. | Brian | 2007-12-10 | 19 | -30/+1753 | |
| | | | | | | | | The state setting code was mostly just copied from the softpipe driver. The SPUs can now get/put framebuffer tiles from/to main memory and clear them to a given color. Lots of debug code in effect. Tiled framebuffer is displayed in X window via the xmwinsys layer. To enable Cell driver, export GALLIUM_CELL=1 | |||||
* | Add dependency checking for Cell driver sources. | Brian | 2007-12-05 | 1 | -2/+20 | |
| | ||||||
* | Initial Cell driver infrastructure. | Brian | 2007-12-02 | 4 | -0/+170 | |
No real code yet. Just stand-ins and make/build infrastructure. |