diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-08-10 21:31:49 +0200 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-08-10 21:31:49 +0200 |
commit | 398447c041cffdc712a86f9fe9b58c3f5189c86e (patch) | |
tree | 294144d7cd8e211e9610d100481817f678819561 /src/mga_dri.c | |
parent | b1126b4ab81c12f178fb7366a52b6f2d38af3810 (diff) |
Call exaMarkSync() where we'd set the NeedToSync flag for XAA.
Diffstat (limited to 'src/mga_dri.c')
-rw-r--r-- | src/mga_dri.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/mga_dri.c b/src/mga_dri.c index d704089..78b20b6 100644 --- a/src/mga_dri.c +++ b/src/mga_dri.c @@ -431,11 +431,14 @@ static void MGASwapContext( ScreenPtr pScreen ) */ pMga->haveQuiescense = 0; - /* FIXME what about EXA? */ #ifdef USE_XAA if (!pMga->Exa && pMga->AccelInfoRec) pMga->AccelInfoRec->NeedToSync = TRUE; #endif +#ifdef USE_EXA + if (pMga->Exa) + exaMarkSync(pScreen); +#endif } static void MGASwapContextShared( ScreenPtr pScreen ) @@ -449,7 +452,6 @@ static void MGASwapContextShared( ScreenPtr pScreen ) pMga->haveQuiescense = pMGA2->haveQuiescense = 0; - /* FIXME what about EXA? */ #ifdef USE_XAA if (!pMga->Exa && pMga->AccelInfoRec) pMga->AccelInfoRec->NeedToSync = TRUE; @@ -457,6 +459,13 @@ static void MGASwapContextShared( ScreenPtr pScreen ) 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 } /* FIXME: This comment is out of date, since we aren't overriding |