diff options
author | Eric Anholt <eric@anholt.net> | 2006-12-27 17:58:57 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2006-12-27 17:58:57 -0800 |
commit | a75b416c91085df1db4027a25eafcd04fef1e57c (patch) | |
tree | 52a3b1f8d53cba33d59e03e1f32375382711414f /src/i965_video.c | |
parent | 150010d2f20f4a57f8507eba8762e36966b0f426 (diff) |
Replace XAA mark/waitsyncs with the XAA/EXA wrappers.
Diffstat (limited to 'src/i965_video.c')
-rw-r--r-- | src/i965_video.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/i965_video.c b/src/i965_video.c index 07ee3605..96ba8f14 100644 --- a/src/i965_video.c +++ b/src/i965_video.c @@ -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 |