1 | /* $XFree86: xc/programs/Xserver/iplan2p4/iplmap.h,v 3.1 1998/04/05 16:42:26 robin Exp $ */
|
---|
2 | /*
|
---|
3 | * $XConsortium: iplmap.h,v 1.9 94/04/17 20:28:54 dpw Exp $
|
---|
4 | *
|
---|
5 | Copyright (c) 1991 X Consortium
|
---|
6 |
|
---|
7 | Permission is hereby granted, free of charge, to any person obtaining a copy
|
---|
8 | of this software and associated documentation files (the "Software"), to deal
|
---|
9 | in the Software without restriction, including without limitation the rights
|
---|
10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
---|
11 | copies of the Software, and to permit persons to whom the Software is
|
---|
12 | furnished to do so, subject to the following conditions:
|
---|
13 |
|
---|
14 | The above copyright notice and this permission notice shall be included in
|
---|
15 | all copies or substantial portions of the Software.
|
---|
16 |
|
---|
17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
---|
18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
---|
19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
---|
20 | X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
---|
21 | AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
---|
22 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
---|
23 |
|
---|
24 | Except as contained in this notice, the name of the X Consortium shall not be
|
---|
25 | used in advertising or otherwise to promote the sale, use or other dealings
|
---|
26 | in this Software without prior written authorization from the X Consortium.
|
---|
27 | *
|
---|
28 | * Author: Keith Packard, MIT X Consortium
|
---|
29 | */
|
---|
30 |
|
---|
31 | /* Modified nov 94 by Martin Schaller ([email protected]) for use with
|
---|
32 | interleaved planes */
|
---|
33 |
|
---|
34 | /*
|
---|
35 | * Map names around so that multiple depths can be supported simultaneously
|
---|
36 | */
|
---|
37 |
|
---|
38 | /* a losing vendor cpp dumps core if we define NAME in terms of CATNAME */
|
---|
39 |
|
---|
40 | #ifdef HAVE_DIX_CONFIG_H
|
---|
41 | #include <dix-config.h>
|
---|
42 | #endif
|
---|
43 |
|
---|
44 | #if INTER_PLANES == 2
|
---|
45 | #define NAME(subname) ipl2p2##subname
|
---|
46 | #elif INTER_PLANES == 4
|
---|
47 | #define NAME(subname) ipl2p4##subname
|
---|
48 | #elif INTER_PLANES == 8
|
---|
49 | #define NAME(subname) ipl2p8##subname
|
---|
50 | #endif
|
---|
51 |
|
---|
52 |
|
---|
53 | #if !defined(UNIXCPP) || defined(ANSICPP)
|
---|
54 | #define CATNAME(prefix,subname) prefix##subname
|
---|
55 | #else
|
---|
56 | #define CATNAME(prefix,subname) prefix/**/subname
|
---|
57 | #endif
|
---|
58 |
|
---|
59 | #define iplScreenPrivateIndex NAME(ScreenPrivateIndex)
|
---|
60 | #define QuartetBitsTable NAME(QuartetBitsTable)
|
---|
61 | #define QuartetPixelMaskTable NAME(QuartetPixelMaskTable)
|
---|
62 | #define iplAllocatePrivates NAME(AllocatePrivates)
|
---|
63 | #define iplBSFuncRec NAME(BSFuncRec)
|
---|
64 | #define iplBitBlt NAME(BitBlt)
|
---|
65 | #define iplBresD NAME(BresD)
|
---|
66 | #define iplBresS NAME(BresS)
|
---|
67 | #define iplChangeWindowAttributes NAME(ChangeWindowAttributes)
|
---|
68 | #define iplCloseScreen NAME(CloseScreen)
|
---|
69 | #define iplCopyArea NAME(CopyArea)
|
---|
70 | #define iplCopyImagePlane NAME(CopyImagePlane)
|
---|
71 | #define iplCopyPixmap NAME(CopyPixmap)
|
---|
72 | #define iplCopyPlane NAME(CopyPlane)
|
---|
73 | #define iplCopyRotatePixmap NAME(CopyRotatePixmap)
|
---|
74 | #define iplCopyWindow NAME(CopyWindow)
|
---|
75 | #define iplCreateGC NAME(CreateGC)
|
---|
76 | #define iplCreatePixmap NAME(CreatePixmap)
|
---|
77 | #define iplCreateWindow NAME(CreateWindow)
|
---|
78 | #define iplCreateScreenResources NAME(CreateScreenResoures)
|
---|
79 | #define iplDestroyPixmap NAME(DestroyPixmap)
|
---|
80 | #define iplDestroyWindow NAME(DestroyWindow)
|
---|
81 | #define iplDoBitblt NAME(DoBitblt)
|
---|
82 | #define iplDoBitbltCopy NAME(DoBitbltCopy)
|
---|
83 | #define iplDoBitbltGeneral NAME(DoBitbltGeneral)
|
---|
84 | #define iplDoBitbltOr NAME(DoBitbltOr)
|
---|
85 | #define iplDoBitbltXor NAME(DoBitbltXor)
|
---|
86 | #define iplFillBoxSolid NAME(FillBoxSolid)
|
---|
87 | #define iplFillBoxTile32 NAME(FillBoxTile32)
|
---|
88 | #define iplFillBoxTile32sCopy NAME(FillBoxTile32sCopy)
|
---|
89 | #define iplFillBoxTile32sGeneral NAME(FillBoxTile32sGeneral)
|
---|
90 | #define iplFillBoxTileOdd NAME(FillBoxTileOdd)
|
---|
91 | #define iplFillBoxTileOddCopy NAME(FillBoxTileOddCopy)
|
---|
92 | #define iplFillBoxTileOddGeneral NAME(FillBoxTileOddGeneral)
|
---|
93 | #define iplFillPoly1RectCopy NAME(FillPoly1RectCopy)
|
---|
94 | #define iplFillPoly1RectGeneral NAME(FillPoly1RectGeneral)
|
---|
95 | #define iplFillRectSolidCopy NAME(FillRectSolidCopy)
|
---|
96 | #define iplFillRectSolidGeneral NAME(FillRectSolidGeneral)
|
---|
97 | #define iplFillRectSolidXor NAME(FillRectSolidXor)
|
---|
98 | #define iplFillRectTile32Copy NAME(FillRectTile32Copy)
|
---|
99 | #define iplFillRectTile32General NAME(FillRectTile32General)
|
---|
100 | #define iplFillRectTileOdd NAME(FillRectTileOdd)
|
---|
101 | #define iplFillSpanTile32sCopy NAME(FillSpanTile32sCopy)
|
---|
102 | #define iplFillSpanTile32sGeneral NAME(FillSpanTile32sGeneral)
|
---|
103 | #define iplFillSpanTileOddCopy NAME(FillSpanTileOddCopy)
|
---|
104 | #define iplFillSpanTileOddGeneral NAME(FillSpanTileOddGeneral)
|
---|
105 | #define iplFinishScreenInit NAME(FinishScreenInit)
|
---|
106 | #define iplGCFuncs NAME(GCFuncs)
|
---|
107 | #define iplGetImage NAME(GetImage)
|
---|
108 | #define iplGetScreenPixmap NAME(GetScreenPixmap)
|
---|
109 | #define iplGetSpans NAME(GetSpans)
|
---|
110 | #define iplHorzS NAME(HorzS)
|
---|
111 | #define iplImageGlyphBlt8 NAME(ImageGlyphBlt8)
|
---|
112 | #define iplLineSD NAME(LineSD)
|
---|
113 | #define iplLineSS NAME(LineSS)
|
---|
114 | #define iplMapWindow NAME(MapWindow)
|
---|
115 | #define iplMatchCommon NAME(MatchCommon)
|
---|
116 | #define iplNonTEOps NAME(NonTEOps)
|
---|
117 | #define iplNonTEOps1Rect NAME(NonTEOps1Rect)
|
---|
118 | #define iplPadPixmap NAME(PadPixmap)
|
---|
119 | #define iplPaintWindow NAME(PaintWindow)
|
---|
120 | #define iplPolyGlyphBlt8 NAME(PolyGlyphBlt8)
|
---|
121 | #define iplPolyGlyphRop8 NAME(PolyGlyphRop8)
|
---|
122 | #define iplPolyFillArcSolidCopy NAME(PolyFillArcSolidCopy)
|
---|
123 | #define iplPolyFillArcSolidGeneral NAME(PolyFillArcSolidGeneral)
|
---|
124 | #define iplPolyFillRect NAME(PolyFillRect)
|
---|
125 | #define iplPolyPoint NAME(PolyPoint)
|
---|
126 | #define iplPositionWindow NAME(PositionWindow)
|
---|
127 | #define iplPutImage NAME(PutImage)
|
---|
128 | #define iplReduceRasterOp NAME(ReduceRasterOp)
|
---|
129 | #define iplRestoreAreas NAME(RestoreAreas)
|
---|
130 | #define iplSaveAreas NAME(SaveAreas)
|
---|
131 | #define iplScreenInit NAME(ScreenInit)
|
---|
132 | #define iplSegmentSD NAME(SegmentSD)
|
---|
133 | #define iplSegmentSS NAME(SegmentSS)
|
---|
134 | #define iplSetScanline NAME(SetScanline)
|
---|
135 | #define iplSetScreenPixmap NAME(SetScreenPixmap)
|
---|
136 | #define iplSetSpans NAME(SetSpans)
|
---|
137 | #define iplSetupScreen NAME(SetupScreen)
|
---|
138 | #define iplSolidSpansCopy NAME(SolidSpansCopy)
|
---|
139 | #define iplSolidSpansGeneral NAME(SolidSpansGeneral)
|
---|
140 | #define iplSolidSpansXor NAME(SolidSpansXor)
|
---|
141 | #define iplStippleStack NAME(StippleStack)
|
---|
142 | #define iplStippleStackTE NAME(StippleStackTE)
|
---|
143 | #define iplTEGlyphBlt NAME(TEGlyphBlt)
|
---|
144 | #define iplTEOps NAME(TEOps)
|
---|
145 | #define iplTEOps1Rect NAME(TEOps1Rect)
|
---|
146 | #define iplTile32FSCopy NAME(Tile32FSCopy)
|
---|
147 | #define iplTile32FSGeneral NAME(Tile32FSGeneral)
|
---|
148 | #define iplUnmapWindow NAME(UnmapWindow)
|
---|
149 | #define iplUnnaturalStippleFS NAME(UnnaturalStippleFS)
|
---|
150 | #define iplUnnaturalTileFS NAME(UnnaturalTileFS)
|
---|
151 | #define iplValidateGC NAME(ValidateGC)
|
---|
152 | #define iplVertS NAME(VertS)
|
---|
153 | #define iplXRotatePixmap NAME(XRotatePixmap)
|
---|
154 | #define iplYRotatePixmap NAME(YRotatePixmap)
|
---|
155 | #define iplendpartial NAME(endpartial)
|
---|
156 | #define iplendtab NAME(endtab)
|
---|
157 | #define iplmask NAME(mask)
|
---|
158 | #define iplrmask NAME(rmask)
|
---|
159 | #define iplstartpartial NAME(startpartial)
|
---|
160 | #define iplstarttab NAME(starttab)
|
---|
161 | #define ipl8LineSS1Rect NAME(LineSS1Rect)
|
---|
162 | #define ipl8SegmentSS1Rect NAME(SegmentSS1Rect)
|
---|
163 | #define ipl8ClippedLineCopy NAME(ClippedLineCopy)
|
---|
164 | #define ipl8ClippedLineXor NAME(ClippedLineXor)
|
---|
165 | #define ipl8ClippedLineGeneral NAME(ClippedLineGeneral )
|
---|
166 | #define ipl8SegmentSS1RectCopy NAME(SegmentSS1RectCopy)
|
---|
167 | #define ipl8SegmentSS1RectXor NAME(SegmentSS1RectXor)
|
---|
168 | #define ipl8SegmentSS1RectGeneral NAME(SegmentSS1RectGeneral )
|
---|
169 | #define ipl8SegmentSS1RectShiftCopy NAME(SegmentSS1RectShiftCopy)
|
---|
170 | #define ipl8LineSS1RectCopy NAME(LineSS1RectCopy)
|
---|
171 | #define ipl8LineSS1RectXor NAME(LineSS1RectXor)
|
---|
172 | #define ipl8LineSS1RectGeneral NAME(LineSS1RectGeneral )
|
---|
173 | #define ipl8LineSS1RectPreviousCopy NAME(LineSS1RectPreviousCopy)
|
---|
174 | #define iplZeroPolyArcSS8Copy NAME(ZeroPolyArcSSCopy)
|
---|
175 | #define iplZeroPolyArcSS8Xor NAME(ZeroPolyArcSSXor)
|
---|
176 | #define iplZeroPolyArcSS8General NAME(ZeroPolyArcSSGeneral)
|
---|