Prepare for array-index based devPrivates.

TODO: static indices can be made just an int; some indices
can be combined.
This commit is contained in:
Tomas Carnecky 2008-08-28 18:05:40 -04:00 • committed by Eamon Walsh
commit ebea78cdba
78 changed files with 287 additions and 146 deletions

View file

@ -129,8 +129,10 @@ typedef struct _xaaWrapperGCPriv {
#define xaaWrapperGCPriv(pGC) xaaWrapperGCPrivPtr pGCPriv = xaaWrapperGetGCPriv(pGC)
static DevPrivateKey xaaWrapperScrPrivateKey = &xaaWrapperScrPrivateKey;
static DevPrivateKey xaaWrapperGCPrivateKey = &xaaWrapperGCPrivateKey;
static int xaaWrapperScrPrivateKeyIndex;
static DevPrivateKey xaaWrapperScrPrivateKey = &xaaWrapperScrPrivateKeyIndex;
static int xaaWrapperGCPrivateKeyIndex;
static DevPrivateKey xaaWrapperGCPrivateKey = &xaaWrapperGCPrivateKeyIndex;
static Bool
xaaWrapperCreateScreenResources(ScreenPtr pScreen)