indices: add translate/generate functions for unfilled modes
authorKeith Whitwell <keithw@vmware.com>
Wed, 4 Mar 2009 21:35:17 +0000 (21:35 +0000)
committerKeith Whitwell <keithw@vmware.com>
Wed, 4 Mar 2009 21:37:23 +0000 (21:37 +0000)
commit79a05a6b3f8a995c80d27a1f32f85ad84b1a6f9d
tree6d69f05b900da55b650407cb76a12394863668d4
parent59311fb06c7bb20efe29ecdc237d0171ee959c0a
indices: add translate/generate functions for unfilled modes

Most of the time unfilled rendering requires a lot more thought than
just translating triangles to lines or points.  But sometimes, you can
do exactly that, and it can be quite a bit quicker.  Add code to do the
translation.  The caller has to determine whether it's a legal thing
to do in the current state, in particular you'd need:
  - culling disabled
  - offset disabled
  - same front and back fill modes
  - possibly other stuff I can't think of.
src/gallium/auxiliary/indices/Makefile
src/gallium/auxiliary/indices/SConscript
src/gallium/auxiliary/indices/u_indices.h
src/gallium/auxiliary/indices/u_unfilled_gen.c [new file with mode: 0644]
src/gallium/auxiliary/indices/u_unfilled_gen.py [new file with mode: 0644]
src/gallium/auxiliary/indices/u_unfilled_indices.c [new file with mode: 0644]