[PATCH] exa: avoid offscreen pixmap swapped out flag for driver pixmaps
Dave Airlie
airlied at redhat.com
Wed Apr 15 17:28:36 PDT 2009
---
exa/exa_offscreen.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/exa/exa_offscreen.c b/exa/exa_offscreen.c
index 4aaa2c1..d7198cb 100644
--- a/exa/exa_offscreen.c
+++ b/exa/exa_offscreen.c
@@ -371,6 +371,9 @@ exaEnableDisableFBAccess (int index, Bool enable)
ScreenPtr pScreen = screenInfo.screens[index];
ExaScreenPriv (pScreen);
+ if (pExaScr->info->flags & EXA_HANDLES_PIXMAPS)
+ return;
+
if (!enable && pExaScr->disableFbCount++ == 0) {
if (pExaScr->info->exa_minor < 1)
ExaOffscreenSwapOut (pScreen);
--
1.6.0.6
--=-VsAIZLT7fJMNqK0hNNjy--
More information about the xorg-devel
mailing list