From 1e1d6a515428b6884fea586d180346fc74ef75a1 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Wed, 16 Jun 2010 12:20:03 -0400 Subject: r3xx-r5xx Xv: disable bicubic filtering by default - makes Xv more consistent with r1xx/r2xx/r6xx/r7xx - Xv attributes like brightness, contrast, hue, etc. only work when bicubic is disabled. - avoids performance issues on some systems when sampling from textures in GART with kms. - It can be re-enabled with using xvattr Signed-off-by: Alex Deucher --- man/radeon.man | 2 +- src/radeon_textured_video.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/radeon.man b/man/radeon.man index 05b7d164..673ab03f 100644 --- a/man/radeon.man +++ b/man/radeon.man @@ -656,7 +656,7 @@ sizes are scaled to more than double to avoid blurred output. Bicubic filtering is not currently compatible with other Xv attributes like hue, contrast, and brightness, and must be disabled to use those attributes. The default is -.B 'auto'(2). +.B 'off'(0). .SH SEE ALSO __xservername__(__appmansuffix__), __xconfigfile__(__filemansuffix__), Xserver(__appmansuffix__), X(__miscmansuffix__) diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c index 1490ccb7..5c52a5fd 100644 --- a/src/radeon_textured_video.c +++ b/src/radeon_textured_video.c @@ -843,7 +843,7 @@ RADEONSetupImageTexturedVideo(ScreenPtr pScreen) pPriv->videoStatus = 0; pPriv->currentBuffer = 0; pPriv->doubleBuffer = 0; - pPriv->bicubic_state = BICUBIC_AUTO; + pPriv->bicubic_state = BICUBIC_OFF; pPriv->vsync = TRUE; pPriv->brightness = 0; pPriv->contrast = 0; -- cgit v1.2.3