diff options
author | Adam Jackson <ajax@redhat.com> | 2008-04-11 09:47:51 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-04-11 09:47:51 -0400 |
commit | 0dab6fa3582b70ccd0f01459902415c28dbc81ff (patch) | |
tree | 03b5e217d7132d5878c42a60ca7ee7683af1b414 /hw/xfree86/xf8_32bpp/cfbpntwin.c | |
parent | 059b4876e6350aa1110648788cdfbb3f45b4d66d (diff) |
So long, and thanks for all the cfb.
Diffstat (limited to 'hw/xfree86/xf8_32bpp/cfbpntwin.c')
-rw-r--r-- | hw/xfree86/xf8_32bpp/cfbpntwin.c | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/hw/xfree86/xf8_32bpp/cfbpntwin.c b/hw/xfree86/xf8_32bpp/cfbpntwin.c deleted file mode 100644 index fbf597d22..000000000 --- a/hw/xfree86/xf8_32bpp/cfbpntwin.c +++ /dev/null @@ -1,51 +0,0 @@ - -#ifdef HAVE_XORG_CONFIG_H -#include <xorg-config.h> -#endif - -#include <X11/X.h> - -#include "windowstr.h" -#include "regionstr.h" -#include "pixmapstr.h" -#include "scrnintstr.h" - -#define PSZ 8 -#include "cfb.h" -#undef PSZ -#include "cfb32.h" -#include "cfb8_32.h" -#include "mi.h" - -#ifdef PANORAMIX -#include "panoramiX.h" -#include "panoramiXsrv.h" -#endif - -void -cfb8_32FillBoxSolid8( - DrawablePtr pDraw, - int nbox, - BoxPtr pbox, - unsigned long color -){ - CARD8 *ptr, *data; - int pitch, height, width, i; - CARD8 c = (CARD8)color; - - cfbGetByteWidthAndPointer(pDraw, pitch, ptr); - ptr += 3; /* point to the top byte */ - - while(nbox--) { - data = ptr + (pbox->y1 * pitch) + (pbox->x1 << 2); - width = (pbox->x2 - pbox->x1) << 2; - height = pbox->y2 - pbox->y1; - - while(height--) { - for(i = 0; i < width; i+=4) - data[i] = c; - data += pitch; - } - pbox++; - } -} |