fb.h revision 65fea56f17cd614bc8908264df980a62e1931468
#ifndef _FB_H_
#define _FB_H_
#include <pixman.h>
#include "scrnintstr.h"
#include "pixmap.h"
#include "pixmapstr.h"
#include "region.h"
#include "gcstruct.h"
#include "colormap.h"
#include "miscstruct.h"
#include "servermd.h"
#include "windowstr.h"
#include "privates.h"
#include "mi.h"
#include "migc.h"
#include "picturestr.h"
#ifdef FB_ACCESS_WRAPPER
#include "wfbrename.h"
#ifndef FB_SHIFT
#define FB_24BIT
#define FB_24_32BIT
#ifdef WIN32
defined(__s390x__) || \
defined (__powerpc64__)
typedef unsigned long FbBits;
typedef unsigned long long FbBits;
typedef int FbStride;
#ifdef FB_DEBUG
#define fbValidateDrawable(d)
#define fdInitializeDrawable(d)
#include "fbrop.h"
#define FbScrLeft(x,n) ((x) >> (n))
#define FbScrRight(x,n) ((x) << (n))
#define FbPatternOffsetBits 0
#define FbScrLeft(x,n) ((x) << (n))
#define FbScrRight(x,n) ((x) >> (n))
#define FbStipMoveLsb(x,s,n) (x)
#include "micoord.h"
#define FbMaskBits(x,w,l,n,r) { \
r = FbRightMask((x)+n); \
l = FbLeftMask(x); \
n >>= FB_SHIFT; \
#ifndef FbSelectPart
lb = 0; \
rb = 0; \
r = FbRightMask((x)+n); \
l = FbLeftMask(x); \
} else if (rb) { \
rb = 0; \
n >>= FB_SHIFT; \
switch (lb) { \
switch (rb) { \
#define FbMaskStip(x,w,l,n,r) { \
r = FbRightStipMask((x)+n); \
l = FbLeftStipMask(x); \
n >>= FB_STIP_SHIFT; \
#define FbLaneCase1(n,a,o) \
#define FbLaneCase2(n,a,o) \
#define FbLaneCase4(n,a,o) \
#define FbLaneCase8(n,a,o) \
#define FbDashDeclare \
if (!--(dashlen)) { \
#ifdef FB_ACCESS_WRAPPER
&wfbReadMemory, \
&wfbWriteMemory, \
(pDraw))
fbGetScreenPrivateKey(void);
#ifdef FB_ACCESS_WRAPPER
#define fbGetWinPrivateKey(pWin) (&fbGetScreenPrivate(((DrawablePtr) (pWin))->pScreen)->winPrivateKeyRec)
#ifdef ROOTLESS
#ifdef COMPOSITE
extern _X_EXPORT void
int wMax,
extern _X_EXPORT void
char *src,
extern _X_EXPORT void
int alu,
extern _X_EXPORT void
extern _X_EXPORT void
int nbox,
int dx,
int dy,
int width,
int height,
int depth,
* fbarc.c
extern _X_EXPORT void
* fbbits.c
extern _X_EXPORT void
int dashOffset,
int signdx,
int signdy,
extern _X_EXPORT void
int dashOffset,
int signdx,
extern _X_EXPORT void
int dstBpp,
int npt,
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
int dashOffset,
int signdx,
int signdy,
extern _X_EXPORT void
int dashOffset,
int signdx,
int signdy,
extern _X_EXPORT void
int dstBpp,
int npt,
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
int dashOffset,
int signdx,
int signdy,
extern _X_EXPORT void
int dashOffset,
int signdx,
int signdy,
extern _X_EXPORT void
int dstBpp,
int npt,
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
int dashOffset,
int signdx,
int signdy,
extern _X_EXPORT void
int dashOffset,
int signdx,
int signdy,
extern _X_EXPORT void
int dstBpp,
int npt,
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
* fbblt.c
extern _X_EXPORT void
int srcX,
int dstX,
int width,
extern _X_EXPORT void
int srcX,
int dstX,
int width,
extern _X_EXPORT void
extern _X_EXPORT void
int srcX,
int dstX,
int dstBpp,
int width,
extern _X_EXPORT void
extern _X_EXPORT void
int srcX,
int srcBpp,
int dstX,
int width,
int height,
extern _X_EXPORT int
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
unsigned short *pgreen,
extern _X_EXPORT int
extern _X_EXPORT void
fbClearVisualTypes(void);
int *nvisualp,
int *ndepthp,
int *rootDepthp,
* fbcopy.c
extern _X_EXPORT void
int nbox,
int dx,
int dy,
extern _X_EXPORT void
int nbox,
int dx,
int dy,
extern _X_EXPORT void
int nbox,
int dx,
int dy,
int xIn,
int yIn,
int widthSrc,
* fbfill.c
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
* fbgc.c
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
int wMax,
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
int depth,
extern _X_EXPORT void
int alu,
extern _X_EXPORT void
int alu,
extern _X_EXPORT void
* fbline.c
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
* fbpict.c
extern _X_EXPORT void
fbDestroyGlyphCache(void);
unsigned usage_hint);
unsigned usage_hint);
extern _X_EXPORT void
int dstBpp,
int npt,
extern _X_EXPORT void
* fbpush.c
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
int xsize,
int ysize,
int dpix,
int dpiy,
int width,
int bpp,
int xsize,
int ysize,
int dpix,
int dpiy,
int width,
int bpp,
int xsize,
* fbseg.c
int dashOffset,
int signdx,
int signdy,
extern _X_EXPORT void
extern _X_EXPORT void
int dashOffset,
int signdx,
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
extern _X_EXPORT void
int dstX,
int dstBpp,
int width,
int height,
int stipHeight,
extern _X_EXPORT void
int dstX,
int dstBpp,
int width,
int height,
int stipWidth,
int stipHeight,
extern _X_EXPORT void
int dstX,
int dstBpp,
int width,
int height,
int stipWidth,
int stipHeight,
* fbtile.c
extern _X_EXPORT void
int dstX,
int width,
int height,
extern _X_EXPORT void
int dstX,
int width,
int height,
int tileWidth,
extern _X_EXPORT void
int dstX,
int width,
int height,
int tileWidth,
* fbutil.c
extern _X_EXPORT void
#ifdef FB_ACCESS_WRAPPER
extern _X_EXPORT void
int nbox,
int dx,
int dy,
extern _X_EXPORT void
extern _X_EXPORT void