Searched refs:depthsForScreen (Results 1 - 1 of 1) sorted by relevance

/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/
H A DXDPSshare.c76 int *depthsForScreen; member in struct:_DisplayInfoRec
147 d->depthsForScreen = (int *) calloc(ScreenCount(display), sizeof(int));
152 d->validDepths[i] = XListDepths(display, i, &d->depthsForScreen[i]);
153 d->gcForDepth[i] = (GC *) calloc(d->depthsForScreen[i], sizeof(GC));
248 for (i = 0; i < d->depthsForScreen[s] &&
251 if (i >= d->depthsForScreen[s]) return NULL;
574 for (j = 0; j < d->depthsForScreen[i]; j++) {
581 free((char *) d->depthsForScreen);

Completed in 11 milliseconds