mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-01 16:08:02 +02:00
exa: avoid offscreen pixmap swapped out flag for driver pixmaps
This commit is contained in:
parent
0dfb97f15f
commit
9d684ba0bc
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue