Mesa (gallium-0.2): gallium: add new aux lib for index list translations

Keith Whitwell keithw at kemper.freedesktop.org
Thu Feb 5 16:05:39 UTC 2009


Module: Mesa
Branch: gallium-0.2
Commit: 3120894c6d33a26cda642246344e8945db200ac2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3120894c6d33a26cda642246344e8945db200ac2

Author: Keith Whitwell <keithw at vmware.com>
Date:   Thu Feb  5 14:44:17 2009 +0000

gallium: add new aux lib for index list translations

Could this be the ultimate index list translating utility?  Maybe, but it
doesn't yet include support for splitting primitives.

Unlike previous attempts, this captures all possible combinations of API
and hardware provoking vertex, supports generated list reuse and various
other tricks.  Relies on python-generated code.

---

 configs/default                                |    2 +-
 src/gallium/SConscript                         |    1 +
 src/gallium/auxiliary/indices/Makefile         |   16 +
 src/gallium/auxiliary/indices/SConscript       |   17 +
 src/gallium/auxiliary/indices/u_indices.c      |  253 ++
 src/gallium/auxiliary/indices/u_indices.h      |   83 +
 src/gallium/auxiliary/indices/u_indices_gen.c  | 5129 ++++++++++++++++++++++++
 src/gallium/auxiliary/indices/u_indices_gen.py |  318 ++
 src/gallium/auxiliary/indices/u_indices_priv.h |   43 +
 9 files changed, 5861 insertions(+), 1 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=3120894c6d33a26cda642246344e8945db200ac2



More information about the mesa-commit mailing list