Hi Walter,
I am keeping the dead code for reference purpose only.
Regards,
Kevin Brace
Brace Computer Laboratory blog
https://bracecomputerlab.com
> Sent: Thursday, February 21, 2019 at 12:15 PM
> From: "Walter Harms"
> To: "Kevin Brace" , xorg-devel@lists.x.org
> Subject: Re: [PATCH xf86-video-trident 1/3] Tab to spaces conversion for
> blade_accel.c
>
> maybe it is cheaper to kill the dead code instead of fixing white space ?
>
> re,
> wh
>
>
> > Kevin Brace hat am 21. Februar 2019 um 20:55
> > geschrieben:
> >
> >
> > Signed-off-by: Kevin Brace
> > ---
> > src/blade_accel.c | 491
> > +++---
> > 1 file changed, 244 insertions(+), 247 deletions(-)
> >
> > diff --git a/src/blade_accel.c b/src/blade_accel.c
> > index 1645e1d..86a67a2 100644
> > --- a/src/blade_accel.c
> > +++ b/src/blade_accel.c
> > @@ -45,72 +45,72 @@
> > static void BladeSync(ScrnInfoPtr pScrn);
> > #if 0
> > static void BladeSetupForSolidLine(ScrnInfoPtr pScrn, int color,
> > - int rop, unsigned int planemask);
> > +int rop, unsigned int planemask);
> > static void BladeSubsequentSolidBresenhamLine(ScrnInfoPtr pScrn,
> > - int x, int y, int dmaj, int dmin, int e,
> > - int len, int octant);
> > +int x, int y, int dmaj, int dmin, int e,
> > +int len, int octant);
> > static void BladeSubsequentSolidTwoPointLine( ScrnInfoPtr pScrn,
> > - int x1, int y1, int x2, int y2, int flags);
> > +int x1, int y1, int x2, int y2, int flags);
> > static void BladeSetupForDashedLine(ScrnInfoPtr pScrn, int fg, int bg,
> > - int rop, unsigned int planemask, int length,
> > - unsigned char *pattern);
> > +int rop, unsigned int planemask, int length,
> > +unsigned char *pattern);
> > static void BladeSubsequentDashedTwoPointLine( ScrnInfoPtr pScrn,
> > - int x1, int y1, int x2, int y2, int flags,
> > - int phase);
> > +int x1, int y1, int x2, int y2, int flags,
> > +int phase);
> > #endif
> > static void BladeSetupForFillRectSolid(ScrnInfoPtr pScrn, int color,
> > - int rop, unsigned int planemask);
> > +int rop, unsigned int planemask);
> > static void BladeSubsequentFillRectSolid(ScrnInfoPtr pScrn, int x,
> > - int y, int w, int h);
> > +int y, int w, int h);
> > static void BladeSubsequentScreenToScreenCopy(ScrnInfoPtr pScrn,
> > - int x1, int y1, int x2,
> > - int y2, int w, int h);
> > +int x1, int y1, int x2,
> > +int y2, int w, int h);
> > static void BladeSetupForScreenToScreenCopy(ScrnInfoPtr pScrn,
> > - int xdir, int ydir, int rop,
> > -unsigned int planemask,
> > - int transparency_color);
> > +int xdir, int ydir, int rop,
> > +unsigned int planemask,
> > +int transparency_color);
> > #if 0
> > static void BladeSetupForScreenToScreenColorExpand(ScrnInfoPtr pScrn,
> > - int fg, int bg, int rop,
> > - unsigned int planemask);
> > +int fg, int bg, int rop,
> > +unsigned int planemask);
> > static void BladeSubsequentScreenToScreenColorExpand(ScrnInfoPtr pScrn,
> > - int x, int y, int w, int h, int srcx,
> > int srcy,
> > - int offset);
> > +int x, int y, int w, int h, int srcx, int srcy,
> > +int offset);
> > #endif
> > static void BladeSetupForCPUToScreenColorExpand(ScrnInfoPtr pScrn,
> > - int fg, int bg, int rop,
> > - unsigned int planemask);
> > +int fg, int bg, int rop,
> > +unsigned int planemask);
> > static void BladeSubsequentCPUToScreenColorExpand(ScrnInfoPtr pScrn,
> > - int x, int y, int w, int h, int skipleft);
> > -static void BladeSetClippingRectangle(ScrnInfoPtr pScrn, int x1, int y1,
> > - int x2, int y2);
> > +int x, int y, int w, int h, int skipleft);
> > +static void BladeSetClippingRectangle(ScrnInfoPtr pScrn, int x1, int y1,
> > +int x2, int y2);
> > static void BladeDisableClipping(ScrnInfoPtr pScrn);
> > -static void BladeSetupForMono8x8PatternFill(ScrnInfoPtr pScrn,
> > - int patternx, int patterny, int fg, int bg,
> > - int rop, unsigned int planemask);
> > -static void BladeSubsequentMono8x8PatternFillRect(ScrnInfoPtr pScrn,
> > - int patternx, int patterny, int x, int y,
> > - int w, int h);
> > +static void