~ubuntu-branches/ubuntu/precise/xorg-server/precise-updates

« back to all changes in this revision

Viewing changes to include/bstorestr.h

Tags: 2:1.10.1-2
* Build xserver-xorg-core-udeb on hurd-i386.  Thanks, Samuel Thibault!
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (c) 1987 by the Regents of the University of California
3
 
 *
4
 
 * Permission to use, copy, modify, and distribute this software and its
5
 
 * documentation for any purpose and without fee is hereby granted, provided
6
 
 * that the above copyright notice appear in all copies.  The University of
7
 
 * California makes no representations about the suitability of this software
8
 
 * for any purpose.  It is provided "as is" without express or implied
9
 
 * warranty.
10
 
 */
11
 
 
12
 
/*
13
 
 * Moved here from mi to allow wrapping of lower level backing store functions.
14
 
 * -- 1997.10.27  Marc Aurele La France (tsi@xfree86.org)
15
 
 */
16
 
 
17
 
#ifndef _BSTORESTR_H_
18
 
#define _BSTORESTR_H_
19
 
 
20
 
#include "gc.h"
21
 
#include "pixmap.h"
22
 
#include "region.h"
23
 
#include "window.h"
24
 
 
25
 
typedef    void (* BackingStoreSaveAreasProcPtr)(
26
 
        PixmapPtr /*pBackingPixmap*/,
27
 
        RegionPtr /*pObscured*/,
28
 
        int /*x*/,
29
 
        int /*y*/,
30
 
        WindowPtr /*pWin*/);
31
 
 
32
 
typedef    void (* BackingStoreRestoreAreasProcPtr)(
33
 
        PixmapPtr /*pBackingPixmap*/,
34
 
        RegionPtr /*pExposed*/,
35
 
        int /*x*/,
36
 
        int /*y*/,
37
 
        WindowPtr /*pWin*/);
38
 
 
39
 
typedef    void (* BackingStoreSetClipmaskRgnProcPtr)(
40
 
        GCPtr /*pBackingGC*/,
41
 
        RegionPtr /*pbackingCompositeClip*/);
42
 
 
43
 
typedef    PixmapPtr (* BackingStoreGetImagePixmapProcPtr)(void);
44
 
 
45
 
typedef    PixmapPtr (* BackingStoreGetSpansPixmapProcPtr)(void);
46
 
 
47
 
typedef struct _BSFuncs {
48
 
        BackingStoreSaveAreasProcPtr SaveAreas;
49
 
        BackingStoreRestoreAreasProcPtr RestoreAreas;
50
 
        BackingStoreSetClipmaskRgnProcPtr SetClipmaskRgn;
51
 
        BackingStoreGetImagePixmapProcPtr GetImagePixmap;
52
 
        BackingStoreGetSpansPixmapProcPtr GetSpansPixmap;
53
 
} BSFuncRec, *BSFuncPtr;
54
 
 
55
 
#endif /* _BSTORESTR_H_ */