2
* Id: knoop.c,v 1.2 1999/11/02 06:16:28 keithp Exp $
4
* Copyright ļæ½ 1999 Keith Packard
6
* Permission to use, copy, modify, distribute, and sell this software and its
7
* documentation for any purpose is hereby granted without fee, provided that
8
* the above copyright notice appear in all copies and that both that
9
* copyright notice and this permission notice appear in supporting
10
* documentation, and that the name of Keith Packard not be used in
11
* advertising or publicity pertaining to distribution of the software without
12
* specific, written prior permission. Keith Packard makes no
13
* representations about the suitability of this software for any purpose. It
14
* is provided "as is" without express or implied warranty.
16
* KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
17
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
18
* EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
19
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
20
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
21
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
22
* PERFORMANCE OF THIS SOFTWARE.
24
/* $RCSId: xc/programs/Xserver/hw/kdrive/knoop.c,v 1.1 1999/11/19 13:53:50 hohndel Exp $ */
27
* GC ops that don't do anything
31
#include <kdrive-config.h>
36
typedef void (* typeFillSpans)(
37
DrawablePtr /*pDrawable*/,
40
DDXPointPtr /*pptInit*/,
45
typedef void (* typeSetSpans)(
46
DrawablePtr /*pDrawable*/,
55
typedef void (* typePutImage)(
56
DrawablePtr /*pDrawable*/,
68
typedef RegionPtr (* typeCopyArea)(
80
typedef RegionPtr (* typeCopyPlane)(
81
DrawablePtr /*pSrcDrawable*/,
82
DrawablePtr /*pDstDrawable*/,
90
unsigned long /*bitPlane*/
92
typedef void (* typePolyPoint)(
93
DrawablePtr /*pDrawable*/,
97
DDXPointPtr /*pptInit*/
100
typedef void (* typePolylines)(
101
DrawablePtr /*pDrawable*/,
105
DDXPointPtr /*pptInit*/
108
typedef void (* typePolySegment)(
109
DrawablePtr /*pDrawable*/,
115
typedef void (* typePolyRectangle)(
116
DrawablePtr /*pDrawable*/,
119
xRectangle * /*pRects*/
122
typedef void (* typePolyArc)(
123
DrawablePtr /*pDrawable*/,
129
typedef void (* typeFillPolygon)(
130
DrawablePtr /*pDrawable*/,
138
typedef void (* typePolyFillRect)(
139
DrawablePtr /*pDrawable*/,
142
xRectangle * /*prectInit*/
145
typedef void (* typePolyFillArc)(
146
DrawablePtr /*pDrawable*/,
152
typedef int (* typePolyText8)(
153
DrawablePtr /*pDrawable*/,
161
typedef int (* typePolyText16)(
162
DrawablePtr /*pDrawable*/,
167
unsigned short * /*chars*/
170
typedef void (* typeImageText8)(
171
DrawablePtr /*pDrawable*/,
179
typedef void (* typeImageText16)(
180
DrawablePtr /*pDrawable*/,
185
unsigned short * /*chars*/
188
typedef void (* typeImageGlyphBlt)(
189
DrawablePtr /*pDrawable*/,
193
unsigned int /*nglyph*/,
194
CharInfoPtr * /*ppci*/,
195
pointer /*pglyphBase*/
198
typedef void (* typePolyGlyphBlt)(
199
DrawablePtr /*pDrawable*/,
203
unsigned int /*nglyph*/,
204
CharInfoPtr * /*ppci*/,
205
pointer /*pglyphBase*/
208
typedef void (* typePushPixels)(
210
PixmapPtr /*pBitMap*/,
211
DrawablePtr /*pDst*/,
219
KdNoopCopyArea(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable, GCPtr pGC,
220
int srcx, int srcy, int width, int height, int dstx, int dsty)
226
KdNoopCopyPlane(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable, GCPtr pGC,
227
int srcx, int srcy, int width, int height,
228
int dstx, int dsty, unsigned long bitPlane)
234
(typeFillSpans) NoopDDA, /* fill spans */
235
(typeSetSpans) NoopDDA, /* set spans */
236
(typePutImage) NoopDDA, /* put image */
237
KdNoopCopyArea, /* copy area */
238
KdNoopCopyPlane, /* copy plane */
239
(typePolyPoint) NoopDDA, /* poly point */
240
(typePolylines) NoopDDA, /* poly lines */
241
(typePolySegment) NoopDDA, /* poly segment */
242
(typePolyRectangle) NoopDDA, /* poly rectangle */
243
(typePolyArc) NoopDDA, /* poly arc */
244
(typeFillPolygon) NoopDDA, /* fill polygon */
245
(typePolyFillRect) NoopDDA, /* poly fillrect */
246
(typePolyFillArc) NoopDDA, /* poly fillarc */
247
(typePolyText8) NoopDDA, /* text 8 */
248
(typePolyText16) NoopDDA, /* text 16 */
249
(typeImageText8) NoopDDA, /* itext 8 */
250
(typeImageText16) NoopDDA, /* itext 16 */
251
(typePolyGlyphBlt) NoopDDA, /* glyph blt */
252
(typeImageGlyphBlt) NoopDDA, /* iglyph blt */
253
(typePushPixels) NoopDDA, /* push pixels */
254
#ifdef NEED_LINEHELPER
255
(typeLineHelper) NULL,