VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/XFree86-4.3/Xserver/bstorestr.h@ 97956

最後變更 在這個檔案從97956是 69098,由 vboxsync 提交於 7 年 前

Clean up XFree86 driver header files.
bugref:3810: X11 Guest Additions maintenance
Over the years we have cleaned up the layout in the tree of the X.Org
header files we use to build drivers. The XFree86 ones were still in their
original, rather sub-optimal layout. This change fixes that.

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.9 KB
 
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 ([email protected])
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
26typedef void (* BackingStoreSaveAreasProcPtr)(
27#if NeedNestedPrototypes
28 PixmapPtr /*pBackingPixmap*/,
29 RegionPtr /*pObscured*/,
30 int /*x*/,
31 int /*y*/,
32 WindowPtr /*pWin*/
33#endif
34);
35
36typedef void (* BackingStoreRestoreAreasProcPtr)(
37#if NeedNestedPrototypes
38 PixmapPtr /*pBackingPixmap*/,
39 RegionPtr /*pExposed*/,
40 int /*x*/,
41 int /*y*/,
42 WindowPtr /*pWin*/
43#endif
44);
45
46typedef void (* BackingStoreSetClipmaskRgnProcPtr)(
47#if NeedNestedPrototypes
48 GCPtr /*pBackingGC*/,
49 RegionPtr /*pbackingCompositeClip*/
50#endif
51);
52
53typedef PixmapPtr (* BackingStoreGetImagePixmapProcPtr)( /* unused */
54#if NeedNestedPrototypes
55 void
56#endif
57);
58
59typedef PixmapPtr (* BackingStoreGetSpansPixmapProcPtr)( /* unused */
60#if NeedNestedPrototypes
61 void
62#endif
63);
64
65typedef struct _BSFuncs {
66
67 BackingStoreSaveAreasProcPtr SaveAreas;
68 BackingStoreRestoreAreasProcPtr RestoreAreas;
69 BackingStoreSetClipmaskRgnProcPtr SetClipmaskRgn;
70 BackingStoreGetImagePixmapProcPtr GetImagePixmap;
71 BackingStoreGetSpansPixmapProcPtr GetSpansPixmap;
72
73} BSFuncRec, *BSFuncPtr;
74
75#endif /* _BSTORESTR_H_ */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette