Tuesday, July 22, 2008

Parallel Rendering with DirectX Command Buffers

I'm at Microsoft XNA Gamefest 2008 presenting Practical Parallel Rendering with DirectX 9 and 10. You can find the slides and open source code. Bo Wilson helped out on the design and prototype.

The short form of the presentation is:
  • We made a command buffer (or "display list") format for DirectX 9.
  • Multiple CPUs can record command buffers simultaneously.
  • One main thread that owns the device can playback command buffers.
  • For many games, this provides an effective way to improve performance with minimal changes to existing render code architecture, they can "simply" swap in one of our special recording devices.
  • The code is open source.