diff options
-rw-r--r-- | src/radeon.h | 1 | ||||
-rw-r--r-- | src/radeon_driver.c | 2 | ||||
-rw-r--r-- | src/radeon_textured_video.c | 4 |
3 files changed, 6 insertions, 1 deletions
diff --git a/src/radeon.h b/src/radeon.h index 3c62fd93..d5402b26 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -1264,6 +1264,7 @@ extern void RADEONUpdateHVPosition(xf86OutputPtr output, DisplayModePtr mode); /* radeon_video.c */ extern void RADEONInitVideo(ScreenPtr pScreen); extern void RADEONResetVideo(ScrnInfoPtr pScrn); +extern Bool radeon_load_bicubic_texture(ScrnInfoPtr pScrn); /* radeon_legacy_memory.c */ extern uint32_t diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 049047a2..3f79917b 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -5700,6 +5700,8 @@ Bool RADEONEnterVT(int scrnIndex, int flags) DRIUnlock(pScrn->pScreen); } #endif + if (IS_R500_3D || IS_R300_3D) + radeon_load_bicubic_texture(pScrn); return TRUE; } diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c index 0f89b491..a9d6fc3c 100644 --- a/src/radeon_textured_video.c +++ b/src/radeon_textured_video.c @@ -671,7 +671,7 @@ RADEONSetTexPortAttribute(ScrnInfoPtr pScrn, return Success; } -static Bool radeon_load_bicubic_texture(ScrnInfoPtr pScrn) +Bool radeon_load_bicubic_texture(ScrnInfoPtr pScrn) { RADEONInfoPtr info = RADEONPTR(pScrn); @@ -706,6 +706,7 @@ static Bool radeon_load_bicubic_texture(ScrnInfoPtr pScrn) return TRUE; } +#if 0 /* XXX */ static void radeon_unload_bicubic_texture(ScrnInfoPtr pScrn) { @@ -717,6 +718,7 @@ static void radeon_unload_bicubic_texture(ScrnInfoPtr pScrn) } } +#endif XF86VideoAdaptorPtr RADEONSetupImageTexturedVideo(ScreenPtr pScreen) |