Cell driver state-setter functions, basic tile get/put, glClear.
authorBrian <brian.paul@tungstengraphics.com>
Mon, 10 Dec 2007 21:25:30 +0000 (14:25 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 10 Dec 2007 21:25:30 +0000 (14:25 -0700)
commite53303ba3b69c2c82cefd58e90d06132c2af2bb7
tree21e6cb8381c6d27ca910850f60387d2b1b72fb33
parente248f940506a678acc0cad1c925c0b11cca09672
Cell driver state-setter functions, basic tile get/put, glClear.

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
22 files changed:
src/mesa/pipe/cell/common.h
src/mesa/pipe/cell/ppu/Makefile
src/mesa/pipe/cell/ppu/cell_context.c
src/mesa/pipe/cell/ppu/cell_context.h
src/mesa/pipe/cell/ppu/cell_flush.c [new file with mode: 0644]
src/mesa/pipe/cell/ppu/cell_flush.h [new file with mode: 0644]
src/mesa/pipe/cell/ppu/cell_spu.c [new file with mode: 0644]
src/mesa/pipe/cell/ppu/cell_spu.h [new file with mode: 0644]
src/mesa/pipe/cell/ppu/cell_state.h [new file with mode: 0644]
src/mesa/pipe/cell/ppu/cell_state_blend.c [new file with mode: 0644]
src/mesa/pipe/cell/ppu/cell_state_clip.c [new file with mode: 0644]
src/mesa/pipe/cell/ppu/cell_state_fs.c [new file with mode: 0644]
src/mesa/pipe/cell/ppu/cell_state_rasterizer.c [new file with mode: 0644]
src/mesa/pipe/cell/ppu/cell_state_sampler.c [new file with mode: 0644]
src/mesa/pipe/cell/ppu/cell_state_surface.c [new file with mode: 0644]
src/mesa/pipe/cell/ppu/cell_state_vertex.c [new file with mode: 0644]
src/mesa/pipe/cell/ppu/cell_surface.c
src/mesa/pipe/cell/ppu/cell_surface.h [new file with mode: 0644]
src/mesa/pipe/cell/ppu/cell_winsys.c [new file with mode: 0644]
src/mesa/pipe/cell/ppu/cell_winsys.h [new file with mode: 0644]
src/mesa/pipe/cell/spu/main.c
src/mesa/pipe/xlib/xm_winsys.c