mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-26 21:12:25 +00:00
fb: move some code to mi
This commit is contained in:
parent
f06bde3d4b
commit
2e76958d30
9 changed files with 406 additions and 369 deletions
42
mi/mi.h
42
mi/mi.h
|
|
@ -56,6 +56,7 @@ SOFTWARE.
|
|||
#include "input.h"
|
||||
#include "cursor.h"
|
||||
#include "privates.h"
|
||||
#include "colormap.h"
|
||||
|
||||
#define MiBits CARD32
|
||||
|
||||
|
|
@ -123,6 +124,47 @@ extern _X_EXPORT void miPutImage(
|
|||
char * /*pImage*/
|
||||
);
|
||||
|
||||
/* micopy.c */
|
||||
|
||||
#define miGetCompositeClip(pGC) ((pGC)->pCompositeClip)
|
||||
|
||||
typedef void (*miCopyProc) (DrawablePtr pSrcDrawable,
|
||||
DrawablePtr pDstDrawable,
|
||||
GCPtr pGC,
|
||||
BoxPtr pDstBox,
|
||||
int nbox,
|
||||
int dx,
|
||||
int dy,
|
||||
Bool reverse,
|
||||
Bool upsidedown,
|
||||
Pixel bitplane,
|
||||
void *closure);
|
||||
|
||||
extern _X_EXPORT void
|
||||
miCopyRegion (DrawablePtr pSrcDrawable,
|
||||
DrawablePtr pDstDrawable,
|
||||
GCPtr pGC,
|
||||
RegionPtr pDstRegion,
|
||||
int dx,
|
||||
int dy,
|
||||
miCopyProc copyProc,
|
||||
Pixel bitPlane,
|
||||
void *closure);
|
||||
|
||||
extern _X_EXPORT RegionPtr
|
||||
miDoCopy (DrawablePtr pSrcDrawable,
|
||||
DrawablePtr pDstDrawable,
|
||||
GCPtr pGC,
|
||||
int xIn,
|
||||
int yIn,
|
||||
int widthSrc,
|
||||
int heightSrc,
|
||||
int xOut,
|
||||
int yOut,
|
||||
miCopyProc copyProc,
|
||||
Pixel bitplane,
|
||||
void *closure);
|
||||
|
||||
/* micursor.c */
|
||||
|
||||
extern _X_EXPORT void miRecolorCursor(
|
||||
|
|
|
|||
Loading…
Reference in a new issue