summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/cell/ppu/cell_context.c
AgeCommit message (Collapse)Author
2009-04-15gallium: Make sure we flush before some texture / buffer operations.Thomas Hellstrom
Also implement context member functions to optimize away those flushes whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-04cell: update clear() code to catch up to gallium changesBrian Paul
2009-01-30gallium: make p_winsys internalZack Rusin
move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
2009-01-06cell: replace 0 with -1 in SPE_COUNT_USABLE_SPES queryJonathan Adamczewski
2008-10-22cell: implement fencing for texture buffersBrian Paul
If we delete a texture, we need to keep the underlying tiled data buffer around until any rendering that references it has completed. Keep a list of buffers referenced by a rendering batch. Unref/free them when the associated batch's fence is executed/signalled.
2008-10-17cell: add new debug flag (cache) to report texture cache stats on exitBrian Paul
2008-10-16cell: CELL_NUM_SPUS env varBrian Paul
2008-10-15cell: query # cells tooBrian Paul
2008-10-15cell: query number SPUs with spe_cpu_info_get()Brian Paul
2008-10-15cell: simplify spu debug codeBrian Paul
2008-10-14cell: remove old code, clean-ups, etc.Brian Paul
2008-10-10cell: call cell_flush_int() at end of cell_create_context()Brian Paul
Ensures that SPUs are initialized/ready before proceeding. This fixes a spurious assertion failure when the SPU-side shader function info hasn't been returned to the PPU before shader codegen.
2008-10-07cell: use new keymap to save/re-use fragment ops codeBrian Paul
2008-09-17CELL: fleshing out the blending fragment opsRobert Ellison
- Added two new debug flags (to be used with the CELL_DEBUG environment variable). The first, "CELL_DEBUG=fragops", activates SPE fragment ops debug messages. The second, "CELL_DEBUG=fragopfallback", will eventually be used to disable the use of generated SPE code for fragment ops in favor of the default fallback reference routine. (During development, though, the parity of this flag is reversed: all users will get the reference code *unless* CELL_DEBUG=fragopfallback is set. This will prevent hiccups in code generation from affecting the other developers.) - Formalized debug message usage and macros in spu/spu_main.c. - Added lots of new code to ppu/cell_gen_fragment.c to extend the number of supported source RGB factors from 4 to 15, and to complete the list of supported blend equations. More coming, to complete the source and destination RGB and alpha factors, and to complete the rest of the fragment operations...
2008-09-15cell: export CELL_DEBUG=asm to dump SPU assembly codeBrian Paul
2008-09-12cell: fix non-debug build errorBrian Paul
2008-09-04cell: move batch buffer init codeBrian Paul
2008-09-04cell: more cell_init_*_functions()Brian Paul
2008-09-04cell: implement CELL_DEBUG env/options varBrian Paul
Options so far: "checker" module tile clear color by SPU ID to see where the tiles are "sync" to do synchronous DMA (only partially implemented)
2008-08-25cell: asst fixes to get driver building/running again.Brian
Note that SPU vertex transformation is disabled at this time.
2008-08-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul
Also, rename p_tile.[ch] to u_tile.[ch]
2008-03-29gallium: Set vertex state/buffers en-mass.Brian Paul
2008-02-28cell: convert all points/lines to tris for the time beingBrian
Allows more programs to look correct. We'll want native points/lines someday.
2008-02-27gallium: move is_format_supported() to pipe_screen structBrian
2008-02-27gallium: start removing pipe_context->get_name/vendor/param/paramfBrian
These are now per-screen functions, not per-context. State tracker updated, code in drivers and p_context.h disabled.
2008-02-27Cell: implement pipe_screen for cell driverBrian
2008-02-26cell: insert a (disabled) call to spe_cpu_info_get()Brian
Found on the Cell devel forum, but doesn't appear to be available in SDK 2.1.
2008-02-20cell: init shader-related functions in cell_init_shader_functions()Brian
2008-02-20cell: put most simple state-setter functions in new cell_pipe_state.c fileBrian
Also, re-org of texture/surface functions.
2008-02-20gallium: new pipe->texture_update() functionBrian
Called whenever texture data is changed (glTexImage, glTexSubImage, glCopyTexSubImage, etc).
2008-02-15Code reorganization: update build.José Fonseca
Update the Makefiles and includes for the new paths. Note that there hasn't been no separation of the Makefiles yet, and make is jumping all over the place. That will be taken care shortly. But for now, make should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm might require some minor tweaks.
2008-02-15Code reorganization: move files into their places.José Fonseca
This is in a separate commit to ensure renames are properly preserved.