Module: Mesa
Branch: master
Commit: 79a05a6b3f8a995c80d27a1f32f85ad84b1a6f9d
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=79a05a6b3f8a995c80d27a1f32f85ad84b1a6f9d

Author: Keith Whitwell <[email protected]>
Date:   Wed Mar  4 21:35:17 2009 +0000

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             |    6 +-
 src/gallium/auxiliary/indices/SConscript           |    9 +
 src/gallium/auxiliary/indices/u_indices.h          |   23 +
 src/gallium/auxiliary/indices/u_unfilled_gen.c     | 1152 ++++++++++++++++++++
 src/gallium/auxiliary/indices/u_unfilled_gen.py    |  247 +++++
 src/gallium/auxiliary/indices/u_unfilled_indices.c |  186 ++++
 6 files changed, 1622 insertions(+), 1 deletions(-)

Diff:   
http://cgit.freedesktop.org/mesa/mesa/diff/?id=79a05a6b3f8a995c80d27a1f32f85ad84b1a6f9d
_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to