Replace XAA mark/waitsyncs with the XAA/EXA wrappers.

This commit is contained in:
Eric Anholt 2006-12-27 17:58:57 -08:00
parent 150010d2f2
commit a75b416c91
1 changed files with 3 additions and 8 deletions

View File

@ -659,10 +659,7 @@ I965DisplayVideoTextured(ScrnInfoPtr pScrn, I830PortPrivPtr pPriv, int id,
/* Since we use the same little vertex buffer over and over, sync
* for subsequent rectangles.
*/
if (pI830->AccelInfoRec && pI830->AccelInfoRec->NeedToSync) {
(*pI830->AccelInfoRec->Sync)(pScrn);
pI830->AccelInfoRec->NeedToSync = FALSE;
}
i830WaitSync(pScrn);
}
pbox++;
@ -831,12 +828,10 @@ I965DisplayVideoTextured(ScrnInfoPtr pScrn, I830PortPrivPtr pPriv, int id,
}
#endif
first_output = FALSE;
if (pI830->AccelInfoRec)
pI830->AccelInfoRec->NeedToSync = TRUE;
i830MarkSync(pScrn);
}
if (pI830->AccelInfoRec)
(*pI830->AccelInfoRec->Sync)(pScrn);
i830WaitSync(pScrn);
#if WATCH_STATS
i830_dump_error_state(pScrn);
#endif