mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-04 22:36:10 +00:00
fb: drop defines that aren't used/necessary anymore.
This was generated by: cd fb coan source --replace -DFB_SCREEN_PRIVATE -DFB_24BIT -DFB_24_32BIT -DFB_SCREEN_PRIVATE -UFBNOPIXADDR -UFBNO24BIT -UFBNO24_32 *.[ch] A follow up patch readds the FB_24_32BIT define for Intel UXA. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
e0a2ad51df
commit
be9cfb249d
21 changed files with 0 additions and 155 deletions
|
|
@ -114,7 +114,6 @@ fbPolyLine (DrawablePtr pDrawable,
|
|||
if (pGC->lineWidth == 0)
|
||||
{
|
||||
line = fbZeroLine;
|
||||
#ifndef FBNOPIXADDR
|
||||
if (pGC->fillStyle == FillSolid &&
|
||||
pGC->lineStyle == LineSolid &&
|
||||
RegionNumRects (fbGetCompositeClip(pGC)) == 1)
|
||||
|
|
@ -122,13 +121,10 @@ fbPolyLine (DrawablePtr pDrawable,
|
|||
switch (pDrawable->bitsPerPixel) {
|
||||
case 8: line = fbPolyline8; break;
|
||||
case 16: line = fbPolyline16; break;
|
||||
#ifdef FB_24BIT
|
||||
case 24: line = fbPolyline24; break;
|
||||
#endif
|
||||
case 32: line = fbPolyline32; break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -151,7 +147,6 @@ fbPolySegment (DrawablePtr pDrawable,
|
|||
if (pGC->lineWidth == 0)
|
||||
{
|
||||
seg = fbZeroSegment;
|
||||
#ifndef FBNOPIXADDR
|
||||
if (pGC->fillStyle == FillSolid &&
|
||||
pGC->lineStyle == LineSolid &&
|
||||
RegionNumRects (fbGetCompositeClip(pGC)) == 1)
|
||||
|
|
@ -159,13 +154,10 @@ fbPolySegment (DrawablePtr pDrawable,
|
|||
switch (pDrawable->bitsPerPixel) {
|
||||
case 8: seg = fbPolySegment8; break;
|
||||
case 16: seg = fbPolySegment16; break;
|
||||
#ifdef FB_24BIT
|
||||
case 24: seg = fbPolySegment24; break;
|
||||
#endif
|
||||
case 32: seg = fbPolySegment32; break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue