diff options
author | Adam Jackson <ajax@benzedrine.nwnk.net> | 2007-08-25 15:08:20 -0400 |
---|---|---|
committer | Adam Jackson <ajax@benzedrine.nwnk.net> | 2007-08-25 15:08:20 -0400 |
commit | ae7f71a8b3d6756161e55d998d6eec37d2695c98 (patch) | |
tree | 062e2a706da974db9e40c0fabf25c32355a26916 /fb/fbscreen.c | |
parent | bf0883ae5081bd75569115a3eb27c6d3d336c9f2 (diff) |
Implement core protocol backing store exclusively in terms of Composite.
Composite's automatic redirection is a more general mechanism than the
ad-hoc BS machinery, so it's much prettier to implement the one in terms
of the other. Composite now wraps ChangeWindowAttributes and activates
automatic redirection for windows with backing store requested. The old
backing store infrastructure is completely gutted: ABI-visible structures
retain the function pointers, but they never get called, and all the
open-coded conditionals throughout the DIX layer to implement BS are gone.
Note that this is still not a strictly complete implementation of backing
store, since Composite will throw the bits away on unmap and therefore
WhenMapped and Always hints are equivalent.
Diffstat (limited to 'fb/fbscreen.c')
-rw-r--r-- | fb/fbscreen.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fb/fbscreen.c b/fb/fbscreen.c index 94033f1d1..661268c74 100644 --- a/fb/fbscreen.c +++ b/fb/fbscreen.c @@ -142,12 +142,6 @@ fbSetupScreen(ScreenPtr pScreen, pScreen->GetWindowPixmap = _fbGetWindowPixmap; pScreen->SetWindowPixmap = _fbSetWindowPixmap; - pScreen->BackingStoreFuncs.SaveAreas = fbSaveAreas; - pScreen->BackingStoreFuncs.RestoreAreas = fbRestoreAreas; - pScreen->BackingStoreFuncs.SetClipmaskRgn = 0; - pScreen->BackingStoreFuncs.GetImagePixmap = 0; - pScreen->BackingStoreFuncs.GetSpansPixmap = 0; - return TRUE; } |