tnl: Add a utility to emit indexed vertices to a DMA buffer.
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>
Tue, 20 Jan 2009 10:15:57 +0000 (11:15 +0100)
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>
Tue, 20 Jan 2009 10:15:57 +0000 (11:15 +0100)
commitb00477acf3546242cd183630bd55a49085bbb3ed
tree251d32d4b21443b1fe026ab7f27ce924cf878067
parent7374285f07b673dcba1d1f47dd987c8ba7037bad
tnl: Add a utility to emit indexed vertices to a DMA buffer.

This utility is useful for hardware that doesn't support HW index buffers.
It's a bit inefficient but appears to give a substantial performance gain,
as we can emit tri strips that would otherwise be split into triangles.
src/mesa/tnl/t_vertex.c
src/mesa/tnl/t_vertex.h