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

/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/
H A DXDPSshare.c78 GC **gcForDepth; member in struct:_DisplayInfoRec
149 d->gcForDepth = (GC **) calloc(ScreenCount(display), sizeof(GC *));
153 d->gcForDepth[i] = (GC *) calloc(d->depthsForScreen[i], sizeof(GC));
253 if (d->gcForDepth[s][i] == 0) { /* Not "None" -- used calloc */
255 d->gcForDepth[s][i] = XCreateGC(d->display,
261 d->gcForDepth[s][i] = XCreateGC(d->display, p, 0, &v);
266 return d->gcForDepth[s][i];
575 if (d->gcForDepth[i][j] != 0) {
576 XFreeGC(display, d->gcForDepth[i][j]);
583 free((char *) d->gcForDepth);
[all...]

Completed in 11 milliseconds