diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-09-09 13:24:01 +0200 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-09-09 13:24:01 +0200 |
commit | dfa5807c1f5694728aa92138eb0eab5bd5b8c3d7 (patch) | |
tree | 38dd9f09565bce1b68e2b7ead547487cde059d04 /src/mga_dri.c | |
parent | bfb329542377e8e8141c87ed30389de6d7180e06 (diff) |
Make use of MGA_MARK_SYNC.
Diffstat (limited to 'src/mga_dri.c')
-rw-r--r-- | src/mga_dri.c | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/src/mga_dri.c b/src/mga_dri.c index c780bdf..103279d 100644 --- a/src/mga_dri.c +++ b/src/mga_dri.c @@ -431,14 +431,7 @@ static void MGASwapContext( ScreenPtr pScreen ) */ pMga->haveQuiescense = 0; -#ifdef USE_XAA - if (!pMga->Exa && pMga->AccelInfoRec) - pMga->AccelInfoRec->NeedToSync = TRUE; -#endif -#ifdef USE_EXA - if (pMga->Exa) - exaMarkSync(pScreen); -#endif + MGA_MARK_SYNC(pMga, pScrn); } static void MGASwapContextShared( ScreenPtr pScreen ) @@ -452,20 +445,8 @@ static void MGASwapContextShared( ScreenPtr pScreen ) pMga->haveQuiescense = pMGA2->haveQuiescense = 0; -#ifdef USE_XAA - if (!pMga->Exa && pMga->AccelInfoRec) - pMga->AccelInfoRec->NeedToSync = TRUE; - - if (!pMGA2->Exa && pMGA2->AccelInfoRec) - pMGA2->AccelInfoRec->NeedToSync = TRUE; -#endif -#ifdef USE_EXA - if (pMga->Exa) - exaMarkSync(pScrn->pScreen); - - if (pMGA2->Exa) - exaMarkSync(pMGAEnt->pScrn_2->pScreen); -#endif + MGA_MARK_SYNC(pMga, pScrn); + MGA_MARK_SYNC(pMGA2, pMGAEnt->pScrn_2); } /* FIXME: This comment is out of date, since we aren't overriding |