summaryrefslogtreecommitdiff
path: root/src/radeon_textured_video.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-04-13 17:04:31 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-04-17 10:24:58 -0400
commit12839fc17a2cca4ac14b9757bdaa63ba4679f96f (patch)
tree8914fdb9b745d8653b0bf122653c0fac98d2b8c6 /src/radeon_textured_video.c
parenta30737b337edb31528174b483c9094941a5d41bb (diff)
Tex vid: split by family
Diffstat (limited to 'src/radeon_textured_video.c')
-rw-r--r--src/radeon_textured_video.c28
1 files changed, 22 insertions, 6 deletions
diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c
index bf8a2763..f64da025 100644
--- a/src/radeon_textured_video.c
+++ b/src/radeon_textured_video.c
@@ -598,13 +598,29 @@ RADEONPutImageTextured(ScrnInfoPtr pScrn,
pPriv->h = height;
#ifdef XF86DRI
- if (IS_R600_3D)
- R600DisplayTexturedVideo(pScrn, pPriv);
- else if (info->directRenderingEnabled)
- RADEONDisplayTexturedVideoCP(pScrn, pPriv);
- else
+ if (info->directRenderingEnabled) {
+ if (IS_R600_3D)
+ R600DisplayTexturedVideo(pScrn, pPriv);
+ else if (IS_R500_3D)
+ R500DisplayTexturedVideoCP(pScrn, pPriv);
+ else if (IS_R300_3D)
+ R300DisplayTexturedVideoCP(pScrn, pPriv);
+ else if (IS_R200_3D)
+ R200DisplayTexturedVideoCP(pScrn, pPriv);
+ else
+ RADEONDisplayTexturedVideoCP(pScrn, pPriv);
+ } else
#endif
- RADEONDisplayTexturedVideoMMIO(pScrn, pPriv);
+ {
+ if (IS_R500_3D)
+ R500DisplayTexturedVideoMMIO(pScrn, pPriv);
+ else if (IS_R300_3D)
+ R300DisplayTexturedVideoMMIO(pScrn, pPriv);
+ else if (IS_R200_3D)
+ R200DisplayTexturedVideoMMIO(pScrn, pPriv);
+ else
+ RADEONDisplayTexturedVideoMMIO(pScrn, pPriv);
+ }
return Success;
}