VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/cfb8_32.h@ 62425

最後變更 在這個檔案從62425是 51223,由 vboxsync 提交於 11 年 前

Additions/x11/x11include: added header files for X.Org Server 1.0 and 1.1.

  • 屬性 svn:eol-style 設為 native
檔案大小: 3.9 KB
 
1/* $XFree86: xc/programs/Xserver/hw/xfree86/xf8_32bpp/cfb8_32.h,v 1.5 2000/03/02 02:32:52 mvojkovi Exp $ */
2
3#ifdef HAVE_XORG_CONFIG_H
4#include <xorg-config.h>
5#endif
6
7#ifndef _CFB8_32_H
8#define _CFB8_32_H
9
10#include "gcstruct.h"
11
12typedef struct {
13 GCOps *Ops8bpp;
14 GCOps *Ops32bpp;
15 unsigned long changes;
16 Bool OpsAre8bpp;
17} cfb8_32GCRec, *cfb8_32GCPtr;
18
19typedef struct {
20 unsigned char key;
21 void (*EnableDisableFBAccess)(int scrnIndex, Bool enable);
22 pointer visualData;
23} cfb8_32ScreenRec, *cfb8_32ScreenPtr;
24
25
26extern int cfb8_32GCPrivateIndex; /* XXX */
27extern int cfb8_32GetGCPrivateIndex(void);
28extern int cfb8_32ScreenPrivateIndex; /* XXX */
29extern int cfb8_32GetScreenPrivateIndex(void);
30
31void
32cfb8_32SaveAreas(
33 PixmapPtr pPixmap,
34 RegionPtr prgnSave,
35 int xorg,
36 int yorg,
37 WindowPtr pWin
38);
39
40void
41cfb8_32RestoreAreas(
42 PixmapPtr pPixmap,
43 RegionPtr prgnRestore,
44 int xorg,
45 int yorg,
46 WindowPtr pWin
47);
48
49RegionPtr
50cfb8_32CopyArea(
51 DrawablePtr pSrcDraw,
52 DrawablePtr pDstDraw,
53 GC *pGC,
54 int srcx, int srcy,
55 int width, int height,
56 int dstx, int dsty
57);
58
59void
60cfbDoBitblt8To32(
61 DrawablePtr pSrc,
62 DrawablePtr pDst,
63 int rop,
64 RegionPtr prgnDst,
65 DDXPointPtr pptSrc,
66 unsigned long planemask
67);
68
69void
70cfbDoBitblt32To8(
71 DrawablePtr pSrc,
72 DrawablePtr pDst,
73 int rop,
74 RegionPtr prgnDst,
75 DDXPointPtr pptSrc,
76 unsigned long planemask
77);
78
79
80void
81cfb8_32ValidateGC8(
82 GCPtr pGC,
83 unsigned long changes,
84 DrawablePtr pDrawable
85);
86
87void
88cfb8_32ValidateGC32(
89 GCPtr pGC,
90 unsigned long changes,
91 DrawablePtr pDrawable
92);
93
94void
95cfb32ValidateGC_Underlay(
96 GCPtr pGC,
97 unsigned long changes,
98 DrawablePtr pDrawable
99);
100
101Bool cfb8_32CreateGC(GCPtr pGC);
102
103void
104cfb8_32GetSpans(
105 DrawablePtr pDraw,
106 int wMax,
107 DDXPointPtr ppt,
108 int *pwidth,
109 int nspans,
110 char *pchardstStart
111);
112
113void
114cfb8_32PutImage (
115 DrawablePtr pDraw,
116 GCPtr pGC,
117 int depth,
118 int x, int y, int w, int h,
119 int leftPad,
120 int format,
121 char *pImage
122);
123
124void
125cfb8_32GetImage (
126 DrawablePtr pDraw,
127 int sx, int sy, int w, int h,
128 unsigned int format,
129 unsigned long planeMask,
130 char *pdstLine
131);
132
133void
134cfb8_32PaintWindow (
135 WindowPtr pWin,
136 RegionPtr pRegion,
137 int what
138);
139
140Bool
141cfb8_32ScreenInit (
142 ScreenPtr pScreen,
143 pointer pbits,
144 int xsize, int ysize,
145 int dpix, int dpiy,
146 int width
147);
148
149void
150cfb8_32FillBoxSolid8 (
151 DrawablePtr pDraw,
152 int nbox,
153 BoxPtr pBox,
154 unsigned long color
155);
156
157
158void
159cfb8_32FillBoxSolid32 (
160 DrawablePtr pDraw,
161 int nbox,
162 BoxPtr pBox,
163 unsigned long color
164);
165
166RegionPtr
167cfb8_32CopyPlane(
168 DrawablePtr pSrc,
169 DrawablePtr pDst,
170 GCPtr pGC,
171 int srcx, int srcy,
172 int width, int height,
173 int dstx, int dsty,
174 unsigned long bitPlane
175);
176
177void
178cfbDoBitblt8To8GXcopy(
179 DrawablePtr pSrc,
180 DrawablePtr pDst,
181 int rop,
182 RegionPtr prgnDst,
183 DDXPointPtr pptSrc,
184 unsigned long pm
185);
186
187void
188cfbDoBitblt24To24GXcopy(
189 DrawablePtr pSrc,
190 DrawablePtr pDst,
191 int rop,
192 RegionPtr prgnDst,
193 DDXPointPtr pptSrc,
194 unsigned long pm
195);
196
197Bool cfb8_32CreateWindow(WindowPtr pWin);
198Bool cfb8_32DestroyWindow(WindowPtr pWin);
199
200Bool
201cfb8_32PositionWindow(
202 WindowPtr pWin,
203 int x, int y
204);
205
206void
207cfb8_32CopyWindow(
208 WindowPtr pWin,
209 DDXPointRec ptOldOrg,
210 RegionPtr prgnSrc
211);
212
213Bool
214cfb8_32ChangeWindowAttributes(
215 WindowPtr pWin,
216 unsigned long mask
217);
218
219
220#define CFB8_32_GET_GC_PRIVATE(pGC)\
221 (cfb8_32GCPtr)((pGC)->devPrivates[cfb8_32GetGCPrivateIndex()].ptr)
222
223#define CFB8_32_GET_SCREEN_PRIVATE(pScreen)\
224 (cfb8_32ScreenPtr)((pScreen)->devPrivates[cfb8_32GetScreenPrivateIndex()].ptr)
225
226Bool xf86Overlay8Plus32Init (ScreenPtr pScreen);
227
228#endif /* _CFB8_32_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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