From 6656a565f2156a7f129e4c4fea43dda0dd4e2598 Mon Sep 17 00:00:00 2001 From: Søren Sandmann Pedersen Date: Wed, 29 Apr 2009 23:23:08 -0400 Subject: Use the AREA filter for 'best' and 'good' --- pixman/pixman-transformed.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pixman/pixman-transformed.c b/pixman/pixman-transformed.c index 3e35daaa..83ff553d 100644 --- a/pixman/pixman-transformed.c +++ b/pixman/pixman-transformed.c @@ -447,9 +447,7 @@ ACCESS(fbFetchTransformed)(bits_image_t * pict, int x, int y, int width, v.vector[2] += unit.vector[2]; } } - else if (pict->common.filter == PIXMAN_FILTER_BILINEAR || - pict->common.filter == PIXMAN_FILTER_GOOD || - pict->common.filter == PIXMAN_FILTER_BEST) + else if (pict->common.filter == PIXMAN_FILTER_BILINEAR) { /* Let the bilinear code pretend that pixels fall on integer coordinaters */ adjust (&v, &unit, -(pixman_fixed_1 / 2)); @@ -464,7 +462,9 @@ ACCESS(fbFetchTransformed)(bits_image_t * pict, int x, int y, int width, v.vector[2] += unit.vector[2]; } } - else if (pict->common.filter == PIXMAN_FILTER_AREA) + else if (pict->common.filter == PIXMAN_FILTER_AREA || + pict->common.filter == PIXMAN_FILTER_BEST || + pict->common.filter == PIXMAN_FILTER_GOOD) { /* FIXME: compute this based on the transformation, or maybe pass it in as a filter parameter? * Or compute it dynamically for perspective transformations. -- cgit v1.2.3