diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2006-07-03 01:21:18 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2006-07-03 01:21:18 +0200 |
commit | 920ac1f56fad6f48a30e65836ce054815f270738 (patch) | |
tree | b4c1643064617ac8c7260c38f5241c8f396d5e69 /src/radeon_dri.c | |
parent | dd0dd4bab76907b4b1b6d814f24e73e57d71f587 (diff) |
Do even less cache flushing when the previous engine mode is known.
OTOH, flush everything when the previous engine mode is unknown, and mark the
engine mode as unknown in a couple more cases.
Diffstat (limited to 'src/radeon_dri.c')
-rw-r--r-- | src/radeon_dri.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon_dri.c b/src/radeon_dri.c index 62a310d..b1dae42 100644 --- a/src/radeon_dri.c +++ b/src/radeon_dri.c @@ -431,6 +431,10 @@ static void RADEONLeaveServer(ScreenPtr pScreen) info->CPInUse = FALSE; } + +#ifdef USE_EXA + info->engineMode = EXA_ENGINEMODE_UNKNOWN; +#endif } /* Contexts can be swapped by the X server if necessary. This callback |