VirtualBox

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

Last change on this file since 99743 was 17471, checked in by vboxsync, 16 years ago

export to OSE

  • Property svn:eol-style set to native
File size: 3.2 KB
Line 
1
2#ifdef HAVE_XORG_CONFIG_H
3#include <xorg-config.h>
4#endif
5
6#ifndef _CFB8_32_H
7#define _CFB8_32_H
8
9#include "gcstruct.h"
10
11typedef struct {
12 GCOps *Ops8bpp;
13 GCOps *Ops32bpp;
14 unsigned long changes;
15 Bool OpsAre8bpp;
16} cfb8_32GCRec, *cfb8_32GCPtr;
17
18typedef struct {
19 unsigned char key;
20 void (*EnableDisableFBAccess)(int scrnIndex, Bool enable);
21 pointer visualData;
22} cfb8_32ScreenRec, *cfb8_32ScreenPtr;
23
24
25extern DevPrivateKey cfb8_32GetGCPrivateKey(void);
26extern DevPrivateKey cfb8_32GetScreenPrivateKey(void);
27
28RegionPtr
29cfb8_32CopyArea(
30 DrawablePtr pSrcDraw,
31 DrawablePtr pDstDraw,
32 GC *pGC,
33 int srcx, int srcy,
34 int width, int height,
35 int dstx, int dsty
36);
37
38void
39cfbDoBitblt8To32(
40 DrawablePtr pSrc,
41 DrawablePtr pDst,
42 int rop,
43 RegionPtr prgnDst,
44 DDXPointPtr pptSrc,
45 unsigned long planemask
46);
47
48void
49cfbDoBitblt32To8(
50 DrawablePtr pSrc,
51 DrawablePtr pDst,
52 int rop,
53 RegionPtr prgnDst,
54 DDXPointPtr pptSrc,
55 unsigned long planemask
56);
57
58
59void
60cfb8_32ValidateGC8(
61 GCPtr pGC,
62 unsigned long changes,
63 DrawablePtr pDrawable
64);
65
66void
67cfb8_32ValidateGC32(
68 GCPtr pGC,
69 unsigned long changes,
70 DrawablePtr pDrawable
71);
72
73void
74cfb32ValidateGC_Underlay(
75 GCPtr pGC,
76 unsigned long changes,
77 DrawablePtr pDrawable
78);
79
80Bool cfb8_32CreateGC(GCPtr pGC);
81
82void
83cfb8_32GetSpans(
84 DrawablePtr pDraw,
85 int wMax,
86 DDXPointPtr ppt,
87 int *pwidth,
88 int nspans,
89 char *pchardstStart
90);
91
92void
93cfb8_32PutImage (
94 DrawablePtr pDraw,
95 GCPtr pGC,
96 int depth,
97 int x, int y, int w, int h,
98 int leftPad,
99 int format,
100 char *pImage
101);
102
103void
104cfb8_32GetImage (
105 DrawablePtr pDraw,
106 int sx, int sy, int w, int h,
107 unsigned int format,
108 unsigned long planeMask,
109 char *pdstLine
110);
111
112Bool
113cfb8_32ScreenInit (
114 ScreenPtr pScreen,
115 pointer pbits,
116 int xsize, int ysize,
117 int dpix, int dpiy,
118 int width
119);
120
121void
122cfb8_32FillBoxSolid8 (
123 DrawablePtr pDraw,
124 int nbox,
125 BoxPtr pBox,
126 unsigned long color
127);
128
129RegionPtr
130cfb8_32CopyPlane(
131 DrawablePtr pSrc,
132 DrawablePtr pDst,
133 GCPtr pGC,
134 int srcx, int srcy,
135 int width, int height,
136 int dstx, int dsty,
137 unsigned long bitPlane
138);
139
140void
141cfbDoBitblt8To8GXcopy(
142 DrawablePtr pSrc,
143 DrawablePtr pDst,
144 int rop,
145 RegionPtr prgnDst,
146 DDXPointPtr pptSrc,
147 unsigned long pm
148);
149
150void
151cfbDoBitblt24To24GXcopy(
152 DrawablePtr pSrc,
153 DrawablePtr pDst,
154 int rop,
155 RegionPtr prgnDst,
156 DDXPointPtr pptSrc,
157 unsigned long pm
158);
159
160Bool cfb8_32CreateWindow(WindowPtr pWin);
161Bool cfb8_32DestroyWindow(WindowPtr pWin);
162
163Bool
164cfb8_32PositionWindow(
165 WindowPtr pWin,
166 int x, int y
167);
168
169void
170cfb8_32CopyWindow(
171 WindowPtr pWin,
172 DDXPointRec ptOldOrg,
173 RegionPtr prgnSrc
174);
175
176Bool
177cfb8_32ChangeWindowAttributes(
178 WindowPtr pWin,
179 unsigned long mask
180);
181
182
183#define CFB8_32_GET_GC_PRIVATE(pGC) ((cfb8_32GCPtr) \
184 dixLookupPrivate(&(pGC)->devPrivates, cfb8_32GetGCPrivateKey()))
185
186#define CFB8_32_GET_SCREEN_PRIVATE(pScreen) ((cfb8_32ScreenPtr) \
187 dixLookupPrivate(&(pScreen)->devPrivates, cfb8_32GetScreenPrivateKey()))
188
189Bool xf86Overlay8Plus32Init (ScreenPtr pScreen);
190
191#endif /* _CFB8_32_H */
Note: See TracBrowser for help on using the repository browser.

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