summaryrefslogtreecommitdiff
path: root/mi/migc.h
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:49:22 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:49:22 +0000
commitd568221710959cf7d783e6ff0fb80fb43a231124 (patch)
tree8d6f039393294c6ffac8533639afdebe5d68bfc1 /mi/migc.h
parent9508a382f8a9f241dab097d921b6d290c1c3a776 (diff)
Diffstat (limited to 'mi/migc.h')
-rw-r--r--mi/migc.h41
1 files changed, 1 insertions, 40 deletions
diff --git a/mi/migc.h b/mi/migc.h
index 9e9974c3e..8cb5a56c9 100644
--- a/mi/migc.h
+++ b/mi/migc.h
@@ -27,87 +27,48 @@ from The Open Group.
*/
-/* This structure has to line up with the mfb and cfb gc private structures so
- * that when it is superimposed on them, the three fields that migc.c needs to
- * see will be accessed correctly. I know this is not beautiful, but it seemed
- * better than all the code duplication in cfb and mfb.
- */
-typedef struct {
- unsigned char pad1;
- unsigned char pad2;
- unsigned char pad3;
- unsigned pad4:1;
- unsigned freeCompClip:1;
- PixmapPtr pRotatedPixmap;
- RegionPtr pCompositeClip;
-} miPrivGC;
-
-extern int miGCPrivateIndex;
-
-extern void miRegisterGCPrivateIndex(
-#if NeedFunctionPrototypes
- int /*gcindex*/
-#endif
-);
+/* $XFree86: xc/programs/Xserver/mi/migc.h,v 1.8 2001/12/14 20:00:23 dawes Exp $ */
extern void miChangeGC(
-#if NeedFunctionPrototypes
GCPtr /*pGC*/,
unsigned long /*mask*/
-#endif
);
extern void miDestroyGC(
-#if NeedFunctionPrototypes
GCPtr /*pGC*/
-#endif
);
extern GCOpsPtr miCreateGCOps(
-#if NeedFunctionPrototypes
GCOpsPtr /*prototype*/
-#endif
);
extern void miDestroyGCOps(
-#if NeedFunctionPrototypes
GCOpsPtr /*ops*/
-#endif
);
extern void miDestroyClip(
-#if NeedFunctionPrototypes
GCPtr /*pGC*/
-#endif
);
extern void miChangeClip(
-#if NeedFunctionPrototypes
GCPtr /*pGC*/,
int /*type*/,
pointer /*pvalue*/,
int /*nrects*/
-#endif
);
extern void miCopyClip(
-#if NeedFunctionPrototypes
GCPtr /*pgcDst*/,
GCPtr /*pgcSrc*/
-#endif
);
extern void miCopyGC(
-#if NeedFunctionPrototypes
GCPtr /*pGCSrc*/,
unsigned long /*changes*/,
GCPtr /*pGCDst*/
-#endif
);
extern void miComputeCompositeClip(
-#if NeedFunctionPrototypes
GCPtr /*pGC*/,
DrawablePtr /*pDrawable*/
-#endif
);