From a75b416c91085df1db4027a25eafcd04fef1e57c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 27 Dec 2006 17:58:57 -0800 Subject: [PATCH] Replace XAA mark/waitsyncs with the XAA/EXA wrappers. --- src/i965_video.c | 11 +++-------- 1 file 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