From 4017d3190234e189a0bbd33193a148d4d3c7556b Mon Sep 17 00:00:00 2001 From: Eamon Walsh Date: Tue, 28 Aug 2007 09:28:25 -0400 Subject: devPrivates rework: since API is already broken, switch everything over to new system. Need to update documentation and address some remaining vestiges of old system such as CursorRec structure, fb "offman" structure, and FontRec privates. --- include/scrnintstr.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'include/scrnintstr.h') diff --git a/include/scrnintstr.h b/include/scrnintstr.h index 110f4dce9..a24c5f528 100644 --- a/include/scrnintstr.h +++ b/include/scrnintstr.h @@ -56,6 +56,7 @@ SOFTWARE. #include "validate.h" #include #include "dix.h" +#include "privates.h" typedef struct _PixmapFormat { unsigned char depth; @@ -449,12 +450,6 @@ typedef struct _Screen { pointer devPrivate; short numVisuals; VisualPtr visuals; - int WindowPrivateLen; - unsigned *WindowPrivateSizes; - unsigned totalWindowSize; - int GCPrivateLen; - unsigned *GCPrivateSizes; - unsigned totalGCSize; /* Random screen procedures */ @@ -546,7 +541,7 @@ typedef struct _Screen { pointer wakeupData; /* anybody can get a piece of this array */ - DevUnion *devPrivates; + PrivateRec *devPrivates; CreateScreenResourcesProcPtr CreateScreenResources; ModifyPixmapHeaderProcPtr ModifyPixmapHeader; @@ -558,8 +553,6 @@ typedef struct _Screen { PixmapPtr pScratchPixmap; /* scratch pixmap "pool" */ - int PixmapPrivateLen; - unsigned int *PixmapPrivateSizes; unsigned int totalPixmapSize; MarkWindowProcPtr MarkWindow; -- cgit v1.2.3 From 8d0cd1cd2c57ee5a2fc4d577d8182d66369f0617 Mon Sep 17 00:00:00 2001 From: Aaron Plattner Date: Thu, 15 Nov 2007 12:16:36 -0800 Subject: Fix a really dumb typo. --- include/scrnintstr.h | 2 +- render/render.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include/scrnintstr.h') diff --git a/include/scrnintstr.h b/include/scrnintstr.h index 383ee80e1..bad0e51a9 100644 --- a/include/scrnintstr.h +++ b/include/scrnintstr.h @@ -202,7 +202,7 @@ typedef void (* ClipNotifyProcPtr)( /* pixmap will be the backing pixmap for a redirected window */ #define CREATE_PIXMAP_USAGE_BACKING_PIXMAP 2 /* pixmap will contain a glyph */ -#define CREATE_PIMXAP_USAGE_GLYPH_PICTURE 3 +#define CREATE_PIXMAP_USAGE_GLYPH_PICTURE 3 typedef PixmapPtr (* CreatePixmapProcPtr)( ScreenPtr /*pScreen*/, diff --git a/render/render.c b/render/render.c index 3a9d24a02..ca6e62f50 100644 --- a/render/render.c +++ b/render/render.c @@ -1203,7 +1203,7 @@ ProcRenderAddGlyphs (ClientPtr client) pDstPix = (pScreen->CreatePixmap) (pScreen, width, height, depth, - CREATE_PIMXAP_USAGE_GLYPH_PICTURE); + CREATE_PIXMAP_USAGE_GLYPH_PICTURE); GlyphPicture (glyph)[screen] = pDst = CreatePicture (0, &pDstPix->drawable, -- cgit v1.2.3