]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/l4con/examples/xf86_stub/include-xorg-6.9.0/xserver/bstorestr.h
Inital import
[l4.git] / l4 / pkg / l4con / examples / xf86_stub / include-xorg-6.9.0 / xserver / bstorestr.h
1 /* $XFree86: xc/programs/Xserver/include/bstorestr.h,v 1.2 2001/01/06 20:58:12 tsi Exp $*/
2 /*
3  * Copyright (c) 1987 by the Regents of the University of California
4  *
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
10  * warranty.
11  */
12
13 /*
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)
16  */
17
18 #ifndef _BSTORESTR_H_
19 #define _BSTORESTR_H_
20
21 #include "gc.h"
22 #include "pixmap.h"
23 #include "region.h"
24 #include "window.h"
25
26 typedef    void (* BackingStoreSaveAreasProcPtr)(
27         PixmapPtr /*pBackingPixmap*/,
28         RegionPtr /*pObscured*/,
29         int /*x*/,
30         int /*y*/,
31         WindowPtr /*pWin*/);
32
33 typedef    void (* BackingStoreRestoreAreasProcPtr)(
34         PixmapPtr /*pBackingPixmap*/,
35         RegionPtr /*pExposed*/,
36         int /*x*/,
37         int /*y*/,
38         WindowPtr /*pWin*/);
39
40 typedef    void (* BackingStoreSetClipmaskRgnProcPtr)(
41         GCPtr /*pBackingGC*/,
42         RegionPtr /*pbackingCompositeClip*/);
43
44 typedef    PixmapPtr (* BackingStoreGetImagePixmapProcPtr)(void);
45
46 typedef    PixmapPtr (* BackingStoreGetSpansPixmapProcPtr)(void);
47
48 typedef struct _BSFuncs {
49
50         BackingStoreSaveAreasProcPtr SaveAreas;
51         BackingStoreRestoreAreasProcPtr RestoreAreas;
52         BackingStoreSetClipmaskRgnProcPtr SetClipmaskRgn;
53         BackingStoreGetImagePixmapProcPtr GetImagePixmap;
54         BackingStoreGetSpansPixmapProcPtr GetSpansPixmap;
55
56 } BSFuncRec, *BSFuncPtr;
57
58 #endif /* _BSTORESTR_H_ */