2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
#ifndef _XAALOCAL_H
|
|
|
|
#define _XAALOCAL_H
|
|
|
|
|
|
|
|
/* This file is very unorganized ! */
|
|
|
|
|
|
|
|
|
|
|
|
#include "gcstruct.h"
|
|
|
|
#include "regionstr.h"
|
|
|
|
#include "xf86fbman.h"
|
|
|
|
#include "xaa.h"
|
|
|
|
#include "mi.h"
|
|
|
|
#include "picturestr.h"
|
|
|
|
|
|
|
|
#define GCWhenForced (GCArcMode << 1)
|
|
|
|
|
|
|
|
#define DO_COLOR_8x8 0x00000001
|
|
|
|
#define DO_MONO_8x8 0x00000002
|
|
|
|
#define DO_CACHE_BLT 0x00000003
|
|
|
|
#define DO_COLOR_EXPAND 0x00000004
|
|
|
|
#define DO_CACHE_EXPAND 0x00000005
|
|
|
|
#define DO_IMAGE_WRITE 0x00000006
|
|
|
|
#define DO_PIXMAP_COPY 0x00000007
|
|
|
|
#define DO_SOLID 0x00000008
|
|
|
|
|
|
|
|
|
|
|
|
typedef CARD32 * (*GlyphScanlineFuncPtr)(
|
|
|
|
CARD32 *base, unsigned int **glyphp, int line, int nglyph, int width
|
|
|
|
);
|
|
|
|
|
|
|
|
typedef CARD32 *(*StippleScanlineProcPtr)(CARD32*, CARD32*, int, int, int);
|
|
|
|
|
|
|
|
typedef void (*RectFuncPtr) (ScrnInfoPtr, int, int, int, int, int, int,
|
|
|
|
XAACacheInfoPtr);
|
|
|
|
typedef void (*TrapFuncPtr) (ScrnInfoPtr, int, int, int, int, int, int,
|
|
|
|
int, int, int, int, int, int,
|
|
|
|
XAACacheInfoPtr);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct _XAAScreen {
|
|
|
|
CreateGCProcPtr CreateGC;
|
|
|
|
CloseScreenProcPtr CloseScreen;
|
|
|
|
GetImageProcPtr GetImage;
|
|
|
|
GetSpansProcPtr GetSpans;
|
|
|
|
CopyWindowProcPtr CopyWindow;
|
|
|
|
WindowExposuresProcPtr WindowExposures;
|
|
|
|
CreatePixmapProcPtr CreatePixmap;
|
|
|
|
DestroyPixmapProcPtr DestroyPixmap;
|
|
|
|
ChangeWindowAttributesProcPtr ChangeWindowAttributes;
|
|
|
|
XAAInfoRecPtr AccelInfoRec;
|
|
|
|
Bool (*EnterVT)(int, int);
|
|
|
|
void (*LeaveVT)(int, int);
|
|
|
|
int (*SetDGAMode)(int, int, DGADevicePtr);
|
|
|
|
void (*EnableDisableFBAccess)(int, Bool);
|
|
|
|
CompositeProcPtr Composite;
|
|
|
|
GlyphsProcPtr Glyphs;
|
|
|
|
} XAAScreenRec, *XAAScreenPtr;
|
|
|
|
|
|
|
|
#define OPS_ARE_PIXMAP 0x00000001
|
|
|
|
#define OPS_ARE_ACCEL 0x00000002
|
|
|
|
|
|
|
|
typedef struct _XAAGC {
|
|
|
|
GCOps *wrapOps;
|
|
|
|
GCFuncs *wrapFuncs;
|
|
|
|
GCOps *XAAOps;
|
|
|
|
int DashLength;
|
|
|
|
unsigned char* DashPattern;
|
|
|
|
unsigned long changes;
|
|
|
|
unsigned long flags;
|
|
|
|
} XAAGCRec, *XAAGCPtr;
|
|
|
|
|
|
|
|
#define REDUCIBILITY_CHECKED 0x00000001
|
|
|
|
#define REDUCIBLE_TO_8x8 0x00000002
|
|
|
|
#define REDUCIBLE_TO_2_COLOR 0x00000004
|
|
|
|
#define DIRTY 0x00010000
|
|
|
|
#define OFFSCREEN 0x00020000
|
|
|
|
#define DGA_PIXMAP 0x00040000
|
|
|
|
#define SHARED_PIXMAP 0x00080000
|
|
|
|
#define LOCKED_PIXMAP 0x00100000
|
|
|
|
|
|
|
|
#define REDUCIBILITY_MASK \
|
|
|
|
(REDUCIBILITY_CHECKED | REDUCIBLE_TO_8x8 | REDUCIBLE_TO_2_COLOR)
|
|
|
|
|
|
|
|
typedef struct _XAAPixmap {
|
|
|
|
unsigned long flags;
|
|
|
|
CARD32 pattern0;
|
|
|
|
CARD32 pattern1;
|
|
|
|
int fg;
|
|
|
|
int bg;
|
|
|
|
FBAreaPtr offscreenArea;
|
|
|
|
Bool freeData;
|
|
|
|
} XAAPixmapRec, *XAAPixmapPtr;
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool
|
2006-11-26 11:13:41 -07:00
|
|
|
XAACreateGC(
|
|
|
|
GCPtr pGC
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAInitAccel(
|
|
|
|
ScreenPtr pScreen,
|
|
|
|
XAAInfoRecPtr infoRec
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT RegionPtr
|
2006-11-26 11:13:41 -07:00
|
|
|
XAABitBlt(
|
|
|
|
DrawablePtr pSrcDrawable,
|
|
|
|
DrawablePtr pDstDrawable,
|
|
|
|
GC *pGC,
|
|
|
|
int srcx,
|
|
|
|
int srcy,
|
|
|
|
int width,
|
|
|
|
int height,
|
|
|
|
int dstx,
|
|
|
|
int dsty,
|
|
|
|
void (*doBitBlt)(DrawablePtr, DrawablePtr, GCPtr, RegionPtr, DDXPointPtr),
|
|
|
|
unsigned long bitPlane
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAScreenToScreenBitBlt(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int nbox,
|
|
|
|
DDXPointPtr pptSrc,
|
|
|
|
BoxPtr pbox,
|
|
|
|
int xdir,
|
|
|
|
int ydir,
|
|
|
|
int alu,
|
|
|
|
unsigned int planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAADoBitBlt(
|
|
|
|
DrawablePtr pSrc,
|
|
|
|
DrawablePtr pDst,
|
|
|
|
GC *pGC,
|
|
|
|
RegionPtr prgnDst,
|
|
|
|
DDXPointPtr pptSrc
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAADoImageWrite(
|
|
|
|
DrawablePtr pSrc,
|
|
|
|
DrawablePtr pDst,
|
|
|
|
GC *pGC,
|
|
|
|
RegionPtr prgnDst,
|
|
|
|
DDXPointPtr pptSrc
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAADoImageRead(
|
|
|
|
DrawablePtr pSrc,
|
|
|
|
DrawablePtr pDst,
|
|
|
|
GC *pGC,
|
|
|
|
RegionPtr prgnDst,
|
|
|
|
DDXPointPtr pptSrc
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAACopyWindow(
|
|
|
|
WindowPtr pWin,
|
|
|
|
DDXPointRec ptOldOrg,
|
|
|
|
RegionPtr prgnSrc
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT RegionPtr
|
2006-11-26 11:13:41 -07:00
|
|
|
XAACopyArea(
|
|
|
|
DrawablePtr pSrcDrawable,
|
|
|
|
DrawablePtr pDstDrawable,
|
|
|
|
GC *pGC,
|
|
|
|
int srcx,
|
|
|
|
int srcy,
|
|
|
|
int width,
|
|
|
|
int height,
|
|
|
|
int dstx,
|
|
|
|
int dsty
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAValidateCopyArea(
|
|
|
|
GCPtr pGC,
|
|
|
|
unsigned long changes,
|
|
|
|
DrawablePtr pDraw
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAValidatePutImage(
|
|
|
|
GCPtr pGC,
|
|
|
|
unsigned long changes,
|
|
|
|
DrawablePtr pDraw
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAValidateCopyPlane(
|
|
|
|
GCPtr pGC,
|
|
|
|
unsigned long changes,
|
|
|
|
DrawablePtr pDraw
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAValidatePushPixels(
|
|
|
|
GCPtr pGC,
|
|
|
|
unsigned long changes,
|
|
|
|
DrawablePtr pDraw
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAValidateFillSpans(
|
|
|
|
GCPtr pGC,
|
|
|
|
unsigned long changes,
|
|
|
|
DrawablePtr pDraw
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAValidatePolyGlyphBlt(
|
|
|
|
GCPtr pGC,
|
|
|
|
unsigned long changes,
|
|
|
|
DrawablePtr pDraw
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAValidateImageGlyphBlt(
|
|
|
|
GCPtr pGC,
|
|
|
|
unsigned long changes,
|
|
|
|
DrawablePtr pDraw
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAValidatePolylines(
|
|
|
|
GCPtr pGC,
|
|
|
|
unsigned long changes,
|
|
|
|
DrawablePtr pDraw
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT RegionPtr
|
2006-11-26 11:13:41 -07:00
|
|
|
XAACopyPlaneColorExpansion(
|
|
|
|
DrawablePtr pSrc,
|
|
|
|
DrawablePtr pDst,
|
|
|
|
GCPtr pGC,
|
|
|
|
int srcx,
|
|
|
|
int srcy,
|
|
|
|
int width,
|
|
|
|
int height,
|
|
|
|
int dstx,
|
|
|
|
int dsty,
|
|
|
|
unsigned long bitPlane
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAPushPixelsSolidColorExpansion(
|
|
|
|
GCPtr pGC,
|
|
|
|
PixmapPtr pBitMap,
|
|
|
|
DrawablePtr pDrawable,
|
|
|
|
int dx,
|
|
|
|
int dy,
|
|
|
|
int xOrg,
|
|
|
|
int yOrg
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWriteBitmapColorExpandMSBFirstFixedBase (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int skipleft,
|
|
|
|
int fg, int bg,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWriteBitmapColorExpand3MSBFirstFixedBase (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int skipleft,
|
|
|
|
int fg, int bg,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWriteBitmapColorExpandMSBFirst (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int skipleft,
|
|
|
|
int fg, int bg,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWriteBitmapColorExpand3MSBFirst (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int skipleft,
|
|
|
|
int fg, int bg,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWriteBitmapColorExpandLSBFirstFixedBase (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int skipleft,
|
|
|
|
int fg, int bg,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWriteBitmapColorExpand3LSBFirstFixedBase (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int skipleft,
|
|
|
|
int fg, int bg,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWriteBitmapColorExpandLSBFirst (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int skipleft,
|
|
|
|
int fg, int bg,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWriteBitmapColorExpand3LSBFirst (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int skipleft,
|
|
|
|
int fg, int bg,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWriteBitmapScanlineColorExpandMSBFirst (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int skipleft,
|
|
|
|
int fg, int bg,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWriteBitmapScanlineColorExpand3MSBFirst (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int skipleft,
|
|
|
|
int fg, int bg,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWriteBitmapScanlineColorExpandMSBFirstFixedBase (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int skipleft,
|
|
|
|
int fg, int bg,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWriteBitmapScanlineColorExpand3MSBFirstFixedBase (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int skipleft,
|
|
|
|
int fg, int bg,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWriteBitmapScanlineColorExpandLSBFirst (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int skipleft,
|
|
|
|
int fg, int bg,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWriteBitmapScanlineColorExpand3LSBFirst (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int skipleft,
|
|
|
|
int fg, int bg,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWriteBitmapScanlineColorExpandLSBFirstFixedBase (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int skipleft,
|
|
|
|
int fg, int bg,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWriteBitmapScanlineColorExpand3LSBFirstFixedBase (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int skipleft,
|
|
|
|
int fg, int bg,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWritePixmap (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int transparency_color,
|
|
|
|
int bpp, int depth
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWritePixmapScanline (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int transparency_color,
|
|
|
|
int bpp, int depth
|
|
|
|
);
|
|
|
|
|
|
|
|
typedef void (*ClipAndRenderRectsFunc)(GCPtr, int, BoxPtr, int, int);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAClipAndRenderRects(
|
|
|
|
GCPtr pGC,
|
|
|
|
ClipAndRenderRectsFunc func,
|
|
|
|
int nrectFill,
|
|
|
|
xRectangle *prectInit,
|
|
|
|
int xorg, int yorg
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
typedef void (*ClipAndRenderSpansFunc)(GCPtr, int, DDXPointPtr, int*,
|
|
|
|
int, int, int);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAClipAndRenderSpans(
|
|
|
|
GCPtr pGC,
|
|
|
|
DDXPointPtr ppt,
|
|
|
|
int *pwidth,
|
|
|
|
int nspans,
|
|
|
|
int fSorted,
|
|
|
|
ClipAndRenderSpansFunc func,
|
|
|
|
int xorg,
|
|
|
|
int yorg
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillSolidRects(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int nBox,
|
|
|
|
BoxPtr pBox
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillMono8x8PatternRects(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int nBox,
|
|
|
|
BoxPtr pBox,
|
|
|
|
int pat0, int pat1,
|
|
|
|
int xorg, int yorg
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillMono8x8PatternRectsScreenOrigin(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int nBox,
|
|
|
|
BoxPtr pBox,
|
|
|
|
int pat0, int pat1,
|
|
|
|
int xorg, int yorg
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillColor8x8PatternRectsScreenOrigin(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int nBox,
|
|
|
|
BoxPtr pBox,
|
|
|
|
int xorigin, int yorigin,
|
|
|
|
XAACacheInfoPtr pCache
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillColor8x8PatternRects(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int nBox,
|
|
|
|
BoxPtr pBox,
|
|
|
|
int xorigin, int yorigin,
|
|
|
|
XAACacheInfoPtr pCache
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillCacheBltRects(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int nBox,
|
|
|
|
BoxPtr pBox,
|
|
|
|
int xorg, int yorg,
|
|
|
|
XAACacheInfoPtr pCache
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillCacheExpandRects(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int nBox,
|
|
|
|
BoxPtr pBox,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillImageWriteRects(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int nBox,
|
|
|
|
BoxPtr pBox,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAPolyFillRect(
|
|
|
|
DrawablePtr pDraw,
|
|
|
|
GCPtr pGC,
|
|
|
|
int nrectFill,
|
|
|
|
xRectangle *prectInit
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAATEGlyphRendererMSBFirstFixedBase (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h, int skipleft, int startline,
|
|
|
|
unsigned int **glyphs, int glyphWidth,
|
|
|
|
int fg, int bg, int rop, unsigned planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAATEGlyphRenderer3MSBFirstFixedBase (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h, int skipleft, int startline,
|
|
|
|
unsigned int **glyphs, int glyphWidth,
|
|
|
|
int fg, int bg, int rop, unsigned planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAATEGlyphRendererMSBFirst (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h, int skipleft, int startline,
|
|
|
|
unsigned int **glyphs, int glyphWidth,
|
|
|
|
int fg, int bg, int rop, unsigned planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAATEGlyphRenderer3MSBFirst (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h, int skipleft, int startline,
|
|
|
|
unsigned int **glyphs, int glyphWidth,
|
|
|
|
int fg, int bg, int rop, unsigned planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAATEGlyphRendererLSBFirstFixedBase (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h, int skipleft, int startline,
|
|
|
|
unsigned int **glyphs, int glyphWidth,
|
|
|
|
int fg, int bg, int rop, unsigned planemask
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAATEGlyphRenderer3LSBFirstFixedBase (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h, int skipleft, int startline,
|
|
|
|
unsigned int **glyphs, int glyphWidth,
|
|
|
|
int fg, int bg, int rop, unsigned planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAATEGlyphRendererLSBFirst (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h, int skipleft, int startline,
|
|
|
|
unsigned int **glyphs, int glyphWidth,
|
|
|
|
int fg, int bg, int rop, unsigned planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAATEGlyphRenderer3LSBFirst (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h, int skipleft, int startline,
|
|
|
|
unsigned int **glyphs, int glyphWidth,
|
|
|
|
int fg, int bg, int rop, unsigned planemask
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAATEGlyphRendererScanlineMSBFirst (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h, int skipleft, int startline,
|
|
|
|
unsigned int **glyphs, int glyphWidth,
|
|
|
|
int fg, int bg, int rop, unsigned planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAATEGlyphRendererScanline3MSBFirst (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h, int skipleft, int startline,
|
|
|
|
unsigned int **glyphs, int glyphWidth,
|
|
|
|
int fg, int bg, int rop, unsigned planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAATEGlyphRendererScanlineLSBFirst (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h, int skipleft, int startline,
|
|
|
|
unsigned int **glyphs, int glyphWidth,
|
|
|
|
int fg, int bg, int rop, unsigned planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAATEGlyphRendererScanline3LSBFirst (
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h, int skipleft, int startline,
|
|
|
|
unsigned int **glyphs, int glyphWidth,
|
|
|
|
int fg, int bg, int rop, unsigned planemask
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT CARD32 *(*XAAGlyphScanlineFuncMSBFirstFixedBase[32])(
|
2006-11-26 11:13:41 -07:00
|
|
|
CARD32 *base, unsigned int **glyphp, int line, int nglyph, int width
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT CARD32 *(*XAAGlyphScanlineFuncMSBFirst[32])(
|
2006-11-26 11:13:41 -07:00
|
|
|
CARD32 *base, unsigned int **glyphp, int line, int nglyph, int width
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT CARD32 *(*XAAGlyphScanlineFuncLSBFirstFixedBase[32])(
|
2006-11-26 11:13:41 -07:00
|
|
|
CARD32 *base, unsigned int **glyphp, int line, int nglyph, int width
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT CARD32 *(*XAAGlyphScanlineFuncLSBFirst[32])(
|
2006-11-26 11:13:41 -07:00
|
|
|
CARD32 *base, unsigned int **glyphp, int line, int nglyph, int width
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT GlyphScanlineFuncPtr *XAAGetGlyphScanlineFuncMSBFirstFixedBase(void);
|
|
|
|
extern _X_EXPORT GlyphScanlineFuncPtr *XAAGetGlyphScanlineFuncMSBFirst(void);
|
|
|
|
extern _X_EXPORT GlyphScanlineFuncPtr *XAAGetGlyphScanlineFuncLSBFirstFixedBase(void);
|
|
|
|
extern _X_EXPORT GlyphScanlineFuncPtr *XAAGetGlyphScanlineFuncLSBFirst(void);
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillColorExpandRectsLSBFirst(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int nBox,
|
|
|
|
BoxPtr pBox,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillColorExpandRects3LSBFirst(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int nBox,
|
|
|
|
BoxPtr pBox,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillColorExpandRectsLSBFirstFixedBase(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int nBox,
|
|
|
|
BoxPtr pBox,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillColorExpandRects3LSBFirstFixedBase(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int nBox,
|
|
|
|
BoxPtr pBox,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillColorExpandRectsMSBFirst(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int nBox,
|
|
|
|
BoxPtr pBox,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillColorExpandRects3MSBFirst(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int nBox,
|
|
|
|
BoxPtr pBox,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillColorExpandRectsMSBFirstFixedBase(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int nBox,
|
|
|
|
BoxPtr pBox,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillColorExpandRects3MSBFirstFixedBase(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int nBox,
|
|
|
|
BoxPtr pBox,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillScanlineColorExpandRectsLSBFirst(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int nBox,
|
|
|
|
BoxPtr pBox,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillScanlineColorExpandRects3LSBFirst(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int nBox,
|
|
|
|
BoxPtr pBox,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillScanlineColorExpandRectsMSBFirst(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int nBox,
|
|
|
|
BoxPtr pBox,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillScanlineColorExpandRects3MSBFirst(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int nBox,
|
|
|
|
BoxPtr pBox,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillColorExpandSpansLSBFirst(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int n,
|
|
|
|
DDXPointPtr ppt,
|
|
|
|
int *pwidth,
|
|
|
|
int fSorted,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillColorExpandSpans3LSBFirst(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int n,
|
|
|
|
DDXPointPtr ppt,
|
|
|
|
int *pwidth,
|
|
|
|
int fSorted,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillColorExpandSpansLSBFirstFixedBase(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int n,
|
|
|
|
DDXPointPtr ppt,
|
|
|
|
int *pwidth,
|
|
|
|
int fSorted,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillColorExpandSpans3LSBFirstFixedBase(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int n,
|
|
|
|
DDXPointPtr ppt,
|
|
|
|
int *pwidth,
|
|
|
|
int fSorted,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillColorExpandSpansMSBFirst(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int n,
|
|
|
|
DDXPointPtr ppt,
|
|
|
|
int *pwidth,
|
|
|
|
int fSorted,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillColorExpandSpans3MSBFirst(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int n,
|
|
|
|
DDXPointPtr ppt,
|
|
|
|
int *pwidth,
|
|
|
|
int fSorted,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillColorExpandSpansMSBFirstFixedBase(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int n,
|
|
|
|
DDXPointPtr ppt,
|
|
|
|
int *pwidth,
|
|
|
|
int fSorted,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillColorExpandSpans3MSBFirstFixedBase(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int n,
|
|
|
|
DDXPointPtr ppt,
|
|
|
|
int *pwidth,
|
|
|
|
int fSorted,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillScanlineColorExpandSpansLSBFirst(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int n,
|
|
|
|
DDXPointPtr ppt,
|
|
|
|
int *pwidth,
|
|
|
|
int fSorted,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillScanlineColorExpandSpans3LSBFirst(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int n,
|
|
|
|
DDXPointPtr ppt,
|
|
|
|
int *pwidth,
|
|
|
|
int fSorted,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAPutImage(
|
|
|
|
DrawablePtr pDraw,
|
|
|
|
GCPtr pGC,
|
|
|
|
int depth,
|
|
|
|
int x,
|
|
|
|
int y,
|
|
|
|
int w,
|
|
|
|
int h,
|
|
|
|
int leftPad,
|
|
|
|
int format,
|
|
|
|
char *pImage
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillScanlineColorExpandSpansMSBFirst(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int n,
|
|
|
|
DDXPointPtr ppt,
|
|
|
|
int *pwidth,
|
|
|
|
int fSorted,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillScanlineColorExpandSpans3MSBFirst(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int n,
|
|
|
|
DDXPointPtr ppt,
|
|
|
|
int *pwidth,
|
|
|
|
int fSorted,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT CARD32 *(*XAAStippleScanlineFuncMSBFirstFixedBase[6])(
|
2006-11-26 11:13:41 -07:00
|
|
|
CARD32* base, CARD32* src, int offset, int width, int dwords
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT CARD32 *(*XAAStippleScanlineFuncMSBFirst[6])(
|
2006-11-26 11:13:41 -07:00
|
|
|
CARD32* base, CARD32* src, int offset, int width, int dwords
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT CARD32 *(*XAAStippleScanlineFuncLSBFirstFixedBase[6])(
|
2006-11-26 11:13:41 -07:00
|
|
|
CARD32* base, CARD32* src, int offset, int width, int dwords
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT CARD32 *(*XAAStippleScanlineFuncLSBFirst[6])(
|
2006-11-26 11:13:41 -07:00
|
|
|
CARD32* base, CARD32* src, int offset, int width, int dwords
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT StippleScanlineProcPtr *XAAGetStippleScanlineFuncMSBFirstFixedBase(void);
|
|
|
|
extern _X_EXPORT StippleScanlineProcPtr *XAAGetStippleScanlineFuncMSBFirst(void);
|
|
|
|
extern _X_EXPORT StippleScanlineProcPtr *XAAGetStippleScanlineFuncLSBFirstFixedBase(void);
|
|
|
|
extern _X_EXPORT StippleScanlineProcPtr *XAAGetStippleScanlineFuncLSBFirst(void);
|
|
|
|
extern _X_EXPORT StippleScanlineProcPtr *XAAGetStippleScanlineFunc3MSBFirstFixedBase(void);
|
|
|
|
extern _X_EXPORT StippleScanlineProcPtr *XAAGetStippleScanlineFunc3MSBFirst(void);
|
|
|
|
extern _X_EXPORT StippleScanlineProcPtr *XAAGetStippleScanlineFunc3LSBFirstFixedBase(void);
|
|
|
|
extern _X_EXPORT StippleScanlineProcPtr *XAAGetStippleScanlineFunc3LSBFirst(void);
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT int
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAPolyText8TEColorExpansion(
|
|
|
|
DrawablePtr pDraw,
|
|
|
|
GCPtr pGC,
|
|
|
|
int x, int y,
|
|
|
|
int count,
|
|
|
|
char *chars
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT int
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAPolyText16TEColorExpansion(
|
|
|
|
DrawablePtr pDraw,
|
|
|
|
GCPtr pGC,
|
|
|
|
int x, int y,
|
|
|
|
int count,
|
|
|
|
unsigned short *chars
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAImageText8TEColorExpansion(
|
|
|
|
DrawablePtr pDraw,
|
|
|
|
GCPtr pGC,
|
|
|
|
int x, int y,
|
|
|
|
int count,
|
|
|
|
char *chars
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAImageText16TEColorExpansion(
|
|
|
|
DrawablePtr pDraw,
|
|
|
|
GCPtr pGC,
|
|
|
|
int x, int y,
|
|
|
|
int count,
|
|
|
|
unsigned short *chars
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAImageGlyphBltTEColorExpansion(
|
|
|
|
DrawablePtr pDrawable,
|
|
|
|
GCPtr pGC,
|
|
|
|
int xInit, int yInit,
|
|
|
|
unsigned int nglyph,
|
|
|
|
CharInfoPtr *ppci,
|
|
|
|
pointer pglyphBase
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAPolyGlyphBltTEColorExpansion(
|
|
|
|
DrawablePtr pDrawable,
|
|
|
|
GCPtr pGC,
|
|
|
|
int xInit, int yInit,
|
|
|
|
unsigned int nglyph,
|
|
|
|
CharInfoPtr *ppci,
|
|
|
|
pointer pglyphBase
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT int
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAPolyText8NonTEColorExpansion(
|
|
|
|
DrawablePtr pDraw,
|
|
|
|
GCPtr pGC,
|
|
|
|
int x, int y,
|
|
|
|
int count,
|
|
|
|
char *chars
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT int
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAPolyText16NonTEColorExpansion(
|
|
|
|
DrawablePtr pDraw,
|
|
|
|
GCPtr pGC,
|
|
|
|
int x, int y,
|
|
|
|
int count,
|
|
|
|
unsigned short *chars
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAImageText8NonTEColorExpansion(
|
|
|
|
DrawablePtr pDraw,
|
|
|
|
GCPtr pGC,
|
|
|
|
int x, int y,
|
|
|
|
int count,
|
|
|
|
char *chars
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAImageText16NonTEColorExpansion(
|
|
|
|
DrawablePtr pDraw,
|
|
|
|
GCPtr pGC,
|
|
|
|
int x, int y,
|
|
|
|
int count,
|
|
|
|
unsigned short *chars
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAImageGlyphBltNonTEColorExpansion(
|
|
|
|
DrawablePtr pDrawable,
|
|
|
|
GCPtr pGC,
|
|
|
|
int xInit, int yInit,
|
|
|
|
unsigned int nglyph,
|
|
|
|
CharInfoPtr *ppci,
|
|
|
|
pointer pglyphBase
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAPolyGlyphBltNonTEColorExpansion(
|
|
|
|
DrawablePtr pDrawable,
|
|
|
|
GCPtr pGC,
|
|
|
|
int xInit, int yInit,
|
|
|
|
unsigned int nglyph,
|
|
|
|
CharInfoPtr *ppci,
|
|
|
|
pointer pglyphBase
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void XAANonTEGlyphRenderer(
|
2006-11-26 11:13:41 -07:00
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int n,
|
|
|
|
NonTEGlyphPtr glyphs,
|
|
|
|
BoxPtr pbox,
|
|
|
|
int fg, int rop,
|
|
|
|
unsigned int planemask
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillSolidSpans(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int n,
|
|
|
|
DDXPointPtr ppt,
|
|
|
|
int *pwidth, int fSorted
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillMono8x8PatternSpans(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int n,
|
|
|
|
DDXPointPtr ppt,
|
|
|
|
int *pwidth, int fSorted,
|
|
|
|
int patx, int paty,
|
|
|
|
int xorg, int yorg
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillMono8x8PatternSpansScreenOrigin(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int n,
|
|
|
|
DDXPointPtr ppt,
|
|
|
|
int *pwidth, int fSorted,
|
|
|
|
int patx, int paty,
|
|
|
|
int xorg, int yorg
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillColor8x8PatternSpansScreenOrigin(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int n,
|
|
|
|
DDXPointPtr ppt,
|
|
|
|
int *pwidth, int fSorted,
|
|
|
|
XAACacheInfoPtr,
|
|
|
|
int xorigin, int yorigin
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillColor8x8PatternSpans(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int n,
|
|
|
|
DDXPointPtr ppt,
|
|
|
|
int *pwidth, int fSorted,
|
|
|
|
XAACacheInfoPtr,
|
|
|
|
int xorigin, int yorigin
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillCacheBltSpans(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int n,
|
|
|
|
DDXPointPtr points,
|
|
|
|
int *widths,
|
|
|
|
int fSorted,
|
|
|
|
XAACacheInfoPtr pCache,
|
|
|
|
int xorg, int yorg
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillCacheExpandSpans(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int fg, int bg, int rop,
|
|
|
|
unsigned int planemask,
|
|
|
|
int n,
|
|
|
|
DDXPointPtr ppt,
|
|
|
|
int *pwidth,
|
|
|
|
int fSorted,
|
|
|
|
int xorg, int yorg,
|
|
|
|
PixmapPtr pPix
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillSpans(
|
|
|
|
DrawablePtr pDrawable,
|
|
|
|
GC *pGC,
|
|
|
|
int nInit,
|
|
|
|
DDXPointPtr pptInit,
|
|
|
|
int *pwidth,
|
|
|
|
int fSorted
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAInitPixmapCache(
|
|
|
|
ScreenPtr pScreen,
|
|
|
|
RegionPtr areas,
|
|
|
|
pointer data
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWriteBitmapToCache(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int fg, int bg
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWriteBitmapToCacheLinear(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int fg, int bg
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWritePixmapToCache(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int bpp, int depth
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWritePixmapToCacheLinear(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int w, int h,
|
|
|
|
unsigned char *src,
|
|
|
|
int srcwidth,
|
|
|
|
int bpp, int depth
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAASolidHorVertLineAsRects(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int len, int dir
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAASolidHorVertLineAsTwoPoint(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int len, int dir
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAASolidHorVertLineAsBresenham(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
int x, int y, int len, int dir
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAPolyRectangleThinSolid(
|
|
|
|
DrawablePtr pDrawable,
|
|
|
|
GCPtr pGC,
|
|
|
|
int nRectsInit,
|
|
|
|
xRectangle *pRectsInit
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAPolylinesWideSolid (
|
|
|
|
DrawablePtr pDrawable,
|
|
|
|
GCPtr pGC,
|
|
|
|
int mode,
|
|
|
|
int npt,
|
|
|
|
DDXPointPtr pPts
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillPolygonSolid(
|
|
|
|
DrawablePtr pDrawable,
|
|
|
|
GCPtr pGC,
|
|
|
|
int shape,
|
|
|
|
int mode,
|
|
|
|
int count,
|
|
|
|
DDXPointPtr ptsIn
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillPolygonStippled(
|
|
|
|
DrawablePtr pDrawable,
|
|
|
|
GCPtr pGC,
|
|
|
|
int shape,
|
|
|
|
int mode,
|
|
|
|
int count,
|
|
|
|
DDXPointPtr ptsIn
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillPolygonTiled(
|
|
|
|
DrawablePtr pDrawable,
|
|
|
|
GCPtr pGC,
|
|
|
|
int shape,
|
|
|
|
int mode,
|
|
|
|
int count,
|
|
|
|
DDXPointPtr ptsIn
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT int
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAIsEasyPolygon(
|
|
|
|
DDXPointPtr ptsIn,
|
|
|
|
int count,
|
|
|
|
BoxPtr extents,
|
|
|
|
int origin,
|
|
|
|
DDXPointPtr *topPoint,
|
|
|
|
int *topY, int *bottomY,
|
|
|
|
int shape
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAFillPolygonHelper(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
DDXPointPtr ptsIn,
|
|
|
|
int count,
|
|
|
|
DDXPointPtr topPoint,
|
|
|
|
int y,
|
|
|
|
int maxy,
|
|
|
|
int origin,
|
|
|
|
RectFuncPtr RectFunc,
|
|
|
|
TrapFuncPtr TrapFunc,
|
|
|
|
int xorg,
|
|
|
|
int yorg,
|
|
|
|
XAACacheInfoPtr pCache
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAPolySegment(
|
|
|
|
DrawablePtr pDrawable,
|
|
|
|
GCPtr pGC,
|
|
|
|
int nseg,
|
|
|
|
xSegment *pSeg
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAPolyLines(
|
|
|
|
DrawablePtr pDrawable,
|
|
|
|
GCPtr pGC,
|
|
|
|
int mode,
|
|
|
|
int npt,
|
|
|
|
DDXPointPtr pptInit
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAPolySegmentDashed(
|
|
|
|
DrawablePtr pDrawable,
|
|
|
|
GCPtr pGC,
|
|
|
|
int nseg,
|
|
|
|
xSegment *pSeg
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAPolyLinesDashed(
|
|
|
|
DrawablePtr pDrawable,
|
|
|
|
GCPtr pGC,
|
|
|
|
int mode,
|
|
|
|
int npt,
|
|
|
|
DDXPointPtr pptInit
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWriteMono8x8PatternToCache(ScrnInfoPtr pScrn, XAACacheInfoPtr pCache);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAWriteColor8x8PatternToCache(
|
|
|
|
ScrnInfoPtr pScrn,
|
|
|
|
PixmapPtr pPix,
|
|
|
|
XAACacheInfoPtr pCache
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAARotateMonoPattern(
|
|
|
|
int *pat0, int *pat1,
|
|
|
|
int xoffset, int yoffset,
|
|
|
|
Bool msbfirst
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void XAAComputeDash(GCPtr pGC);
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void XAAMoveDWORDS_FixedBase(
|
2006-11-26 11:13:41 -07:00
|
|
|
register CARD32* dest,
|
|
|
|
register CARD32* src,
|
|
|
|
register int dwords
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void XAAMoveDWORDS_FixedSrc(
|
2006-11-26 11:13:41 -07:00
|
|
|
register CARD32* dest,
|
|
|
|
register CARD32* src,
|
|
|
|
register int dwords
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void XAAMoveDWORDS(
|
2006-11-26 11:13:41 -07:00
|
|
|
register CARD32* dest,
|
|
|
|
register CARD32* src,
|
|
|
|
register int dwords
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT int
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAGetRectClipBoxes(
|
|
|
|
GCPtr pGC,
|
|
|
|
BoxPtr pboxClippedBase,
|
|
|
|
int nrectFill,
|
|
|
|
xRectangle *prectInit
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAASetupOverlay8_32Planar(ScreenPtr);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAPolyFillArcSolid(DrawablePtr pDraw, GCPtr pGC, int narcs, xArc *parcs);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT XAACacheInfoPtr
|
2006-11-26 11:13:41 -07:00
|
|
|
XAACacheTile(ScrnInfoPtr Scrn, PixmapPtr pPix);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT XAACacheInfoPtr
|
2006-11-26 11:13:41 -07:00
|
|
|
XAACacheMonoStipple(ScrnInfoPtr Scrn, PixmapPtr pPix);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT XAACacheInfoPtr
|
2006-11-26 11:13:41 -07:00
|
|
|
XAACachePlanarMonoStipple(ScrnInfoPtr Scrn, PixmapPtr pPix);
|
|
|
|
|
|
|
|
typedef XAACacheInfoPtr (*XAACachePlanarMonoStippleProc)(ScrnInfoPtr, PixmapPtr);
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT XAACachePlanarMonoStippleProc XAAGetCachePlanarMonoStipple(void);
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT XAACacheInfoPtr
|
2006-11-26 11:13:41 -07:00
|
|
|
XAACacheStipple(ScrnInfoPtr Scrn, PixmapPtr pPix, int fg, int bg);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT XAACacheInfoPtr
|
2006-11-26 11:13:41 -07:00
|
|
|
XAACacheMono8x8Pattern(ScrnInfoPtr Scrn, int pat0, int pat1);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT XAACacheInfoPtr
|
2006-11-26 11:13:41 -07:00
|
|
|
XAACacheColor8x8Pattern(ScrnInfoPtr Scrn, PixmapPtr pPix, int fg, int bg);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAATileCache(ScrnInfoPtr pScrn, XAACacheInfoPtr pCache, int w, int h);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void XAAClosePixmapCache(ScreenPtr pScreen);
|
2006-11-26 11:13:41 -07:00
|
|
|
void XAAInvalidatePixmapCache(ScreenPtr pScreen);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool XAACheckStippleReducibility(PixmapPtr pPixmap);
|
|
|
|
extern _X_EXPORT Bool XAACheckTileReducibility(PixmapPtr pPixmap, Bool checkMono);
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT int XAAStippledFillChooser(GCPtr pGC);
|
|
|
|
extern _X_EXPORT int XAAOpaqueStippledFillChooser(GCPtr pGC);
|
|
|
|
extern _X_EXPORT int XAATiledFillChooser(GCPtr pGC);
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void XAAMoveInOffscreenPixmaps(ScreenPtr pScreen);
|
|
|
|
extern _X_EXPORT void XAAMoveOutOffscreenPixmaps(ScreenPtr pScreen);
|
|
|
|
extern _X_EXPORT void XAARemoveAreaCallback(FBAreaPtr area);
|
|
|
|
extern _X_EXPORT void XAAMoveOutOffscreenPixmap(PixmapPtr pPix);
|
|
|
|
extern _X_EXPORT Bool XAAInitStateWrap(ScreenPtr pScreen, XAAInfoRecPtr infoRec);
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAComposite (CARD8 op,
|
|
|
|
PicturePtr pSrc,
|
|
|
|
PicturePtr pMask,
|
|
|
|
PicturePtr pDst,
|
|
|
|
INT16 xSrc,
|
|
|
|
INT16 ySrc,
|
|
|
|
INT16 xMask,
|
|
|
|
INT16 yMask,
|
|
|
|
INT16 xDst,
|
|
|
|
INT16 yDst,
|
|
|
|
CARD16 width,
|
|
|
|
CARD16 height);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool
|
2006-11-26 11:13:41 -07:00
|
|
|
XAADoComposite (CARD8 op,
|
|
|
|
PicturePtr pSrc,
|
|
|
|
PicturePtr pMask,
|
|
|
|
PicturePtr pDst,
|
|
|
|
INT16 xSrc,
|
|
|
|
INT16 ySrc,
|
|
|
|
INT16 xMask,
|
|
|
|
INT16 yMask,
|
|
|
|
INT16 xDst,
|
|
|
|
INT16 yDst,
|
|
|
|
CARD16 width,
|
|
|
|
CARD16 height);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAGlyphs (CARD8 op,
|
|
|
|
PicturePtr pSrc,
|
|
|
|
PicturePtr pDst,
|
|
|
|
PictFormatPtr maskFormat,
|
|
|
|
INT16 xSrc,
|
|
|
|
INT16 ySrc,
|
|
|
|
int nlist,
|
|
|
|
GlyphListPtr list,
|
|
|
|
GlyphPtr *glyphs);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool
|
2006-11-26 11:13:41 -07:00
|
|
|
XAADoGlyphs (CARD8 op,
|
|
|
|
PicturePtr pSrc,
|
|
|
|
PicturePtr pDst,
|
|
|
|
PictFormatPtr maskFormat,
|
|
|
|
INT16 xSrc,
|
|
|
|
INT16 ySrc,
|
|
|
|
int nlist,
|
|
|
|
GlyphListPtr list,
|
|
|
|
GlyphPtr *glyphs);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* helpers */
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT void
|
2006-11-26 11:13:41 -07:00
|
|
|
XAA_888_plus_PICT_a8_to_8888 (
|
|
|
|
CARD32 color,
|
|
|
|
CARD8 *alphaPtr, /* in bytes */
|
|
|
|
int alphaPitch,
|
|
|
|
CARD32 *dstPtr,
|
|
|
|
int dstPitch, /* in dwords */
|
|
|
|
int width,
|
|
|
|
int height
|
|
|
|
);
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAGetRGBAFromPixel(
|
|
|
|
CARD32 pixel,
|
|
|
|
CARD16 *red,
|
|
|
|
CARD16 *green,
|
|
|
|
CARD16 *blue,
|
|
|
|
CARD16 *alpha,
|
|
|
|
CARD32 format
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool
|
2006-11-26 11:13:41 -07:00
|
|
|
XAAGetPixelFromRGBA (
|
|
|
|
CARD32 *pixel,
|
|
|
|
CARD16 red,
|
|
|
|
CARD16 green,
|
|
|
|
CARD16 blue,
|
|
|
|
CARD16 alpha,
|
|
|
|
CARD32 format
|
|
|
|
);
|
|
|
|
|
|
|
|
/* XXX should be static */
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT GCOps XAAFallbackOps;
|
|
|
|
extern _X_EXPORT GCOps *XAAGetFallbackOps(void);
|
|
|
|
extern _X_EXPORT GCFuncs XAAGCFuncs;
|
|
|
|
extern _X_EXPORT DevPrivateKey XAAGetScreenKey(void);
|
|
|
|
extern _X_EXPORT DevPrivateKey XAAGetGCKey(void);
|
|
|
|
extern _X_EXPORT DevPrivateKey XAAGetPixmapKey(void);
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT unsigned int XAAShiftMasks[32];
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT unsigned int byte_expand3[256], byte_reversed_expand3[256];
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT CARD32 XAAReverseBitOrder(CARD32 data);
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
#define GET_XAASCREENPTR_FROM_SCREEN(pScreen)\
|
2008-11-02 08:26:08 -07:00
|
|
|
dixLookupPrivate(&(pScreen)->devPrivates, XAAGetScreenKey())
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
#define GET_XAASCREENPTR_FROM_GC(pGC)\
|
2008-11-02 08:26:08 -07:00
|
|
|
dixLookupPrivate(&(pGC)->pScreen->devPrivates, XAAGetScreenKey())
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
#define GET_XAASCREENPTR_FROM_DRAWABLE(pDraw)\
|
2008-11-02 08:26:08 -07:00
|
|
|
dixLookupPrivate(&(pDraw)->pScreen->devPrivates, XAAGetScreenKey())
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
#define GET_XAAINFORECPTR_FROM_SCREEN(pScreen)\
|
2008-11-02 08:26:08 -07:00
|
|
|
((XAAScreenPtr)dixLookupPrivate(&(pScreen)->devPrivates, XAAGetScreenKey()))->AccelInfoRec
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
#define GET_XAAINFORECPTR_FROM_GC(pGC)\
|
2008-11-02 08:26:08 -07:00
|
|
|
((XAAScreenPtr)dixLookupPrivate(&(pGC)->pScreen->devPrivates, XAAGetScreenKey()))->AccelInfoRec
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
#define GET_XAAINFORECPTR_FROM_DRAWABLE(pDraw)\
|
2008-11-02 08:26:08 -07:00
|
|
|
((XAAScreenPtr)dixLookupPrivate(&(pDraw)->pScreen->devPrivates, XAAGetScreenKey()))->AccelInfoRec
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
#define GET_XAAINFORECPTR_FROM_SCRNINFOPTR(pScrn)\
|
2008-11-02 08:26:08 -07:00
|
|
|
((XAAScreenPtr)dixLookupPrivate(&(pScrn)->pScreen->devPrivates, XAAGetScreenKey()))->AccelInfoRec
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
#define XAA_GET_PIXMAP_PRIVATE(pix)\
|
2008-11-02 08:26:08 -07:00
|
|
|
(XAAPixmapPtr)dixLookupPrivate(&(pix)->devPrivates, XAAGetPixmapKey())
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
#define CHECK_RGB_EQUAL(c) (!((((c) >> 8) ^ (c)) & 0xffff))
|
|
|
|
|
|
|
|
#define CHECK_FG(pGC, flags) \
|
|
|
|
(!(flags & RGB_EQUAL) || CHECK_RGB_EQUAL(pGC->fgPixel))
|
|
|
|
|
|
|
|
#define CHECK_BG(pGC, flags) \
|
|
|
|
(!(flags & RGB_EQUAL) || CHECK_RGB_EQUAL(pGC->bgPixel))
|
|
|
|
|
|
|
|
#define CHECK_ROP(pGC, flags) \
|
|
|
|
(!(flags & GXCOPY_ONLY) || (pGC->alu == GXcopy))
|
|
|
|
|
|
|
|
#define CHECK_ROPSRC(pGC, flags) \
|
|
|
|
(!(flags & ROP_NEEDS_SOURCE) || ((pGC->alu != GXclear) && \
|
|
|
|
(pGC->alu != GXnoop) && (pGC->alu != GXinvert) && \
|
|
|
|
(pGC->alu != GXset)))
|
|
|
|
|
|
|
|
#define CHECK_PLANEMASK(pGC, flags) \
|
|
|
|
(!(flags & NO_PLANEMASK) || \
|
|
|
|
((pGC->planemask & infoRec->FullPlanemasks[pGC->depth - 1]) == \
|
|
|
|
infoRec->FullPlanemasks[pGC->depth - 1]))
|
|
|
|
|
|
|
|
#define CHECK_COLORS(pGC, flags) \
|
|
|
|
(!(flags & RGB_EQUAL) || \
|
|
|
|
(CHECK_RGB_EQUAL(pGC->fgPixel) && CHECK_RGB_EQUAL(pGC->bgPixel)))
|
|
|
|
|
|
|
|
#define CHECK_NO_GXCOPY(pGC, flags) \
|
|
|
|
((pGC->alu != GXcopy) || !(flags & NO_GXCOPY) || \
|
|
|
|
((pGC->planemask & infoRec->FullPlanemask) != infoRec->FullPlanemask))
|
|
|
|
|
|
|
|
#define IS_OFFSCREEN_PIXMAP(pPix)\
|
|
|
|
((XAA_GET_PIXMAP_PRIVATE((PixmapPtr)(pPix)))->offscreenArea)
|
|
|
|
|
|
|
|
#define PIXMAP_IS_SHARED(pPix)\
|
|
|
|
((XAA_GET_PIXMAP_PRIVATE((PixmapPtr)(pPix)))->flags & SHARED_PIXMAP)
|
|
|
|
|
|
|
|
#define OFFSCREEN_PIXMAP_LOCKED(pPix)\
|
|
|
|
((XAA_GET_PIXMAP_PRIVATE((PixmapPtr)(pPix)))->flags & LOCKED_PIXMAP)
|
|
|
|
|
|
|
|
#define XAA_DEPTH_BUG(pGC) \
|
|
|
|
((pGC->depth == 32) && (pGC->bgPixel == 0xffffffff))
|
|
|
|
|
|
|
|
#define DELIST_OFFSCREEN_PIXMAP(pPix) { \
|
|
|
|
PixmapLinkPtr _pLink, _prev; \
|
|
|
|
_pLink = infoRec->OffscreenPixmaps; \
|
|
|
|
_prev = NULL; \
|
|
|
|
while(_pLink) { \
|
|
|
|
if(_pLink->pPix == pPix) { \
|
|
|
|
if(_prev) _prev->next = _pLink->next; \
|
|
|
|
else infoRec->OffscreenPixmaps = _pLink->next; \
|
2010-12-05 08:36:02 -07:00
|
|
|
free(_pLink); \
|
2006-11-26 11:13:41 -07:00
|
|
|
break; \
|
|
|
|
} \
|
|
|
|
_prev = _pLink; \
|
|
|
|
_pLink = _pLink->next; \
|
|
|
|
}}
|
|
|
|
|
|
|
|
|
|
|
|
#define SWAP_BITS_IN_BYTES(v) \
|
|
|
|
(((0x01010101 & (v)) << 7) | ((0x02020202 & (v)) << 5) | \
|
|
|
|
((0x04040404 & (v)) << 3) | ((0x08080808 & (v)) << 1) | \
|
|
|
|
((0x10101010 & (v)) >> 1) | ((0x20202020 & (v)) >> 3) | \
|
|
|
|
((0x40404040 & (v)) >> 5) | ((0x80808080 & (v)) >> 7))
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Moved XAAPixmapCachePrivate here from xaaPCache.c, since driver
|
|
|
|
* replacements for CacheMonoStipple need access to it
|
|
|
|
*/
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
int Num512x512;
|
|
|
|
int Current512;
|
|
|
|
XAACacheInfoPtr Info512;
|
|
|
|
int Num256x256;
|
|
|
|
int Current256;
|
|
|
|
XAACacheInfoPtr Info256;
|
|
|
|
int Num128x128;
|
|
|
|
int Current128;
|
|
|
|
XAACacheInfoPtr Info128;
|
|
|
|
int NumMono;
|
|
|
|
int CurrentMono;
|
|
|
|
XAACacheInfoPtr InfoMono;
|
|
|
|
int NumColor;
|
|
|
|
int CurrentColor;
|
|
|
|
XAACacheInfoPtr InfoColor;
|
|
|
|
int NumPartial;
|
|
|
|
int CurrentPartial;
|
|
|
|
XAACacheInfoPtr InfoPartial;
|
|
|
|
DDXPointRec MonoOffsets[64];
|
|
|
|
DDXPointRec ColorOffsets[64];
|
|
|
|
} XAAPixmapCachePrivate, *XAAPixmapCachePrivatePtr;
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* _XAALOCAL_H */
|