Remove NEED_LINEHELPER BC cruft for pre-R6 DDXes.

This commit is contained in:
Adam Jackson 2006-04-30 19:16:14 +00:00
parent fdcacc5a4b
commit 291e89d4f2
35 changed files with 40 additions and 208 deletions

View File

@ -1,3 +1,41 @@
2006-04-30 Adam Jackson <ajax@freedesktop.org>
* Xprint/pcl/PclGC.c:
* Xprint/ps/PsGC.c:
* afb/afbgc.c:
* cfb/cfbgc.c:
* exa/exa_accel.c:
* fb/fbgc.c:
* fb/fbpseudocolor.c:
* hw/kdrive/igs/igsdraw.c:
* hw/kdrive/savage/s3draw.c:
* hw/kdrive/savage/s3gc.c:
* hw/kdrive/sis530/sisdraw.c:
* hw/kdrive/src/kaa.c:
* hw/kdrive/src/kasync.c:
* hw/kdrive/src/knoop.c:
* hw/xfree86/rac/xf86RAC.c:
* hw/xfree86/shadowfb/shadow.c:
* hw/xfree86/xaa/xaaFallback.c:
* hw/xfree86/xaa/xaaGC.c:
* hw/xfree86/xf4bpp/ppcGC.c:
* hw/xfree86/xf4bpp/vgaGC.c:
* hw/xfree86/xf8_32bpp/cfbgc.c:
* hw/xfree86/xf8_32bpp/cfbgcunder.c:
* hw/xfree86/xf8_32bpp/xf86overlay.c:
* hw/xgl/xglgc.c:
* hw/xwin/wingc.c:
* include/gcstruct.h:
* mfb/mfbgc.c:
* mi/mi.h:
* mi/mibank.c:
* mi/mibstore.c:
* mi/miwideline.c:
* miext/damage/damage.c:
* miext/rootless/rootlessGC.c:
* miext/rootless/accel/rlAccel.c:
Remove NEED_LINEHELPER BC cruft for pre-R6 DDXes.
2006-04-27 Eric Anholt <anholt@FreeBSD.org> 2006-04-27 Eric Anholt <anholt@FreeBSD.org>
* exa/exa_accel.c: (exaPolyPoint), (exaPolylines), * exa/exa_accel.c: (exaPolyPoint), (exaPolylines),

View File

@ -82,9 +82,6 @@ static GCOps PclGCOps =
PclImageGlyphBlt, PclImageGlyphBlt,
PclPolyGlyphBlt, PclPolyGlyphBlt,
PclPushPixels PclPushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif
} }
; ;

View File

@ -107,9 +107,6 @@ static GCOps PsGCOps =
PsImageGlyphBlt, PsImageGlyphBlt,
PsPolyGlyphBlt, PsPolyGlyphBlt,
PsPushPixels PsPushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };

View File

@ -102,9 +102,6 @@ static GCOps afbGCOps = {
afbTEGlyphBlt, afbTEGlyphBlt,
afbPolyGlyphBlt, afbPolyGlyphBlt,
afbPushPixels afbPushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };

View File

@ -141,9 +141,6 @@ GCOps cfbTEOps1Rect = {
useTEGlyphBlt, useTEGlyphBlt,
usePolyGlyphBlt, usePolyGlyphBlt,
usePushPixels usePushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
GCOps cfbNonTEOps1Rect = { GCOps cfbNonTEOps1Rect = {
@ -172,9 +169,6 @@ GCOps cfbNonTEOps1Rect = {
useImageGlyphBlt, useImageGlyphBlt,
usePolyGlyphBlt, usePolyGlyphBlt,
usePushPixels usePushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
GCOps cfbTEOps = { GCOps cfbTEOps = {
@ -198,9 +192,6 @@ GCOps cfbTEOps = {
useTEGlyphBlt, useTEGlyphBlt,
usePolyGlyphBlt, usePolyGlyphBlt,
usePushPixels usePushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
GCOps cfbNonTEOps = { GCOps cfbNonTEOps = {
@ -228,9 +219,6 @@ GCOps cfbNonTEOps = {
useImageGlyphBlt, useImageGlyphBlt,
usePolyGlyphBlt, usePolyGlyphBlt,
usePushPixels usePushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
GCOps * GCOps *

View File

@ -956,9 +956,6 @@ const GCOps exaOps = {
exaImageGlyphBlt, exaImageGlyphBlt,
ExaCheckPolyGlyphBlt, ExaCheckPolyGlyphBlt,
ExaCheckPushPixels, ExaCheckPushPixels,
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
void void

View File

@ -21,7 +21,7 @@
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $XdotOrg: xserver/xorg/fb/fbgc.c,v 1.6 2006/01/18 06:49:17 airlied Exp $ */ /* $XdotOrg: xserver/xorg/fb/fbgc.c,v 1.7 2006/02/10 22:00:21 anholt Exp $ */
/* $XFree86: xc/programs/Xserver/fb/fbgc.c,v 1.14 2003/12/18 15:22:32 alanh Exp $ */ /* $XFree86: xc/programs/Xserver/fb/fbgc.c,v 1.14 2003/12/18 15:22:32 alanh Exp $ */
#ifdef HAVE_DIX_CONFIG_H #ifdef HAVE_DIX_CONFIG_H
@ -63,9 +63,6 @@ const GCOps fbGCOps = {
fbImageGlyphBlt, fbImageGlyphBlt,
fbPolyGlyphBlt, fbPolyGlyphBlt,
fbPushPixels fbPushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
Bool Bool

View File

@ -1211,9 +1211,6 @@ GCOps xxGCOps = {
xxPolyText16, xxImageText8, xxPolyText16, xxImageText8,
xxImageText16, xxImageGlyphBlt, xxImageText16, xxImageGlyphBlt,
xxPolyGlyphBlt, xxPushPixels, xxPolyGlyphBlt, xxPushPixels,
#ifdef NEED_LINEHELPER
NULL,
#endif
{NULL} /* devPrivate */ {NULL} /* devPrivate */
}; };

View File

@ -1306,9 +1306,6 @@ static const GCOps igsOps = {
igsImageGlyphBlt, igsImageGlyphBlt,
igsPolyGlyphBlt, igsPolyGlyphBlt,
igsPushPixels, igsPushPixels,
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
void void

View File

@ -2969,9 +2969,6 @@ static const GCOps s3_24GCOps = {
s3_24ImageGlyphBlt, s3_24ImageGlyphBlt,
KdCheckPolyGlyphBlt, KdCheckPolyGlyphBlt,
KdCheckPushPixels, KdCheckPushPixels,
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
void void

View File

@ -72,9 +72,6 @@ static const GCOps s3TEOps = {
s3ImageTEGlyphBlt, s3ImageTEGlyphBlt,
s3PolyTEGlyphBlt, s3PolyTEGlyphBlt,
s3PushPixels s3PushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
/* Non TE font */ /* Non TE font */
@ -99,9 +96,6 @@ static const GCOps s3NonTEOps = {
s3ImageGlyphBlt, s3ImageGlyphBlt,
s3PolyGlyphBlt, s3PolyGlyphBlt,
s3PushPixels s3PushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
static GCOps * static GCOps *

View File

@ -1475,9 +1475,6 @@ static const GCOps sisOps = {
sisImageGlyphBlt, sisImageGlyphBlt,
sisPolyGlyphBlt, sisPolyGlyphBlt,
KdCheckPushPixels, KdCheckPushPixels,
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
void void

View File

@ -902,9 +902,6 @@ static const GCOps kaaOps = {
kaaImageGlyphBlt, kaaImageGlyphBlt,
KdCheckPolyGlyphBlt, KdCheckPolyGlyphBlt,
KdCheckPushPixels, KdCheckPushPixels,
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
static void static void

View File

@ -373,9 +373,6 @@ const GCOps kdAsyncPixmapGCOps = {
fbImageGlyphBlt, fbImageGlyphBlt,
fbPolyGlyphBlt, fbPolyGlyphBlt,
fbPushPixels fbPushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
void void

View File

@ -251,7 +251,4 @@ GCOps kdNoopOps = {
(typePolyGlyphBlt) NoopDDA, /* glyph blt */ (typePolyGlyphBlt) NoopDDA, /* glyph blt */
(typeImageGlyphBlt) NoopDDA, /* iglyph blt */ (typeImageGlyphBlt) NoopDDA, /* iglyph blt */
(typePushPixels) NoopDDA, /* push pixels */ (typePushPixels) NoopDDA, /* push pixels */
#ifdef NEED_LINEHELPER
(typeLineHelper) NULL,
#endif
}; };

View File

@ -254,9 +254,6 @@ GCOps RACGCOps = {
RACPolyRectangle, RACPolyArc, RACFillPolygon, RACPolyFillRect, RACPolyRectangle, RACPolyArc, RACFillPolygon, RACPolyFillRect,
RACPolyFillArc, RACPolyText8, RACPolyText16, RACImageText8, RACPolyFillArc, RACPolyText8, RACPolyText16, RACImageText8,
RACImageText16, RACImageGlyphBlt, RACPolyGlyphBlt, RACPushPixels, RACImageText16, RACImageGlyphBlt, RACPolyGlyphBlt, RACPushPixels,
#ifdef NEED_LINEHELPER
NULL,
#endif
{NULL} /* devPrivate */ {NULL} /* devPrivate */
}; };

View File

@ -1830,9 +1830,6 @@ GCOps ShadowGCOps = {
ShadowPolyText16, ShadowImageText8, ShadowPolyText16, ShadowImageText8,
ShadowImageText16, ShadowImageGlyphBlt, ShadowImageText16, ShadowImageGlyphBlt,
ShadowPolyGlyphBlt, ShadowPushPixels, ShadowPolyGlyphBlt, ShadowPushPixels,
#ifdef NEED_LINEHELPER
NULL,
#endif
{NULL} /* devPrivate */ {NULL} /* devPrivate */
}; };

View File

@ -344,9 +344,6 @@ GCOps XAAFallbackOps = {
XAAPolyText16Fallback, XAAImageText8Fallback, XAAPolyText16Fallback, XAAImageText8Fallback,
XAAImageText16Fallback, XAAImageGlyphBltFallback, XAAImageText16Fallback, XAAImageGlyphBltFallback,
XAAPolyGlyphBltFallback, XAAPushPixelsFallback, XAAPolyGlyphBltFallback, XAAPushPixelsFallback,
#ifdef NEED_LINEHELPER
NULL,
#endif
{NULL} /* devPrivate */ {NULL} /* devPrivate */
}; };

View File

@ -651,8 +651,5 @@ GCOps XAAPixmapOps = {
XAAPolyText16Pixmap, XAAImageText8Pixmap, XAAPolyText16Pixmap, XAAImageText8Pixmap,
XAAImageText16Pixmap, XAAImageGlyphBltPixmap, XAAImageText16Pixmap, XAAImageGlyphBltPixmap,
XAAPolyGlyphBltPixmap, XAAPushPixelsPixmap, XAAPolyGlyphBltPixmap, XAAPushPixelsPixmap,
#ifdef NEED_LINEHELPER
NULL,
#endif
{NULL} /* devPrivate */ {NULL} /* devPrivate */
}; };

View File

@ -146,9 +146,6 @@ static GCOps vgaGCOps = {
xf4bppImageGlyphBlt, /* GJA -- void (* ImageGlyphBlt)() */ xf4bppImageGlyphBlt, /* GJA -- void (* ImageGlyphBlt)() */
miPolyGlyphBlt, /* GJA -- void (* PolyGlyphBlt)() */ miPolyGlyphBlt, /* GJA -- void (* PolyGlyphBlt)() */
miPushPixels, /* void (* PushPixels)() */ miPushPixels, /* void (* PushPixels)() */
#ifdef NEED_LINEHELPER
miMiter, /* void (* LineHelper)() */
#endif
{NULL} /* devPrivate */ {NULL} /* devPrivate */
}; };
@ -244,10 +241,6 @@ while ((idx = LOWBIT(changes))) {
break ; break ;
case GCJoinStyle: case GCJoinStyle:
#ifdef NEED_LINEHELPER
pGC->ops->LineHelper = ( pGC->joinStyle == JoinMiter )
? miMiter : miNotMiter ;
#endif
changes &= ~ idx ; /* i.e. changes &= ~ GCJoinStyle */ changes &= ~ idx ; /* i.e. changes &= ~ GCJoinStyle */
break ; break ;

View File

@ -159,10 +159,6 @@ register unsigned long int idx ; /* used for stepping through bitfields */
changes &= ~( GCLineStyle | GCLineWidth ) ; changes &= ~( GCLineStyle | GCLineWidth ) ;
break ; break ;
case GCJoinStyle: case GCJoinStyle:
#ifdef NEED_LINEHELPER
pGC->ops->LineHelper =
( pGC->joinStyle == JoinMiter ) ? miMiter : miNotMiter ;
#endif
/* /*
* If these are just square boxes with no funny business * If these are just square boxes with no funny business
* going on we can call the fast routine that draws * going on we can call the fast routine that draws

View File

@ -144,9 +144,6 @@ static GCOps cfb8_32TEOps1Rect = {
useTEGlyphBlt, useTEGlyphBlt,
usePolyGlyphBlt, usePolyGlyphBlt,
usePushPixels usePushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
static GCOps cfb8_32NonTEOps1Rect = { static GCOps cfb8_32NonTEOps1Rect = {
@ -175,9 +172,6 @@ static GCOps cfb8_32NonTEOps1Rect = {
useImageGlyphBlt, useImageGlyphBlt,
usePolyGlyphBlt, usePolyGlyphBlt,
usePushPixels usePushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
static GCOps cfb8_32TEOps = { static GCOps cfb8_32TEOps = {
@ -201,9 +195,6 @@ static GCOps cfb8_32TEOps = {
useTEGlyphBlt, useTEGlyphBlt,
usePolyGlyphBlt, usePolyGlyphBlt,
usePushPixels usePushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
static GCOps cfb8_32NonTEOps = { static GCOps cfb8_32NonTEOps = {
@ -231,9 +222,6 @@ static GCOps cfb8_32NonTEOps = {
useImageGlyphBlt, useImageGlyphBlt,
usePolyGlyphBlt, usePolyGlyphBlt,
usePushPixels usePushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
static GCOps * static GCOps *

View File

@ -125,9 +125,6 @@ static GCOps cfbTEOps1Rect = {
useTEGlyphBlt, useTEGlyphBlt,
usePolyGlyphBlt, usePolyGlyphBlt,
usePushPixels usePushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
static GCOps cfbNonTEOps1Rect = { static GCOps cfbNonTEOps1Rect = {
@ -156,9 +153,6 @@ static GCOps cfbNonTEOps1Rect = {
useImageGlyphBlt, useImageGlyphBlt,
usePolyGlyphBlt, usePolyGlyphBlt,
usePushPixels usePushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
static GCOps cfbTEOps = { static GCOps cfbTEOps = {
@ -182,9 +176,6 @@ static GCOps cfbTEOps = {
useTEGlyphBlt, useTEGlyphBlt,
usePolyGlyphBlt, usePolyGlyphBlt,
usePushPixels usePushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
static GCOps cfbNonTEOps = { static GCOps cfbNonTEOps = {
@ -212,9 +203,6 @@ static GCOps cfbNonTEOps = {
useImageGlyphBlt, useImageGlyphBlt,
usePolyGlyphBlt, usePolyGlyphBlt,
usePushPixels usePushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
static GCOps * static GCOps *

View File

@ -101,9 +101,6 @@ static GCOps PixmapGCOps = {
PixmapPolyText16, PixmapImageText8, PixmapPolyText16, PixmapImageText8,
PixmapImageText16, PixmapImageGlyphBlt, PixmapImageText16, PixmapImageGlyphBlt,
PixmapPolyGlyphBlt, PixmapPushPixels, PixmapPolyGlyphBlt, PixmapPushPixels,
#ifdef NEED_LINEHELPER
NULL,
#endif
{NULL} /* devPrivate */ {NULL} /* devPrivate */
}; };
@ -152,9 +149,6 @@ static GCOps WindowGCOps = {
WindowPolyText16, WindowImageText8, WindowPolyText16, WindowImageText8,
WindowImageText16, WindowImageGlyphBlt, WindowImageText16, WindowImageGlyphBlt,
WindowPolyGlyphBlt, WindowPushPixels, WindowPolyGlyphBlt, WindowPushPixels,
#ifdef NEED_LINEHELPER
NULL,
#endif
{NULL} /* devPrivate */ {NULL} /* devPrivate */
}; };

View File

@ -85,9 +85,6 @@ static const GCOps xglGCOps = {
xglImageGlyphBlt, xglImageGlyphBlt,
xglPolyGlyphBlt, xglPolyGlyphBlt,
xglPushPixels xglPushPixels
#ifdef NEED_LINEHELPER
, NULL
#endif
}; };
void void

View File

@ -120,9 +120,6 @@ const GCOps winGCOps = {
miPolyGlyphBlt, miPolyGlyphBlt,
#endif #endif
winPushPixels winPushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };

View File

@ -264,10 +264,6 @@ typedef struct _GCOps {
int /*x*/, int /*x*/,
int /*y*/); int /*y*/);
#ifdef NEED_LINEHELPER
void (* LineHelper)();
#endif
DevUnion devPrivate; DevUnion devPrivate;
} GCOps; } GCOps;

View File

@ -101,9 +101,6 @@ static GCOps whiteTECopyOps = {
mfbTEGlyphBltWhite, mfbTEGlyphBltWhite,
mfbPolyGlyphBltWhite, mfbPolyGlyphBltWhite,
mfbSolidPP mfbSolidPP
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
static GCOps blackTECopyOps = { static GCOps blackTECopyOps = {
@ -127,9 +124,6 @@ static GCOps blackTECopyOps = {
mfbTEGlyphBltBlack, mfbTEGlyphBltBlack,
mfbPolyGlyphBltBlack, mfbPolyGlyphBltBlack,
mfbSolidPP mfbSolidPP
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
static GCOps whiteTEInvertOps = { static GCOps whiteTEInvertOps = {
@ -153,9 +147,6 @@ static GCOps whiteTEInvertOps = {
mfbTEGlyphBltWhite, mfbTEGlyphBltWhite,
mfbPolyGlyphBltInvert, mfbPolyGlyphBltInvert,
mfbSolidPP mfbSolidPP
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
static GCOps blackTEInvertOps = { static GCOps blackTEInvertOps = {
@ -179,9 +170,6 @@ static GCOps blackTEInvertOps = {
mfbTEGlyphBltBlack, mfbTEGlyphBltBlack,
mfbPolyGlyphBltInvert, mfbPolyGlyphBltInvert,
mfbSolidPP mfbSolidPP
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
static GCOps whiteCopyOps = { static GCOps whiteCopyOps = {
@ -205,9 +193,6 @@ static GCOps whiteCopyOps = {
mfbImageGlyphBltWhite, mfbImageGlyphBltWhite,
mfbPolyGlyphBltWhite, mfbPolyGlyphBltWhite,
mfbSolidPP mfbSolidPP
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
static GCOps blackCopyOps = { static GCOps blackCopyOps = {
@ -231,9 +216,6 @@ static GCOps blackCopyOps = {
mfbImageGlyphBltBlack, mfbImageGlyphBltBlack,
mfbPolyGlyphBltBlack, mfbPolyGlyphBltBlack,
mfbSolidPP mfbSolidPP
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
static GCOps whiteInvertOps = { static GCOps whiteInvertOps = {
@ -257,9 +239,6 @@ static GCOps whiteInvertOps = {
mfbImageGlyphBltWhite, mfbImageGlyphBltWhite,
mfbPolyGlyphBltInvert, mfbPolyGlyphBltInvert,
mfbSolidPP mfbSolidPP
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
static GCOps blackInvertOps = { static GCOps blackInvertOps = {
@ -283,9 +262,6 @@ static GCOps blackInvertOps = {
mfbImageGlyphBltBlack, mfbImageGlyphBltBlack,
mfbPolyGlyphBltInvert, mfbPolyGlyphBltInvert,
mfbSolidPP mfbSolidPP
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
static GCOps whiteWhiteCopyOps = { static GCOps whiteWhiteCopyOps = {
@ -309,9 +285,6 @@ static GCOps whiteWhiteCopyOps = {
miImageGlyphBlt, miImageGlyphBlt,
mfbPolyGlyphBltWhite, mfbPolyGlyphBltWhite,
mfbSolidPP mfbSolidPP
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
static GCOps blackBlackCopyOps = { static GCOps blackBlackCopyOps = {
@ -335,9 +308,6 @@ static GCOps blackBlackCopyOps = {
miImageGlyphBlt, miImageGlyphBlt,
mfbPolyGlyphBltBlack, mfbPolyGlyphBltBlack,
mfbSolidPP mfbSolidPP
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };
static GCOps fgEqBgInvertOps = { static GCOps fgEqBgInvertOps = {
@ -361,9 +331,6 @@ static GCOps fgEqBgInvertOps = {
miImageGlyphBlt, miImageGlyphBlt,
mfbPolyGlyphBltInvert, mfbPolyGlyphBltInvert,
mfbSolidPP mfbSolidPP
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };

View File

@ -517,14 +517,6 @@ extern void miWideDash(
DDXPointPtr /*pPts*/ DDXPointPtr /*pPts*/
); );
extern void miMiter(
void
);
extern void miNotMiter(
void
);
/* miwindow.c */ /* miwindow.c */
extern void miClearToBackground( extern void miClearToBackground(

View File

@ -1364,9 +1364,6 @@ static GCOps miBankGCOps =
miBankImageGlyphBlt, miBankImageGlyphBlt,
miBankPolyGlyphBlt, miBankPolyGlyphBlt,
miBankPushPixels, miBankPushPixels,
#ifdef NEED_LINEHELPER
NULL, /* LineHelper */
#endif
{NULL} /* devPrivate */ {NULL} /* devPrivate */
}; };

View File

@ -293,9 +293,6 @@ static void miBSPolyGlyphBlt(DrawablePtr pDrawable, GCPtr pGC,
static void miBSPushPixels(GCPtr pGC, PixmapPtr pBitMap, static void miBSPushPixels(GCPtr pGC, PixmapPtr pBitMap,
DrawablePtr pDst, int w, int h, DrawablePtr pDst, int w, int h,
int x, int y); int x, int y);
#ifdef NEED_LINEHELPER
static void miBSLineHelper(void);
#endif
static GCOps miBSGCOps = { static GCOps miBSGCOps = {
miBSFillSpans, miBSSetSpans, miBSPutImage, miBSFillSpans, miBSSetSpans, miBSPutImage,
@ -305,9 +302,6 @@ static GCOps miBSGCOps = {
miBSPolyFillArc, miBSPolyText8, miBSPolyText16, miBSPolyFillArc, miBSPolyText8, miBSPolyText16,
miBSImageText8, miBSImageText16, miBSImageGlyphBlt, miBSImageText8, miBSImageText16, miBSImageGlyphBlt,
miBSPolyGlyphBlt, miBSPushPixels miBSPolyGlyphBlt, miBSPushPixels
#ifdef NEED_LINEHELPER
, miBSLineHelper
#endif
}; };
#define FUNC_PROLOGUE(pGC, pPriv) \ #define FUNC_PROLOGUE(pGC, pPriv) \
@ -2235,24 +2229,6 @@ miBSPushPixels(pGC, pBitMap, pDst, w, h, x, y)
EPILOGUE (pGC); EPILOGUE (pGC);
} }
#ifdef NEED_LINEHELPER
/*-
*-----------------------------------------------------------------------
* miBSLineHelper --
*
* Results: should never be called
*
* Side Effects: server dies
*
*-----------------------------------------------------------------------
*/
static void
miBSLineHelper()
{
FatalError("miBSLineHelper called\n");
}
#endif
/*- /*-
*----------------------------------------------------------------------- *-----------------------------------------------------------------------
* miBSClearBackingStore -- * miBSClearBackingStore --

View File

@ -2231,15 +2231,3 @@ miWideDash (pDrawable, pGC, mode, npt, pPts)
if (spanData) if (spanData)
miCleanupSpanData (pDrawable, pGC, spanData); miCleanupSpanData (pDrawable, pGC, spanData);
} }
/* these are stubs to allow old ddx ValidateGCs to work without change */
void
miMiter()
{
}
void
miNotMiter()
{
}

View File

@ -1637,9 +1637,6 @@ GCOps damageGCOps = {
damagePolyText16, damageImageText8, damagePolyText16, damageImageText8,
damageImageText16, damageImageGlyphBlt, damageImageText16, damageImageGlyphBlt,
damagePolyGlyphBlt, damagePushPixels, damagePolyGlyphBlt, damagePushPixels,
#ifdef NEED_LINEHELPER
NULL,
#endif
{NULL} /* devPrivate */ {NULL} /* devPrivate */
}; };

View File

@ -26,7 +26,7 @@
* holders shall not be used in advertising or otherwise to promote the sale, * holders shall not be used in advertising or otherwise to promote the sale,
* use or other dealings in this Software without prior written authorization. * use or other dealings in this Software without prior written authorization.
*/ */
/* $XdotOrg: xc/programs/Xserver/miext/rootless/accel/rlAccel.c,v 1.3 2004/12/09 22:40:35 torrey Exp $ */ /* $XdotOrg: xserver/xorg/miext/rootless/accel/rlAccel.c,v 1.5 2005/07/03 07:02:03 daniels Exp $ */
/* /*
* The accelerated rootless code replaces some GC operations from fb with * The accelerated rootless code replaces some GC operations from fb with
@ -74,9 +74,6 @@ static GCOps rlAccelOps = {
rlImageGlyphBlt, rlImageGlyphBlt,
fbPolyGlyphBlt, fbPolyGlyphBlt,
fbPushPixels fbPushPixels
#ifdef NEED_LINEHELPER
,NULL
#endif
}; };

View File

@ -114,9 +114,6 @@ static GCOps rootlessGCOps = {
RootlessImageGlyphBlt, RootlessImageGlyphBlt,
RootlessPolyGlyphBlt, RootlessPolyGlyphBlt,
RootlessPushPixels RootlessPushPixels
#ifdef NEED_LINEHELPER
, NULL
#endif
}; };
/* /*