@@ -146,12 +146,6 @@ fbSetupScreen(ScreenPtr pScreen,
146146#ifndef FB_OLD_SCREEN
147147 pScreen -> GetWindowPixmap = _fbGetWindowPixmap ;
148148 pScreen -> SetWindowPixmap = _fbSetWindowPixmap ;
149-
150- pScreen -> BackingStoreFuncs .SaveAreas = fbSaveAreas ;
151- pScreen -> BackingStoreFuncs .RestoreAreas = fbRestoreAreas ;
152- pScreen -> BackingStoreFuncs .SetClipmaskRgn = 0 ;
153- pScreen -> BackingStoreFuncs .GetImagePixmap = 0 ;
154- pScreen -> BackingStoreFuncs .GetSpansPixmap = 0 ;
155149#endif
156150
157151 return TRUE;
@@ -245,14 +239,6 @@ fbFinishScreenInit(ScreenPtr pScreen,
245239 pScreen -> ModifyPixmapHeader = fb24_32ModifyPixmapHeader ;
246240 pScreen -> CreateScreenResources = fb24_32CreateScreenResources ;
247241 }
248- #endif
249- #if 0
250- /* leave backing store initialization to the enclosing code so
251- * it can choose the correct order of wrappers
252- */
253- /* init backing store here so we can overwrite CloseScreen without stepping
254- * on the backing store wrapped version */
255- fbInitializeBackingStore (pScreen );
256242#endif
257243 return TRUE;
258244}
@@ -275,26 +261,3 @@ fbScreenInit(ScreenPtr pScreen,
275261 return FALSE;
276262 return TRUE;
277263}
278-
279-
280- #ifdef FB_OLD_SCREEN
281- const miBSFuncRec fbBSFuncRec = {
282- fbSaveAreas ,
283- fbRestoreAreas ,
284- (void (* )(GCPtr , RegionPtr )) 0 ,
285- (PixmapPtr (* )(void )) 0 ,
286- (PixmapPtr (* )(void )) 0 ,
287- };
288- #endif
289-
290- #if 0
291- void
292- fbInitializeBackingStore (ScreenPtr pScreen )
293- {
294- #ifdef FB_OLD_SCREEN
295- miInitializeBackingStore (pScreen , (miBSFuncRec * ) & fbBSFuncRec );
296- #else
297- miInitializeBackingStore (pScreen );
298- #endif
299- }
300- #endif
0 commit comments