VirtualBox

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

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

export to OSE

  • Property svn:eol-style set to native
File size: 8.4 KB
Line 
1/*
2 *
3Copyright 1991, 1998 The Open Group
4
5Permission to use, copy, modify, distribute, and sell this software and its
6documentation for any purpose is hereby granted without fee, provided that
7the above copyright notice appear in all copies and that both that
8copyright notice and this permission notice appear in supporting
9documentation.
10
11The above copyright notice and this permission notice shall be included in
12all copies or substantial portions of the Software.
13
14THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
21Except as contained in this notice, the name of The Open Group shall not be
22used in advertising or otherwise to promote the sale, use or other dealings
23in this Software without prior written authorization from The Open Group.
24 *
25 * Author: Keith Packard, MIT X Consortium
26 */
27
28
29/*
30 * Map names around so that multiple depths can be supported simultaneously
31 */
32
33/* a losing vendor cpp dumps core if we define CFBNAME in terms of CATNAME */
34
35#if PSZ != 8
36
37#if PSZ == 32
38#if !defined(UNIXCPP) || defined(ANSICPP)
39#define CFBNAME(subname) cfb32##subname
40#else
41#define CFBNAME(subname) cfb32/**/subname
42#endif
43#endif
44
45#if PSZ == 24
46#if !defined(UNIXCPP) || defined(ANSICPP)
47#define CFBNAME(subname) cfb24##subname
48#else
49#define CFBNAME(subname) cfb24/**/subname
50#endif
51#endif
52
53#if PSZ == 16
54#if !defined(UNIXCPP) || defined(ANSICPP)
55#define CFBNAME(subname) cfb16##subname
56#else
57#define CFBNAME(subname) cfb16/**/subname
58#endif
59#endif
60
61#if PSZ == 4
62#if !defined(UNIXCPP) || defined(ANSICPP)
63#define CFBNAME(subname) cfb4##subname
64#else
65#define CFBNAME(subname) cfb4/**/subname
66#endif
67#endif
68
69#ifndef CFBNAME
70cfb can not hack PSZ yet
71#endif
72
73#undef CATNAME
74
75#if !defined(UNIXCPP) || defined(ANSICPP)
76#define CATNAME(prefix,subname) prefix##subname
77#else
78#define CATNAME(prefix,subname) prefix/**/subname
79#endif
80
81#define QuartetBitsTable CFBNAME(QuartetBitsTable)
82#define QuartetPixelMaskTable CFBNAME(QuartetPixelMaskTable)
83#define cfb8ClippedLineCopy CFBNAME(ClippedLineCopy)
84#define cfb8ClippedLineGeneral CFBNAME(ClippedLineGeneral )
85#define cfb8ClippedLineXor CFBNAME(ClippedLineXor)
86#define cfb8LineSS1Rect CFBNAME(LineSS1Rect)
87#define cfb8LineSS1RectCopy CFBNAME(LineSS1RectCopy)
88#define cfb8LineSS1RectGeneral CFBNAME(LineSS1RectGeneral )
89#define cfb8LineSS1RectPreviousCopy CFBNAME(LineSS1RectPreviousCopy)
90#define cfb8LineSS1RectXor CFBNAME(LineSS1RectXor)
91#define cfb8SegmentSS1Rect CFBNAME(SegmentSS1Rect)
92#define cfb8SegmentSS1RectCopy CFBNAME(SegmentSS1RectCopy)
93#define cfb8SegmentSS1RectGeneral CFBNAME(SegmentSS1RectGeneral )
94#define cfb8SegmentSS1RectShiftCopy CFBNAME(SegmentSS1RectShiftCopy)
95#define cfb8SegmentSS1RectXor CFBNAME(SegmentSS1RectXor)
96#define cfbAllocatePrivates CFBNAME(AllocatePrivates)
97#define cfbBSFuncRec CFBNAME(BSFuncRec)
98#define cfbBitBlt CFBNAME(BitBlt)
99#define cfbBresD CFBNAME(BresD)
100#define cfbBresS CFBNAME(BresS)
101#define cfbChangeWindowAttributes CFBNAME(ChangeWindowAttributes)
102#define cfbClearVisualTypes CFBNAME(cfbClearVisualTypes)
103#define cfbCloseScreen CFBNAME(CloseScreen)
104#define cfbCreateDefColormap CFBNAME (cfbCreateDefColormap)
105#define cfbCopyArea CFBNAME(CopyArea)
106#define cfbCopyImagePlane CFBNAME(CopyImagePlane)
107#define cfbCopyPixmap CFBNAME(CopyPixmap)
108#define cfbCopyPlane CFBNAME(CopyPlane)
109#define cfbCopyPlaneReduce CFBNAME(CopyPlaneReduce)
110#define cfbCopyRotatePixmap CFBNAME(CopyRotatePixmap)
111#define cfbCopyWindow CFBNAME(CopyWindow)
112#define cfbCreateGC CFBNAME(CreateGC)
113#define cfbCreatePixmap CFBNAME(CreatePixmap)
114#define cfbCreateScreenResources CFBNAME(CreateScreenResources)
115#define cfbCreateWindow CFBNAME(CreateWindow)
116#define cfbDestroyPixmap CFBNAME(DestroyPixmap)
117#define cfbDestroyWindow CFBNAME(DestroyWindow)
118#define cfbDoBitblt CFBNAME(DoBitblt)
119#define cfbDoBitbltCopy CFBNAME(DoBitbltCopy)
120#define cfbDoBitbltGeneral CFBNAME(DoBitbltGeneral)
121#define cfbDoBitbltOr CFBNAME(DoBitbltOr)
122#define cfbDoBitbltXor CFBNAME(DoBitbltXor)
123#define cfbExpandDirectColors CFBNAME(cfbExpandDirectColors)
124#define cfbFillBoxTile32sCopy CFBNAME(FillBoxTile32sCopy)
125#define cfbFillBoxTile32sGeneral CFBNAME(FillBoxTile32sGeneral)
126#define cfbFillBoxTileOdd CFBNAME(FillBoxTileOdd)
127#define cfbFillBoxTileOddCopy CFBNAME(FillBoxTileOddCopy)
128#define cfbFillBoxTileOddGeneral CFBNAME(FillBoxTileOddGeneral)
129#define cfbFillPoly1RectCopy CFBNAME(FillPoly1RectCopy)
130#define cfbFillPoly1RectGeneral CFBNAME(FillPoly1RectGeneral)
131#define cfbFillRectSolidCopy CFBNAME(FillRectSolidCopy)
132#define cfbFillRectSolidGeneral CFBNAME(FillRectSolidGeneral)
133#define cfbFillRectSolidXor CFBNAME(FillRectSolidXor)
134#define cfbFillRectTile32Copy CFBNAME(FillRectTile32Copy)
135#define cfbFillRectTile32General CFBNAME(FillRectTile32General)
136#define cfbFillRectTileOdd CFBNAME(FillRectTileOdd)
137#define cfbFillSpanTile32sCopy CFBNAME(FillSpanTile32sCopy)
138#define cfbFillSpanTile32sGeneral CFBNAME(FillSpanTile32sGeneral)
139#define cfbFillSpanTileOddCopy CFBNAME(FillSpanTileOddCopy)
140#define cfbFillSpanTileOddGeneral CFBNAME(FillSpanTileOddGeneral)
141#define cfbFinishScreenInit CFBNAME(FinishScreenInit)
142#define cfbGCFuncs CFBNAME(GCFuncs)
143#define cfbGCPrivateKey CFBNAME(GCPrivateKey)
144#define cfbGetImage CFBNAME(GetImage)
145#define cfbGetScreenPixmap CFBNAME(GetScreenPixmap)
146#define cfbGetSpans CFBNAME(GetSpans)
147#define cfbHorzS CFBNAME(HorzS)
148#define cfbImageGlyphBlt8 CFBNAME(ImageGlyphBlt8)
149#define cfbInitializeColormap CFBNAME(InitializeColormap)
150#define cfbInitVisuals CFBNAME(cfbInitVisuals)
151#define cfbInstallColormap CFBNAME(InstallColormap)
152#define cfbLineSD CFBNAME(LineSD)
153#define cfbLineSS CFBNAME(LineSS)
154#define cfbListInstalledColormaps CFBNAME(ListInstalledColormaps)
155#define cfbMapWindow CFBNAME(MapWindow)
156#define cfbMatchCommon CFBNAME(MatchCommon)
157#define cfbNonTEOps CFBNAME(NonTEOps)
158#define cfbNonTEOps1Rect CFBNAME(NonTEOps1Rect)
159#define cfbPadPixmap CFBNAME(PadPixmap)
160#define cfbPolyFillArcSolidCopy CFBNAME(PolyFillArcSolidCopy)
161#define cfbPolyFillArcSolidGeneral CFBNAME(PolyFillArcSolidGeneral)
162#define cfbPolyFillRect CFBNAME(PolyFillRect)
163#define cfbPolyGlyphBlt8 CFBNAME(PolyGlyphBlt8)
164#define cfbPolyGlyphRop8 CFBNAME(PolyGlyphRop8)
165#define cfbPolyPoint CFBNAME(PolyPoint)
166#define cfbPositionWindow CFBNAME(PositionWindow)
167#define cfbPutImage CFBNAME(PutImage)
168#define cfbReduceRasterOp CFBNAME(ReduceRasterOp)
169#define cfbResolveColor CFBNAME(ResolveColor)
170#define cfbRestoreAreas CFBNAME(RestoreAreas)
171#define cfbSaveAreas CFBNAME(SaveAreas)
172#define cfbScreenInit CFBNAME(ScreenInit)
173#define cfbScreenPrivateKey CFBNAME(ScreenPrivateKey)
174#define cfbSegmentSD CFBNAME(SegmentSD)
175#define cfbSegmentSS CFBNAME(SegmentSS)
176#define cfbSetScanline CFBNAME(SetScanline)
177#define cfbSetScreenPixmap CFBNAME(SetScreenPixmap)
178#define cfbSetSpans CFBNAME(SetSpans)
179#define cfbSetVisualTypes CFBNAME(cfbSetVisualTypes)
180#define cfbSetupScreen CFBNAME(SetupScreen)
181#define cfbSolidSpansCopy CFBNAME(SolidSpansCopy)
182#define cfbSolidSpansGeneral CFBNAME(SolidSpansGeneral)
183#define cfbSolidSpansXor CFBNAME(SolidSpansXor)
184#define cfbStippleStack CFBNAME(StippleStack)
185#define cfbStippleStackTE CFBNAME(StippleStackTE)
186#define cfbTEGlyphBlt CFBNAME(TEGlyphBlt)
187#define cfbTEOps CFBNAME(TEOps)
188#define cfbTEOps1Rect CFBNAME(TEOps1Rect)
189#define cfbTile32FSCopy CFBNAME(Tile32FSCopy)
190#define cfbTile32FSGeneral CFBNAME(Tile32FSGeneral)
191#define cfbUninstallColormap CFBNAME(UninstallColormap)
192#define cfbUnmapWindow CFBNAME(UnmapWindow)
193#define cfbUnnaturalStippleFS CFBNAME(UnnaturalStippleFS)
194#define cfbUnnaturalTileFS CFBNAME(UnnaturalTileFS)
195#define cfbValidateGC CFBNAME(ValidateGC)
196#define cfbVertS CFBNAME(VertS)
197#define cfbWindowPrivateKey CFBNAME(WindowPrivateKey)
198#define cfbXRotatePixmap CFBNAME(XRotatePixmap)
199#define cfbYRotatePixmap CFBNAME(YRotatePixmap)
200#define cfbZeroPolyArcSS8Copy CFBNAME(ZeroPolyArcSSCopy)
201#define cfbZeroPolyArcSS8General CFBNAME(ZeroPolyArcSSGeneral)
202#define cfbZeroPolyArcSS8Xor CFBNAME(ZeroPolyArcSSXor)
203#define cfbendpartial CFBNAME(endpartial)
204#define cfbendtab CFBNAME(endtab)
205#define cfbmask CFBNAME(mask)
206#define cfbrmask CFBNAME(rmask)
207#define cfbstartpartial CFBNAME(startpartial)
208#define cfbstarttab CFBNAME(starttab)
209
210#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