Mesa Cell Driver

The Mesa Cell driver is part of the Gallium3D architecture.

Tungsten Graphics is leading the project. Two phases are planned. First, to implement the framework for parallel rasterization using the Cell SPEs, including texture mapping. Second, to implement a full-featured OpenGL driver with support for GLSL, etc.

Source Code

The Cell driver source code is on the gallium-0.1 branch of the git repository. To build the driver you'll need the IBM Cell SDK (version 2.1 or 3.0). To use the driver you'll need a Cell system, such as a PS3 running Linux, or the Cell Simulator (untested, though).

To compile the code, run make linux-cell.

To use the library, make sure LD_LIBRARY_PATH points the Mesa/lib/ directory that contains libGL.so.

Verify that the Cell driver is being used by running glxinfo and looking for:

  OpenGL renderer string: Gallium 0.1, Cell on Xlib

Status

As of January 2008 the driver supports smooth/flat shaded triangle rendering with Z testing. Simple demos like gears run successfully. Basic texture mapping should be working within a month. There's still unfinished work in the PPU-to-SPU communication facilities.

Contributing

If you're interested in contributing to the effort, familiarize yourself with the code, join the mesa3d-dev mailing list, and describe what you'd like to do.