Mesa (master): gallium/auxiliary: add the microsoft tessellator and a pipe wrapper.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Feb 28 08:53:32 UTC 2020


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Feb 17 16:17:21 2020 +1000

gallium/auxiliary: add the microsoft tessellator and a pipe wrapper.

This adds the same tessellator code that swr uses, swr should
move to using this copy, unfortunately that wasn't trivial on my first
look.

The p_tessellator wrapper wraps it in a form that is a useful interface
for draw.

Reviewed-by: Roland Scheidegger <sroland at vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3841>

---

 src/gallium/auxiliary/Makefile.sources             |    4 +
 src/gallium/auxiliary/meson.build                  |    4 +
 .../auxiliary/tessellator/p_tessellator.cpp        |  166 ++
 src/gallium/auxiliary/tessellator/p_tessellator.h  |   69 +
 src/gallium/auxiliary/tessellator/tessellator.cpp  | 2705 ++++++++++++++++++++
 src/gallium/auxiliary/tessellator/tessellator.hpp  |  471 ++++
 6 files changed, 3419 insertions(+)

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


More information about the mesa-commit mailing list