VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/cfbmap.h

Last change on this file was 51223, checked in by vboxsync, 11 years ago

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

  • Property svn:eol-style set to native
File size: 11.7 KB
Line 
1/*
2 * $Xorg: cfbmap.h,v 1.4 2001/02/09 02:04:38 xorgcvs Exp $
3 *
4Copyright 1991, 1998 The Open Group
5
6Permission to use, copy, modify, distribute, and sell this software and its
7documentation for any purpose is hereby granted without fee, provided that
8the above copyright notice appear in all copies and that both that
9copyright notice and this permission notice appear in supporting
10documentation.
11
12The above copyright notice and this permission notice shall be included in
13all copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
19AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
22Except as contained in this notice, the name of The Open Group shall not be
23used in advertising or otherwise to promote the sale, use or other dealings
24in this Software without prior written authorization from The Open Group.
25 *
26 * Author: Keith Packard, MIT X Consortium
27 */
28
29/* $XFree86: xc/programs/Xserver/cfb/cfbmap.h,v 3.11tsi Exp $ */
30
31/*
32 * Map names around so that multiple depths can be supported simultaneously
33 */
34
35#if 0
36#undef QuartetBitsTable
37#undef QuartetPixelMaskTable
38#undef cfb8ClippedLineCopy
39#undef cfb8ClippedLineGeneral
40#undef cfb8ClippedLineXor
41#undef cfb8LineSS1Rect
42#undef cfb8LineSS1RectCopy
43#undef cfb8LineSS1RectGeneral
44#undef cfb8LineSS1RectPreviousCopy
45#undef cfb8LineSS1RectXor
46#undef cfb8SegmentSS1Rect
47#undef cfb8SegmentSS1RectCopy
48#undef cfb8SegmentSS1RectGeneral
49#undef cfb8SegmentSS1RectShiftCopy
50#undef cfb8SegmentSS1RectXor
51#undef cfbAllocatePrivates
52#undef cfbBSFuncRec
53#undef cfbBitBlt
54#undef cfbBresD
55#undef cfbBresS
56#undef cfbChangeWindowAttributes
57#undef cfbCloseScreen
58#undef cfbCopyArea
59#undef cfbCopyImagePlane
60#undef cfbCopyPixmap
61#undef cfbCopyPlane
62#undef cfbCopyPlaneReduce
63#undef cfbCopyRotatePixmap
64#undef cfbCopyWindow
65#undef cfbCreateGC
66#undef cfbCreatePixmap
67#undef cfbCreateScreenResources
68#undef cfbCreateWindow
69#undef cfbDestroyPixmap
70#undef cfbDestroyWindow
71#undef cfbDoBitblt
72#undef cfbDoBitbltCopy
73#undef cfbDoBitbltGeneral
74#undef cfbDoBitbltOr
75#undef cfbDoBitbltXor
76#undef cfbFillBoxSolid
77#undef cfbFillBoxTile32
78#undef cfbFillBoxTile32sCopy
79#undef cfbFillBoxTile32sGeneral
80#undef cfbFillBoxTileOdd
81#undef cfbFillBoxTileOddCopy
82#undef cfbFillBoxTileOddGeneral
83#undef cfbFillPoly1RectCopy
84#undef cfbFillPoly1RectGeneral
85#undef cfbFillRectSolidCopy
86#undef cfbFillRectSolidGeneral
87#undef cfbFillRectSolidXor
88#undef cfbFillRectTile32Copy
89#undef cfbFillRectTile32General
90#undef cfbFillRectTileOdd
91#undef cfbFillSpanTile32sCopy
92#undef cfbFillSpanTile32sGeneral
93#undef cfbFillSpanTileOddCopy
94#undef cfbFillSpanTileOddGeneral
95#undef cfbFinishScreenInit
96#undef cfbGCFuncs
97#undef cfbGCPrivateIndex
98#undef cfbGetImage
99#undef cfbGetScreenPixmap
100#undef cfbGetSpans
101#undef cfbHorzS
102#undef cfbImageGlyphBlt8
103#undef cfbInitializeColormap
104#undef cfbInstallColormap
105#undef cfbLineSD
106#undef cfbLineSS
107#undef cfbListInstalledColormaps
108#undef cfbMapWindow
109#undef cfbMatchCommon
110#undef cfbNonTEOps
111#undef cfbNonTEOps1Rect
112#undef cfbPadPixmap
113#undef cfbPaintWindow
114#undef cfbPolyFillArcSolidCopy
115#undef cfbPolyFillArcSolidGeneral
116#undef cfbPolyFillRect
117#undef cfbPolyGlyphBlt8
118#undef cfbPolyGlyphRop8
119#undef cfbPolyPoint
120#undef cfbPositionWindow
121#undef cfbPutImage
122#undef cfbReduceRasterOp
123#undef cfbResolveColor
124#undef cfbRestoreAreas
125#undef cfbSaveAreas
126#undef cfbScreenInit
127#undef cfbScreenPrivateIndex
128#undef cfbSegmentSD
129#undef cfbSegmentSS
130#undef cfbSetScanline
131#undef cfbSetScreenPixmap
132#undef cfbSetSpans
133#undef cfbSetupScreen
134#undef cfbSolidSpansCopy
135#undef cfbSolidSpansGeneral
136#undef cfbSolidSpansXor
137#undef cfbStippleStack
138#undef cfbStippleStackTE
139#undef cfbTEGlyphBlt
140#undef cfbTEOps
141#undef cfbTEOps1Rect
142#undef cfbTile32FSCopy
143#undef cfbTile32FSGeneral
144#undef cfbUninstallColormap
145#undef cfbUnmapWindow
146#undef cfbUnnaturalStippleFS
147#undef cfbUnnaturalTileFS
148#undef cfbValidateGC
149#undef cfbVertS
150#undef cfbWindowPrivateIndex
151#undef cfbXRotatePixmap
152#undef cfbYRotatePixmap
153#undef cfbZeroPolyArcSS8Copy
154#undef cfbZeroPolyArcSS8General
155#undef cfbZeroPolyArcSS8Xor
156#undef cfbendpartial
157#undef cfbendtab
158#undef cfbmask
159#undef cfbrmask
160#undef cfbstartpartial
161#undef cfbstarttab
162#endif
163
164/* a losing vendor cpp dumps core if we define CFBNAME in terms of CATNAME */
165
166#if PSZ != 8
167
168#if PSZ == 32
169#if !defined(UNIXCPP) || defined(ANSICPP)
170#define CFBNAME(subname) cfb32##subname
171#else
172#define CFBNAME(subname) cfb32/**/subname
173#endif
174#endif
175
176#if PSZ == 24
177#if !defined(UNIXCPP) || defined(ANSICPP)
178#define CFBNAME(subname) cfb24##subname
179#else
180#define CFBNAME(subname) cfb24/**/subname
181#endif
182#endif
183
184#if PSZ == 16
185#if !defined(UNIXCPP) || defined(ANSICPP)
186#define CFBNAME(subname) cfb16##subname
187#else
188#define CFBNAME(subname) cfb16/**/subname
189#endif
190#endif
191
192#if PSZ == 4
193#if !defined(UNIXCPP) || defined(ANSICPP)
194#define CFBNAME(subname) cfb4##subname
195#else
196#define CFBNAME(subname) cfb4/**/subname
197#endif
198#endif
199
200#ifndef CFBNAME
201cfb can not hack PSZ yet
202#endif
203
204#undef CATNAME
205
206#if !defined(UNIXCPP) || defined(ANSICPP)
207#define CATNAME(prefix,subname) prefix##subname
208#else
209#define CATNAME(prefix,subname) prefix/**/subname
210#endif
211
212#define QuartetBitsTable CFBNAME(QuartetBitsTable)
213#define QuartetPixelMaskTable CFBNAME(QuartetPixelMaskTable)
214#define cfb8ClippedLineCopy CFBNAME(ClippedLineCopy)
215#define cfb8ClippedLineGeneral CFBNAME(ClippedLineGeneral )
216#define cfb8ClippedLineXor CFBNAME(ClippedLineXor)
217#define cfb8LineSS1Rect CFBNAME(LineSS1Rect)
218#define cfb8LineSS1RectCopy CFBNAME(LineSS1RectCopy)
219#define cfb8LineSS1RectGeneral CFBNAME(LineSS1RectGeneral )
220#define cfb8LineSS1RectPreviousCopy CFBNAME(LineSS1RectPreviousCopy)
221#define cfb8LineSS1RectXor CFBNAME(LineSS1RectXor)
222#define cfb8SegmentSS1Rect CFBNAME(SegmentSS1Rect)
223#define cfb8SegmentSS1RectCopy CFBNAME(SegmentSS1RectCopy)
224#define cfb8SegmentSS1RectGeneral CFBNAME(SegmentSS1RectGeneral )
225#define cfb8SegmentSS1RectShiftCopy CFBNAME(SegmentSS1RectShiftCopy)
226#define cfb8SegmentSS1RectXor CFBNAME(SegmentSS1RectXor)
227#define cfbAllocatePrivates CFBNAME(AllocatePrivates)
228#define cfbBSFuncRec CFBNAME(BSFuncRec)
229#define cfbBitBlt CFBNAME(BitBlt)
230#define cfbBresD CFBNAME(BresD)
231#define cfbBresS CFBNAME(BresS)
232#define cfbChangeWindowAttributes CFBNAME(ChangeWindowAttributes)
233#define cfbClearVisualTypes CFBNAME(cfbClearVisualTypes)
234#define cfbCloseScreen CFBNAME(CloseScreen)
235#define cfbCreateDefColormap CFBNAME (cfbCreateDefColormap)
236#define cfbCopyArea CFBNAME(CopyArea)
237#define cfbCopyImagePlane CFBNAME(CopyImagePlane)
238#define cfbCopyPixmap CFBNAME(CopyPixmap)
239#define cfbCopyPlane CFBNAME(CopyPlane)
240#define cfbCopyPlaneReduce CFBNAME(CopyPlaneReduce)
241#define cfbCopyRotatePixmap CFBNAME(CopyRotatePixmap)
242#define cfbCopyWindow CFBNAME(CopyWindow)
243#define cfbCreateGC CFBNAME(CreateGC)
244#define cfbCreatePixmap CFBNAME(CreatePixmap)
245#define cfbCreateScreenResources CFBNAME(CreateScreenResources)
246#define cfbCreateWindow CFBNAME(CreateWindow)
247#define cfbDestroyPixmap CFBNAME(DestroyPixmap)
248#define cfbDestroyWindow CFBNAME(DestroyWindow)
249#define cfbDoBitblt CFBNAME(DoBitblt)
250#define cfbDoBitbltCopy CFBNAME(DoBitbltCopy)
251#define cfbDoBitbltGeneral CFBNAME(DoBitbltGeneral)
252#define cfbDoBitbltOr CFBNAME(DoBitbltOr)
253#define cfbDoBitbltXor CFBNAME(DoBitbltXor)
254#define cfbExpandDirectColors CFBNAME(cfbExpandDirectColors)
255#define cfbFillBoxSolid CFBNAME(FillBoxSolid)
256#define cfbFillBoxTile32 CFBNAME(FillBoxTile32)
257#define cfbFillBoxTile32sCopy CFBNAME(FillBoxTile32sCopy)
258#define cfbFillBoxTile32sGeneral CFBNAME(FillBoxTile32sGeneral)
259#define cfbFillBoxTileOdd CFBNAME(FillBoxTileOdd)
260#define cfbFillBoxTileOddCopy CFBNAME(FillBoxTileOddCopy)
261#define cfbFillBoxTileOddGeneral CFBNAME(FillBoxTileOddGeneral)
262#define cfbFillPoly1RectCopy CFBNAME(FillPoly1RectCopy)
263#define cfbFillPoly1RectGeneral CFBNAME(FillPoly1RectGeneral)
264#define cfbFillRectSolidCopy CFBNAME(FillRectSolidCopy)
265#define cfbFillRectSolidGeneral CFBNAME(FillRectSolidGeneral)
266#define cfbFillRectSolidXor CFBNAME(FillRectSolidXor)
267#define cfbFillRectTile32Copy CFBNAME(FillRectTile32Copy)
268#define cfbFillRectTile32General CFBNAME(FillRectTile32General)
269#define cfbFillRectTileOdd CFBNAME(FillRectTileOdd)
270#define cfbFillSpanTile32sCopy CFBNAME(FillSpanTile32sCopy)
271#define cfbFillSpanTile32sGeneral CFBNAME(FillSpanTile32sGeneral)
272#define cfbFillSpanTileOddCopy CFBNAME(FillSpanTileOddCopy)
273#define cfbFillSpanTileOddGeneral CFBNAME(FillSpanTileOddGeneral)
274#define cfbFinishScreenInit CFBNAME(FinishScreenInit)
275#define cfbGCFuncs CFBNAME(GCFuncs)
276#define cfbGCPrivateIndex CFBNAME(GCPrivateIndex)
277#define cfbGetImage CFBNAME(GetImage)
278#define cfbGetScreenPixmap CFBNAME(GetScreenPixmap)
279#define cfbGetSpans CFBNAME(GetSpans)
280#define cfbHorzS CFBNAME(HorzS)
281#define cfbImageGlyphBlt8 CFBNAME(ImageGlyphBlt8)
282#define cfbInitializeColormap CFBNAME(InitializeColormap)
283#define cfbInitVisuals CFBNAME(cfbInitVisuals)
284#define cfbInstallColormap CFBNAME(InstallColormap)
285#define cfbLineSD CFBNAME(LineSD)
286#define cfbLineSS CFBNAME(LineSS)
287#define cfbListInstalledColormaps CFBNAME(ListInstalledColormaps)
288#define cfbMapWindow CFBNAME(MapWindow)
289#define cfbMatchCommon CFBNAME(MatchCommon)
290#define cfbNonTEOps CFBNAME(NonTEOps)
291#define cfbNonTEOps1Rect CFBNAME(NonTEOps1Rect)
292#define cfbPadPixmap CFBNAME(PadPixmap)
293#define cfbPaintWindow CFBNAME(PaintWindow)
294#define cfbPolyFillArcSolidCopy CFBNAME(PolyFillArcSolidCopy)
295#define cfbPolyFillArcSolidGeneral CFBNAME(PolyFillArcSolidGeneral)
296#define cfbPolyFillRect CFBNAME(PolyFillRect)
297#define cfbPolyGlyphBlt8 CFBNAME(PolyGlyphBlt8)
298#define cfbPolyGlyphRop8 CFBNAME(PolyGlyphRop8)
299#define cfbPolyPoint CFBNAME(PolyPoint)
300#define cfbPositionWindow CFBNAME(PositionWindow)
301#define cfbPutImage CFBNAME(PutImage)
302#define cfbReduceRasterOp CFBNAME(ReduceRasterOp)
303#define cfbResolveColor CFBNAME(ResolveColor)
304#define cfbRestoreAreas CFBNAME(RestoreAreas)
305#define cfbSaveAreas CFBNAME(SaveAreas)
306#define cfbScreenInit CFBNAME(ScreenInit)
307#define cfbScreenPrivateIndex CFBNAME(ScreenPrivateIndex)
308#define cfbSegmentSD CFBNAME(SegmentSD)
309#define cfbSegmentSS CFBNAME(SegmentSS)
310#define cfbSetScanline CFBNAME(SetScanline)
311#define cfbSetScreenPixmap CFBNAME(SetScreenPixmap)
312#define cfbSetSpans CFBNAME(SetSpans)
313#define cfbSetVisualTypes CFBNAME(cfbSetVisualTypes)
314#define cfbSetupScreen CFBNAME(SetupScreen)
315#define cfbSolidSpansCopy CFBNAME(SolidSpansCopy)
316#define cfbSolidSpansGeneral CFBNAME(SolidSpansGeneral)
317#define cfbSolidSpansXor CFBNAME(SolidSpansXor)
318#define cfbStippleStack CFBNAME(StippleStack)
319#define cfbStippleStackTE CFBNAME(StippleStackTE)
320#define cfbTEGlyphBlt CFBNAME(TEGlyphBlt)
321#define cfbTEOps CFBNAME(TEOps)
322#define cfbTEOps1Rect CFBNAME(TEOps1Rect)
323#define cfbTile32FSCopy CFBNAME(Tile32FSCopy)
324#define cfbTile32FSGeneral CFBNAME(Tile32FSGeneral)
325#define cfbUninstallColormap CFBNAME(UninstallColormap)
326#define cfbUnmapWindow CFBNAME(UnmapWindow)
327#define cfbUnnaturalStippleFS CFBNAME(UnnaturalStippleFS)
328#define cfbUnnaturalTileFS CFBNAME(UnnaturalTileFS)
329#define cfbValidateGC CFBNAME(ValidateGC)
330#define cfbVertS CFBNAME(VertS)
331#define cfbWindowPrivateIndex CFBNAME(WindowPrivateIndex)
332#define cfbXRotatePixmap CFBNAME(XRotatePixmap)
333#define cfbYRotatePixmap CFBNAME(YRotatePixmap)
334#define cfbZeroPolyArcSS8Copy CFBNAME(ZeroPolyArcSSCopy)
335#define cfbZeroPolyArcSS8General CFBNAME(ZeroPolyArcSSGeneral)
336#define cfbZeroPolyArcSS8Xor CFBNAME(ZeroPolyArcSSXor)
337#define cfbendpartial CFBNAME(endpartial)
338#define cfbendtab CFBNAME(endtab)
339#define cfbmask CFBNAME(mask)
340#define cfbrmask CFBNAME(rmask)
341#define cfbstartpartial CFBNAME(startpartial)
342#define cfbstarttab CFBNAME(starttab)
343
344#endif /* PSZ != 8 */
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