X-Git-Url: https://git.sesse.net/?p=rdpsrv;a=blobdiff_plain;f=Xserver%2Fprograms%2FXserver%2Fmi%2Fmibstore.h;fp=Xserver%2Fprograms%2FXserver%2Fmi%2Fmibstore.h;h=00fe32ed63afb945f3616f07534005f75b2b1be2;hp=0000000000000000000000000000000000000000;hb=b6e6afccf37f4ad0515ef2a698f714fdf1bf23b3;hpb=e3340a110a3b01756b8e67531395a33b40a17d37 diff --git a/Xserver/programs/Xserver/mi/mibstore.h b/Xserver/programs/Xserver/mi/mibstore.h new file mode 100644 index 0000000..00fe32e --- /dev/null +++ b/Xserver/programs/Xserver/mi/mibstore.h @@ -0,0 +1,73 @@ +/*- + * mibstore.h -- + * Header file for users of the MI backing-store scheme. + * + * Copyright (c) 1987 by the Regents of the University of California + * + * Permission to use, copy, modify, and distribute this + * software and its documentation for any purpose and without + * fee is hereby granted, provided that the above copyright + * notice appear in all copies. The University of California + * makes no representations about the suitability of this + * software for any purpose. It is provided "as is" without + * express or implied warranty. + * + * "$XConsortium: mibstore.h,v 5.2 93/10/12 11:41:12 dpw Exp $ SPRITE (Berkeley)" + */ + + +/* $XFree86: xc/programs/Xserver/mi/mibstore.h,v 1.2 1997/01/08 20:52:06 dawes Exp $ */ + +#ifndef _MIBSTORE_H +#define _MIBSTORE_H + +typedef struct _miBSFuncRec { + void (*SaveAreas)( +#if NeedNestedPrototypes + PixmapPtr /*pBackingPixmap*/, + RegionPtr /*pObscured*/, + int /*x*/, + int /*y*/, + WindowPtr /*pWin*/ +#endif +); + void (*RestoreAreas)( +#if NeedNestedPrototypes + PixmapPtr /*pBackingPixmap*/, + RegionPtr /*pExposed*/, + int /*x*/, + int /*y*/, + WindowPtr /*pWin*/ +#endif +); + void (*SetClipmaskRgn)( +#if NeedNestedPrototypes + GCPtr /*pBackingGC*/, + RegionPtr /*pbackingCompositeClip*/ +#endif +); + PixmapPtr (*GetImagePixmap)( /* unused */ +#if NeedNestedPrototypes + void +#endif +); + PixmapPtr (*GetSpansPixmap)( /* unused */ +#if NeedNestedPrototypes + void +#endif +); +} miBSFuncRec; + +#ifndef _XTYPEDEF_MIBSFUNCPTR +typedef struct _miBSFuncRec *miBSFuncPtr; +#define _XTYPEDEF_MIBSFUNCPTR +#endif + +extern void miInitializeBackingStore( +#if NeedFunctionPrototypes + ScreenPtr /*pScreen*/, + miBSFuncPtr /*funcs*/ +#endif +); + +#endif /* _MIBSTORE_H */