54 DrawablePtr pDrawable);
55 extern void dmxChangeGC(GCPtr pGC,
unsigned long mask);
56 extern void dmxCopyGC(GCPtr pGCSrc,
unsigned long changes, GCPtr pGCDst);
58 extern void dmxChangeClip(GCPtr pGC,
int type,
void *pvalue,
int nrects);
60 extern void dmxCopyClip(GCPtr pGCDst, GCPtr pGCSrc);
66 #define DMX_GET_GC_PRIV(_pGC) \
67 (dmxGCPrivPtr)dixLookupPrivate(&(_pGC)->devPrivates, dmxGCPrivateKey)
69 #define DMX_GC_FUNC_PROLOGUE(_pGC) \
71 dmxGCPrivPtr _pGCPriv = DMX_GET_GC_PRIV(_pGC); \
72 DMX_UNWRAP(funcs, _pGCPriv, (_pGC)); \
74 DMX_UNWRAP(ops, _pGCPriv, (_pGC)); \
77 #define DMX_GC_FUNC_EPILOGUE(_pGC) \
79 dmxGCPrivPtr _pGCPriv = DMX_GET_GC_PRIV(_pGC); \
80 DMX_WRAP(funcs, &dmxGCFuncs, _pGCPriv, (_pGC)); \
82 DMX_WRAP(ops, &dmxGCOps, _pGCPriv, (_pGC)); \
void dmxChangeClip(GCPtr pGC, int type, void *pvalue, int nrects)
Definition: dmxgc.c:381
void dmxChangeGC(GCPtr pGC, unsigned long mask)
Definition: dmxgc.c:198
void dmxBECreateGC(ScreenPtr pScreen, GCPtr pGC)
Definition: dmxgc.c:97
GCOps * ops
Definition: dmxgc.h:44
void dmxCopyGC(GCPtr pGCSrc, unsigned long changes, GCPtr pGCDst)
Definition: dmxgc.c:327
struct _dmxGCPriv dmxGCPrivRec
Bool dmxCreateGC(GCPtr pGC)
Definition: dmxgc.c:123
Bool msc
Definition: dmxgc.h:47
Bool dmxInitGC(ScreenPtr pScreen)
Definition: dmxgc.c:87
Bool dmxBEFreeGC(GCPtr pGC)
Definition: dmxgc.c:346
GCFuncs * funcs
Definition: dmxgc.h:45
void dmxValidateGC(GCPtr pGC, unsigned long changes, DrawablePtr pDrawable)
Definition: dmxgc.c:159
XlibGC gc
Definition: dmxgc.h:46
void dmxDestroyClip(GCPtr pGC)
Definition: dmxgc.c:431
void dmxDestroyGC(GCPtr pGC)
Definition: dmxgc.c:364
void dmxCopyClip(GCPtr pGCDst, GCPtr pGCSrc)
Definition: dmxgc.c:449
struct _dmxGCPriv * dmxGCPrivPtr