sna/trapezoids: Improve sample locations for imprecise rasterisation

Graphics / X.Org / xf86-video-intel - Chris Wilson [chris-wilson.co.uk] - 5 October 2014 04:44 UTC

We need to sample at the mid-point of each subrow rather than at the top and preserve the full precision of the edge gradients.

191c6b6 sna/trapezoids: Improve sample locations for imprecise rasterisation
src/sna/sna_trapezoids.h | 2 +-
src/sna/sna_trapezoids_imprecise.c | 488 ++++++++++++++++--------------------
2 files changed, 222 insertions(+), 268 deletions(-)

Upstream: cgit.freedesktop.org


  • Share