From ae7f71a8b3d6756161e55d998d6eec37d2695c98 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Sat, 25 Aug 2007 15:08:20 -0400 Subject: 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. --- cfb/cfb.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'cfb/cfb.h') diff --git a/cfb/cfb.h b/cfb/cfb.h index 8c682ae8d..5614f4f31 100644 --- a/cfb/cfb.h +++ b/cfb/cfb.h @@ -486,23 +486,7 @@ extern void cfbBresD( int /*e2*/, int /*len*/ ); -/* cfbbstore.c */ -extern void cfbSaveAreas( - PixmapPtr /*pPixmap*/, - RegionPtr /*prgnSave*/, - int /*xorg*/, - int /*yorg*/, - WindowPtr /*pWin*/ -); - -extern void cfbRestoreAreas( - PixmapPtr /*pPixmap*/, - RegionPtr /*prgnRestore*/, - int /*xorg*/, - int /*yorg*/, - WindowPtr /*pWin*/ -); /* cfbcmap.c */ #ifndef CFB_PROTOTYPES_ONLY -- cgit v1.2.3