1 /* $XFree86: xc/programs/Xserver/include/bstorestr.h,v 1.2 2001/01/06 20:58:12 tsi Exp $*/
3 * Copyright (c) 1987 by the Regents of the University of California
5 * Permission to use, copy, modify, and distribute this software and its
6 * documentation for any purpose and without fee is hereby granted, provided
7 * that the above copyright notice appear in all copies. The University of
8 * California makes no representations about the suitability of this software
9 * for any purpose. It is provided "as is" without express or implied
14 * Moved here from mi to allow wrapping of lower level backing store functions.
15 * -- 1997.10.27 Marc Aurele La France (tsi@xfree86.org)
26 typedef void (* BackingStoreSaveAreasProcPtr)(
27 PixmapPtr /*pBackingPixmap*/,
28 RegionPtr /*pObscured*/,
33 typedef void (* BackingStoreRestoreAreasProcPtr)(
34 PixmapPtr /*pBackingPixmap*/,
35 RegionPtr /*pExposed*/,
40 typedef void (* BackingStoreSetClipmaskRgnProcPtr)(
42 RegionPtr /*pbackingCompositeClip*/);
44 typedef PixmapPtr (* BackingStoreGetImagePixmapProcPtr)(void);
46 typedef PixmapPtr (* BackingStoreGetSpansPixmapProcPtr)(void);
48 typedef struct _BSFuncs {
50 BackingStoreSaveAreasProcPtr SaveAreas;
51 BackingStoreRestoreAreasProcPtr RestoreAreas;
52 BackingStoreSetClipmaskRgnProcPtr SetClipmaskRgn;
53 BackingStoreGetImagePixmapProcPtr GetImagePixmap;
54 BackingStoreGetSpansPixmapProcPtr GetSpansPixmap;
56 } BSFuncRec, *BSFuncPtr;
58 #endif /* _BSTORESTR_H_ */