summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Cencora <m.cencora@gmail.com>2008-08-07 07:06:46 -0700
committerPierre Ossman <pierre@ossman.eu>2008-12-01 19:21:50 +0100
commit85bbe889045aa434f71a3eb0ba8153b7d2cc5023 (patch)
treee02ee245748d41532c0b3814938212c84946accc
parentbf6263cff50bb85c19ff6dfebb739333fa8aca18 (diff)
Enable bicubic Xv on r3xx+. Still some buggies in the actual display, but looks pretty good.
-rw-r--r--src/radeon_textured_video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c
index 35b332b5..8fc380e1 100644
--- a/src/radeon_textured_video.c
+++ b/src/radeon_textured_video.c
@@ -204,7 +204,7 @@ RADEONPutImageTextured(ScrnInfoPtr pScrn,
}
/* Bicubic filter loading */
- if (!IS_R500_3D)
+ if (!IS_R500_3D && !IS_R300_3D)
pPriv->bicubic_enabled = FALSE;
if (pPriv->bicubic_memory == NULL && pPriv->bicubic_enabled) {
pPriv->bicubic_offset = radeon_legacy_allocate_memory(pScrn,
@@ -459,7 +459,7 @@ RADEONSetupImageTexturedVideo(ScreenPtr pScreen)
pPriv->videoStatus = 0;
pPriv->currentBuffer = 0;
pPriv->doubleBuffer = 0;
- pPriv->bicubic_enabled = (info->ChipFamily >= CHIP_FAMILY_RV515);
+ pPriv->bicubic_enabled = (info->ChipFamily >= CHIP_FAMILY_R300);
/* gotta uninit this someplace, XXX: shouldn't be necessary for textured */
REGION_NULL(pScreen, &pPriv->clip);