summaryrefslogtreecommitdiff
path: root/exa/exa_offscreen.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-04-16 10:28:36 +1000
committerDave Airlie <airlied@redhat.com>2009-04-23 11:42:53 +1000
commit9d684ba0bcab53841a17ebd521507b6df8bc4b45 (patch)
tree90a0462fa30df64807640d116adcf40730e8b581 /exa/exa_offscreen.c
parent0dfb97f15f591f85e079f5829c77d0c328d00464 (diff)
exa: avoid offscreen pixmap swapped out flag for driver pixmaps
Diffstat (limited to 'exa/exa_offscreen.c')
-rw-r--r--exa/exa_offscreen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/exa/exa_offscreen.c b/exa/exa_offscreen.c
index 4aaa2c132..d7198cbdc 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);