diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-17 19:03:47 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-17 19:03:47 +0000 |
commit | c57959ad6a4c0f5329762f401fd7871ffb2ee90c (patch) | |
tree | f223828f827382311611edf114ddd0c42cb3b23f /include/scrnintstr.h | |
parent | 9508a382f8a9f241dab097d921b6d290c1c3a776 (diff) |
merge XFree86 4.3.0.1 to -CURRENT
Diffstat (limited to 'include/scrnintstr.h')
-rw-r--r-- | include/scrnintstr.h | 93 |
1 files changed, 78 insertions, 15 deletions
diff --git a/include/scrnintstr.h b/include/scrnintstr.h index ea821c7ff..cd4459c6e 100644 --- a/include/scrnintstr.h +++ b/include/scrnintstr.h @@ -45,18 +45,17 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ******************************************************************/ +/* $XFree86: xc/programs/Xserver/include/scrnintstr.h,v 1.10 2001/12/14 19:59:56 dawes Exp $ */ + #ifndef SCREENINTSTRUCT_H #define SCREENINTSTRUCT_H #include "screenint.h" #include "miscstruct.h" -#include "region.h" -#include "pixmap.h" -#include "gc.h" +#include "bstore.h" #include "colormap.h" #include "cursor.h" #include "validate.h" -#include "window.h" #include "X11/Xproto.h" #include "dix.h" @@ -194,6 +193,13 @@ typedef Bool (* UnrealizeWindowProcPtr)( #endif ); +typedef void (* RestackWindowProcPtr)( +#if NeedNestedPrototypes + WindowPtr /*pWindow*/, + WindowPtr /*pOldNextSib*/ +#endif +); + typedef int (* ValidateTreeProcPtr)( #if NeedNestedPrototypes WindowPtr /*pParent*/, @@ -218,7 +224,7 @@ typedef void (* WindowExposuresProcPtr)( #endif ); -typedef void (* PaintWindowBackgroundProcPtr)( +typedef void (* PaintWindowProcPtr)( #if NeedNestedPrototypes WindowPtr /*pWindow*/, RegionPtr /*pRegion*/, @@ -226,13 +232,8 @@ typedef void (* PaintWindowBackgroundProcPtr)( #endif ); -typedef void (* PaintWindowBorderProcPtr)( -#if NeedNestedPrototypes - WindowPtr /*pWindow*/, - RegionPtr /*pRegion*/, - int /*what*/ -#endif -); +typedef PaintWindowProcPtr PaintWindowBackgroundProcPtr; +typedef PaintWindowProcPtr PaintWindowBorderProcPtr; typedef void (* CopyWindowProcPtr)( #if NeedNestedPrototypes @@ -458,6 +459,8 @@ typedef void (* ResolveColorProcPtr)( #endif ); +#ifdef NEED_SCREEN_REGIONS + typedef RegionPtr (* RegionCreateProcPtr)( #if NeedNestedPrototypes BoxPtr /*rect*/, @@ -561,6 +564,18 @@ typedef Bool (* RegionNotEmptyProcPtr)( #endif ); +typedef Bool (* RegionBrokenProcPtr)( +#if NeedNestedPrototypes + RegionPtr /*pReg*/ +#endif +); + +typedef Bool (* RegionBreakProcPtr)( +#if NeedNestedPrototypes + RegionPtr /*pReg*/ +#endif +); + typedef void (* RegionEmptyProcPtr)( #if NeedNestedPrototypes RegionPtr /*pReg*/ @@ -587,12 +602,16 @@ typedef Bool (* RegionValidateProcPtr)( #endif ); +#endif /* NEED_SCREEN_REGIONS */ + typedef RegionPtr (* BitmapToRegionProcPtr)( #if NeedNestedPrototypes PixmapPtr /*pPix*/ #endif ); +#ifdef NEED_SCREEN_REGIONS + typedef RegionPtr (* RectsToRegionProcPtr)( #if NeedNestedPrototypes int /*nrects*/, @@ -601,6 +620,8 @@ typedef RegionPtr (* RectsToRegionProcPtr)( #endif ); +#endif /* NEED_SCREEN_REGIONS */ + typedef void (* SendGraphicsExposeProcPtr)( #if NeedNestedPrototypes ClientPtr /*client*/, @@ -615,7 +636,7 @@ typedef void (* ScreenBlockHandlerProcPtr)( #if NeedNestedPrototypes int /*screenNum*/, pointer /*blockData*/, - struct timeval ** /*pTimeout*/, + pointer /*pTimeout*/, pointer /*pReadmask*/ #endif ); @@ -647,6 +668,31 @@ typedef Bool (* ModifyPixmapHeaderProcPtr)( #endif ); +typedef PixmapPtr (* GetWindowPixmapProcPtr)( +#if NeedNestedPrototypes + WindowPtr /*pWin*/ +#endif +); + +typedef void (* SetWindowPixmapProcPtr)( +#if NeedNestedPrototypes + WindowPtr /*pWin*/, + PixmapPtr /*pPix*/ +#endif +); + +typedef PixmapPtr (* GetScreenPixmapProcPtr)( +#if NeedNestedPrototypes + ScreenPtr /*pScreen*/ +#endif +); + +typedef void (* SetScreenPixmapProcPtr)( +#if NeedNestedPrototypes + PixmapPtr /*pPix*/ +#endif +); + typedef void (* MarkWindowProcPtr)( #if NeedNestedPrototypes WindowPtr /*pWin*/ @@ -797,6 +843,7 @@ typedef struct _Screen { CopyWindowProcPtr CopyWindow; ClearToBackgroundProcPtr ClearToBackground; ClipNotifyProcPtr ClipNotify; + RestackWindowProcPtr RestackWindow; /* Pixmap procedures */ @@ -811,6 +858,11 @@ typedef struct _Screen { TranslateBackingStoreProcPtr TranslateBackingStore; ClearBackingStoreProcPtr ClearBackingStore; DrawGuaranteeProcPtr DrawGuarantee; + /* + * A read/write copy of the lower level backing store vector is needed now + * that the functions can be wrapped. + */ + BSFuncRec BackingStoreFuncs; /* Font procedures */ @@ -843,6 +895,7 @@ typedef struct _Screen { /* Region procedures */ +#ifdef NEED_SCREEN_REGIONS RegionCreateProcPtr RegionCreate; RegionInitProcPtr RegionInit; RegionCopyProcPtr RegionCopy; @@ -857,12 +910,17 @@ typedef struct _Screen { RectInProcPtr RectIn; PointInRegionProcPtr PointInRegion; RegionNotEmptyProcPtr RegionNotEmpty; + RegionBrokenProcPtr RegionBroken; + RegionBreakProcPtr RegionBreak; RegionEmptyProcPtr RegionEmpty; RegionExtentsProcPtr RegionExtents; RegionAppendProcPtr RegionAppend; RegionValidateProcPtr RegionValidate; +#endif /* NEED_SCREEN_REGIONS */ BitmapToRegionProcPtr BitmapToRegion; +#ifdef NEED_SCREEN_REGIONS RectsToRegionProcPtr RectsToRegion; +#endif /* NEED_SCREEN_REGIONS */ SendGraphicsExposeProcPtr SendGraphicsExpose; /* os layer procedures */ @@ -879,12 +937,17 @@ typedef struct _Screen { CreateScreenResourcesProcPtr CreateScreenResources; ModifyPixmapHeaderProcPtr ModifyPixmapHeader; + GetWindowPixmapProcPtr GetWindowPixmap; + SetWindowPixmapProcPtr SetWindowPixmap; + GetScreenPixmapProcPtr GetScreenPixmap; + SetScreenPixmapProcPtr SetScreenPixmap; + PixmapPtr pScratchPixmap; /* scratch pixmap "pool" */ #ifdef PIXPRIV int PixmapPrivateLen; - unsigned *PixmapPrivateSizes; - unsigned totalPixmapSize; + unsigned int *PixmapPrivateSizes; + unsigned int totalPixmapSize; #endif MarkWindowProcPtr MarkWindow; |