summaryrefslogtreecommitdiff
path: root/src/r600_textured_videofuncs.c
diff options
context:
space:
mode:
authorPierre Ossman <pierre@ossman.eu>2009-02-07 18:57:47 +0100
committerPierre Ossman <pierre@ossman.eu>2009-02-07 19:04:12 +0100
commit8e9ef8ff581892cbe1b7ea56d48b9a1abd70179d (patch)
tree4075b85979badaba4bb815c51bf6be8d28ca779f /src/r600_textured_videofuncs.c
parent2222f0fd700f100b2e91fac2babe7d1b53f56c3e (diff)
Xv vsync support on r6xx/r7xx cards.
Diffstat (limited to 'src/r600_textured_videofuncs.c')
-rw-r--r--src/r600_textured_videofuncs.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/r600_textured_videofuncs.c b/src/r600_textured_videofuncs.c
index 5941899a..222740e5 100644
--- a/src/r600_textured_videofuncs.c
+++ b/src/r600_textured_videofuncs.c
@@ -268,6 +268,18 @@ R600DisplayTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv)
ereg (accel_state->ib, SPI_INTERP_CONTROL_0, 0);
+ cp_wait_vline_sync(pScrn, accel_state->ib, pPixmap,
+ radeon_covering_crtc_num(pScrn,
+ pPriv->drw_x,
+ pPriv->drw_x + pPriv->dst_w,
+ pPriv->drw_y,
+ pPriv->drw_y + pPriv->dst_h,
+ pPriv->desired_crtc),
+ pPriv->drw_y,
+ pPriv->drw_y + pPriv->dst_h,
+ pPriv->vsync);
+
+
accel_state->vb_index = 0;
while (nBox--) {