mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-19 00:51:16 +00:00
Recompute winSize/borderSize to fix them when changing redirection.
Sufficient, but not always necessary.
Add borderClip to damage on creation so that clients needn't guess.
Fix API to FbDots functions to make PolyPoint work with screen_x/screen_y
offsets
Add debugging code to make sure no pictures are left pointing at freed
pixmaps. "Can't" happen, but it did once.
Change KdOffscreenArea structure to eliminate separate private structure,
eliminate the ScreenPtr, change from doubly linked to singly linked
list.
Don't damage BackgroundNone windows on PW_BACKGROUND. Re-clip damage to
borderClip in DamageSubtract.
This commit is contained in:
parent
acd2007705
commit
003e87717c
4 changed files with 108 additions and 98 deletions
|
|
@ -68,7 +68,7 @@ mach64StopVideo(KdScreenInfo *screen, pointer data, Bool exit)
|
|||
}
|
||||
if (pPortPriv->off_screen)
|
||||
{
|
||||
KdOffscreenFree (pPortPriv->off_screen);
|
||||
KdOffscreenFree (pScreen, pPortPriv->off_screen);
|
||||
pPortPriv->off_screen = 0;
|
||||
}
|
||||
}
|
||||
|
|
@ -556,9 +556,8 @@ mach64DisplayVideo(KdScreenInfo *screen,
|
|||
}
|
||||
|
||||
static void
|
||||
mach64VideoSave (KdOffscreenArea *area)
|
||||
mach64VideoSave (ScreenPtr pScreen, KdOffscreenArea *area)
|
||||
{
|
||||
ScreenPtr pScreen = area->screen;
|
||||
KdScreenPriv(pScreen);
|
||||
KdScreenInfo *screen = pScreenPriv->screen;
|
||||
Mach64ScreenInfo *mach64s = (Mach64ScreenInfo *) screen->driver;
|
||||
|
|
@ -706,7 +705,7 @@ mach64PutImage(KdScreenInfo *screen,
|
|||
|
||||
if (pPortPriv->off_screen && size != pPortPriv->size)
|
||||
{
|
||||
KdOffscreenFree (pPortPriv->off_screen);
|
||||
KdOffscreenFree (screen->pScreen, pPortPriv->off_screen);
|
||||
pPortPriv->off_screen = 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue