VirtualBox

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

Last change on this file since 81043 was 43272, checked in by vboxsync, 12 years ago

Additions/x11: more original X server headers.

  • Property svn:eol-style set to native
File size: 11.5 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#if 0
34#undef QuartetBitsTable
35#undef QuartetPixelMaskTable
36#undef cfb8ClippedLineCopy
37#undef cfb8ClippedLineGeneral
38#undef cfb8ClippedLineXor
39#undef cfb8LineSS1Rect
40#undef cfb8LineSS1RectCopy
41#undef cfb8LineSS1RectGeneral
42#undef cfb8LineSS1RectPreviousCopy
43#undef cfb8LineSS1RectXor
44#undef cfb8SegmentSS1Rect
45#undef cfb8SegmentSS1RectCopy
46#undef cfb8SegmentSS1RectGeneral
47#undef cfb8SegmentSS1RectShiftCopy
48#undef cfb8SegmentSS1RectXor
49#undef cfbAllocatePrivates
50#undef cfbBSFuncRec
51#undef cfbBitBlt
52#undef cfbBresD
53#undef cfbBresS
54#undef cfbChangeWindowAttributes
55#undef cfbCloseScreen
56#undef cfbCopyArea
57#undef cfbCopyImagePlane
58#undef cfbCopyPixmap
59#undef cfbCopyPlane
60#undef cfbCopyPlaneReduce
61#undef cfbCopyRotatePixmap
62#undef cfbCopyWindow
63#undef cfbCreateGC
64#undef cfbCreatePixmap
65#undef cfbCreateScreenResources
66#undef cfbCreateWindow
67#undef cfbDestroyPixmap
68#undef cfbDestroyWindow
69#undef cfbDoBitblt
70#undef cfbDoBitbltCopy
71#undef cfbDoBitbltGeneral
72#undef cfbDoBitbltOr
73#undef cfbDoBitbltXor
74#undef cfbFillBoxSolid
75#undef cfbFillBoxTile32
76#undef cfbFillBoxTile32sCopy
77#undef cfbFillBoxTile32sGeneral
78#undef cfbFillBoxTileOdd
79#undef cfbFillBoxTileOddCopy
80#undef cfbFillBoxTileOddGeneral
81#undef cfbFillPoly1RectCopy
82#undef cfbFillPoly1RectGeneral
83#undef cfbFillRectSolidCopy
84#undef cfbFillRectSolidGeneral
85#undef cfbFillRectSolidXor
86#undef cfbFillRectTile32Copy
87#undef cfbFillRectTile32General
88#undef cfbFillRectTileOdd
89#undef cfbFillSpanTile32sCopy
90#undef cfbFillSpanTile32sGeneral
91#undef cfbFillSpanTileOddCopy
92#undef cfbFillSpanTileOddGeneral
93#undef cfbFinishScreenInit
94#undef cfbGCFuncs
95#undef cfbGCPrivateIndex
96#undef cfbGetImage
97#undef cfbGetScreenPixmap
98#undef cfbGetSpans
99#undef cfbHorzS
100#undef cfbImageGlyphBlt8
101#undef cfbInitializeColormap
102#undef cfbInstallColormap
103#undef cfbLineSD
104#undef cfbLineSS
105#undef cfbListInstalledColormaps
106#undef cfbMapWindow
107#undef cfbMatchCommon
108#undef cfbNonTEOps
109#undef cfbNonTEOps1Rect
110#undef cfbPadPixmap
111#undef cfbPaintWindow
112#undef cfbPolyFillArcSolidCopy
113#undef cfbPolyFillArcSolidGeneral
114#undef cfbPolyFillRect
115#undef cfbPolyGlyphBlt8
116#undef cfbPolyGlyphRop8
117#undef cfbPolyPoint
118#undef cfbPositionWindow
119#undef cfbPutImage
120#undef cfbReduceRasterOp
121#undef cfbResolveColor
122#undef cfbRestoreAreas
123#undef cfbSaveAreas
124#undef cfbScreenInit
125#undef cfbScreenPrivateIndex
126#undef cfbSegmentSD
127#undef cfbSegmentSS
128#undef cfbSetScanline
129#undef cfbSetScreenPixmap
130#undef cfbSetSpans
131#undef cfbSetupScreen
132#undef cfbSolidSpansCopy
133#undef cfbSolidSpansGeneral
134#undef cfbSolidSpansXor
135#undef cfbStippleStack
136#undef cfbStippleStackTE
137#undef cfbTEGlyphBlt
138#undef cfbTEOps
139#undef cfbTEOps1Rect
140#undef cfbTile32FSCopy
141#undef cfbTile32FSGeneral
142#undef cfbUninstallColormap
143#undef cfbUnmapWindow
144#undef cfbUnnaturalStippleFS
145#undef cfbUnnaturalTileFS
146#undef cfbValidateGC
147#undef cfbVertS
148#undef cfbWindowPrivateIndex
149#undef cfbXRotatePixmap
150#undef cfbYRotatePixmap
151#undef cfbZeroPolyArcSS8Copy
152#undef cfbZeroPolyArcSS8General
153#undef cfbZeroPolyArcSS8Xor
154#undef cfbendpartial
155#undef cfbendtab
156#undef cfbmask
157#undef cfbrmask
158#undef cfbstartpartial
159#undef cfbstarttab
160#endif
161
162/* a losing vendor cpp dumps core if we define CFBNAME in terms of CATNAME */
163
164#if PSZ != 8
165
166#if PSZ == 32
167#if !defined(UNIXCPP) || defined(ANSICPP)
168#define CFBNAME(subname) cfb32##subname
169#else
170#define CFBNAME(subname) cfb32/**/subname
171#endif
172#endif
173
174#if PSZ == 24
175#if !defined(UNIXCPP) || defined(ANSICPP)
176#define CFBNAME(subname) cfb24##subname
177#else
178#define CFBNAME(subname) cfb24/**/subname
179#endif
180#endif
181
182#if PSZ == 16
183#if !defined(UNIXCPP) || defined(ANSICPP)
184#define CFBNAME(subname) cfb16##subname
185#else
186#define CFBNAME(subname) cfb16/**/subname
187#endif
188#endif
189
190#if PSZ == 4
191#if !defined(UNIXCPP) || defined(ANSICPP)
192#define CFBNAME(subname) cfb4##subname
193#else
194#define CFBNAME(subname) cfb4/**/subname
195#endif
196#endif
197
198#ifndef CFBNAME
199cfb can not hack PSZ yet
200#endif
201
202#undef CATNAME
203
204#if !defined(UNIXCPP) || defined(ANSICPP)
205#define CATNAME(prefix,subname) prefix##subname
206#else
207#define CATNAME(prefix,subname) prefix/**/subname
208#endif
209
210#define QuartetBitsTable CFBNAME(QuartetBitsTable)
211#define QuartetPixelMaskTable CFBNAME(QuartetPixelMaskTable)
212#define cfb8ClippedLineCopy CFBNAME(ClippedLineCopy)
213#define cfb8ClippedLineGeneral CFBNAME(ClippedLineGeneral )
214#define cfb8ClippedLineXor CFBNAME(ClippedLineXor)
215#define cfb8LineSS1Rect CFBNAME(LineSS1Rect)
216#define cfb8LineSS1RectCopy CFBNAME(LineSS1RectCopy)
217#define cfb8LineSS1RectGeneral CFBNAME(LineSS1RectGeneral )
218#define cfb8LineSS1RectPreviousCopy CFBNAME(LineSS1RectPreviousCopy)
219#define cfb8LineSS1RectXor CFBNAME(LineSS1RectXor)
220#define cfb8SegmentSS1Rect CFBNAME(SegmentSS1Rect)
221#define cfb8SegmentSS1RectCopy CFBNAME(SegmentSS1RectCopy)
222#define cfb8SegmentSS1RectGeneral CFBNAME(SegmentSS1RectGeneral )
223#define cfb8SegmentSS1RectShiftCopy CFBNAME(SegmentSS1RectShiftCopy)
224#define cfb8SegmentSS1RectXor CFBNAME(SegmentSS1RectXor)
225#define cfbAllocatePrivates CFBNAME(AllocatePrivates)
226#define cfbBSFuncRec CFBNAME(BSFuncRec)
227#define cfbBitBlt CFBNAME(BitBlt)
228#define cfbBresD CFBNAME(BresD)
229#define cfbBresS CFBNAME(BresS)
230#define cfbChangeWindowAttributes CFBNAME(ChangeWindowAttributes)
231#define cfbClearVisualTypes CFBNAME(cfbClearVisualTypes)
232#define cfbCloseScreen CFBNAME(CloseScreen)
233#define cfbCreateDefColormap CFBNAME (cfbCreateDefColormap)
234#define cfbCopyArea CFBNAME(CopyArea)
235#define cfbCopyImagePlane CFBNAME(CopyImagePlane)
236#define cfbCopyPixmap CFBNAME(CopyPixmap)
237#define cfbCopyPlane CFBNAME(CopyPlane)
238#define cfbCopyPlaneReduce CFBNAME(CopyPlaneReduce)
239#define cfbCopyRotatePixmap CFBNAME(CopyRotatePixmap)
240#define cfbCopyWindow CFBNAME(CopyWindow)
241#define cfbCreateGC CFBNAME(CreateGC)
242#define cfbCreatePixmap CFBNAME(CreatePixmap)
243#define cfbCreateScreenResources CFBNAME(CreateScreenResources)
244#define cfbCreateWindow CFBNAME(CreateWindow)
245#define cfbDestroyPixmap CFBNAME(DestroyPixmap)
246#define cfbDestroyWindow CFBNAME(DestroyWindow)
247#define cfbDoBitblt CFBNAME(DoBitblt)
248#define cfbDoBitbltCopy CFBNAME(DoBitbltCopy)
249#define cfbDoBitbltGeneral CFBNAME(DoBitbltGeneral)
250#define cfbDoBitbltOr CFBNAME(DoBitbltOr)
251#define cfbDoBitbltXor CFBNAME(DoBitbltXor)
252#define cfbExpandDirectColors CFBNAME(cfbExpandDirectColors)
253#define cfbFillBoxSolid CFBNAME(FillBoxSolid)
254#define cfbFillBoxTile32 CFBNAME(FillBoxTile32)
255#define cfbFillBoxTile32sCopy CFBNAME(FillBoxTile32sCopy)
256#define cfbFillBoxTile32sGeneral CFBNAME(FillBoxTile32sGeneral)
257#define cfbFillBoxTileOdd CFBNAME(FillBoxTileOdd)
258#define cfbFillBoxTileOddCopy CFBNAME(FillBoxTileOddCopy)
259#define cfbFillBoxTileOddGeneral CFBNAME(FillBoxTileOddGeneral)
260#define cfbFillPoly1RectCopy CFBNAME(FillPoly1RectCopy)
261#define cfbFillPoly1RectGeneral CFBNAME(FillPoly1RectGeneral)
262#define cfbFillRectSolidCopy CFBNAME(FillRectSolidCopy)
263#define cfbFillRectSolidGeneral CFBNAME(FillRectSolidGeneral)
264#define cfbFillRectSolidXor CFBNAME(FillRectSolidXor)
265#define cfbFillRectTile32Copy CFBNAME(FillRectTile32Copy)
266#define cfbFillRectTile32General CFBNAME(FillRectTile32General)
267#define cfbFillRectTileOdd CFBNAME(FillRectTileOdd)
268#define cfbFillSpanTile32sCopy CFBNAME(FillSpanTile32sCopy)
269#define cfbFillSpanTile32sGeneral CFBNAME(FillSpanTile32sGeneral)
270#define cfbFillSpanTileOddCopy CFBNAME(FillSpanTileOddCopy)
271#define cfbFillSpanTileOddGeneral CFBNAME(FillSpanTileOddGeneral)
272#define cfbFinishScreenInit CFBNAME(FinishScreenInit)
273#define cfbGCFuncs CFBNAME(GCFuncs)
274#define cfbGCPrivateIndex CFBNAME(GCPrivateIndex)
275#define cfbGetImage CFBNAME(GetImage)
276#define cfbGetScreenPixmap CFBNAME(GetScreenPixmap)
277#define cfbGetSpans CFBNAME(GetSpans)
278#define cfbHorzS CFBNAME(HorzS)
279#define cfbImageGlyphBlt8 CFBNAME(ImageGlyphBlt8)
280#define cfbInitializeColormap CFBNAME(InitializeColormap)
281#define cfbInitVisuals CFBNAME(cfbInitVisuals)
282#define cfbInstallColormap CFBNAME(InstallColormap)
283#define cfbLineSD CFBNAME(LineSD)
284#define cfbLineSS CFBNAME(LineSS)
285#define cfbListInstalledColormaps CFBNAME(ListInstalledColormaps)
286#define cfbMapWindow CFBNAME(MapWindow)
287#define cfbMatchCommon CFBNAME(MatchCommon)
288#define cfbNonTEOps CFBNAME(NonTEOps)
289#define cfbNonTEOps1Rect CFBNAME(NonTEOps1Rect)
290#define cfbPadPixmap CFBNAME(PadPixmap)
291#define cfbPaintWindow CFBNAME(PaintWindow)
292#define cfbPolyFillArcSolidCopy CFBNAME(PolyFillArcSolidCopy)
293#define cfbPolyFillArcSolidGeneral CFBNAME(PolyFillArcSolidGeneral)
294#define cfbPolyFillRect CFBNAME(PolyFillRect)
295#define cfbPolyGlyphBlt8 CFBNAME(PolyGlyphBlt8)
296#define cfbPolyGlyphRop8 CFBNAME(PolyGlyphRop8)
297#define cfbPolyPoint CFBNAME(PolyPoint)
298#define cfbPositionWindow CFBNAME(PositionWindow)
299#define cfbPutImage CFBNAME(PutImage)
300#define cfbReduceRasterOp CFBNAME(ReduceRasterOp)
301#define cfbResolveColor CFBNAME(ResolveColor)
302#define cfbRestoreAreas CFBNAME(RestoreAreas)
303#define cfbSaveAreas CFBNAME(SaveAreas)
304#define cfbScreenInit CFBNAME(ScreenInit)
305#define cfbScreenPrivateIndex CFBNAME(ScreenPrivateIndex)
306#define cfbSegmentSD CFBNAME(SegmentSD)
307#define cfbSegmentSS CFBNAME(SegmentSS)
308#define cfbSetScanline CFBNAME(SetScanline)
309#define cfbSetScreenPixmap CFBNAME(SetScreenPixmap)
310#define cfbSetSpans CFBNAME(SetSpans)
311#define cfbSetVisualTypes CFBNAME(cfbSetVisualTypes)
312#define cfbSetupScreen CFBNAME(SetupScreen)
313#define cfbSolidSpansCopy CFBNAME(SolidSpansCopy)
314#define cfbSolidSpansGeneral CFBNAME(SolidSpansGeneral)
315#define cfbSolidSpansXor CFBNAME(SolidSpansXor)
316#define cfbStippleStack CFBNAME(StippleStack)
317#define cfbStippleStackTE CFBNAME(StippleStackTE)
318#define cfbTEGlyphBlt CFBNAME(TEGlyphBlt)
319#define cfbTEOps CFBNAME(TEOps)
320#define cfbTEOps1Rect CFBNAME(TEOps1Rect)
321#define cfbTile32FSCopy CFBNAME(Tile32FSCopy)
322#define cfbTile32FSGeneral CFBNAME(Tile32FSGeneral)
323#define cfbUninstallColormap CFBNAME(UninstallColormap)
324#define cfbUnmapWindow CFBNAME(UnmapWindow)
325#define cfbUnnaturalStippleFS CFBNAME(UnnaturalStippleFS)
326#define cfbUnnaturalTileFS CFBNAME(UnnaturalTileFS)
327#define cfbValidateGC CFBNAME(ValidateGC)
328#define cfbVertS CFBNAME(VertS)
329#define cfbWindowPrivateIndex CFBNAME(WindowPrivateIndex)
330#define cfbXRotatePixmap CFBNAME(XRotatePixmap)
331#define cfbYRotatePixmap CFBNAME(YRotatePixmap)
332#define cfbZeroPolyArcSS8Copy CFBNAME(ZeroPolyArcSSCopy)
333#define cfbZeroPolyArcSS8General CFBNAME(ZeroPolyArcSSGeneral)
334#define cfbZeroPolyArcSS8Xor CFBNAME(ZeroPolyArcSSXor)
335#define cfbendpartial CFBNAME(endpartial)
336#define cfbendtab CFBNAME(endtab)
337#define cfbmask CFBNAME(mask)
338#define cfbrmask CFBNAME(rmask)
339#define cfbstartpartial CFBNAME(startpartial)
340#define cfbstarttab CFBNAME(starttab)
341
342#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