Lines Matching defs:depths
134 DepthPtr depths;
164 depths = (DepthPtr) malloc(MAXDEPTH * sizeof(DepthRec));
165 depths[0].depth = 1;
166 depths[0].numVids = 0;
167 depths[0].vids = (VisualID *) malloc(MAXVISUALSPERDEPTH * sizeof(VisualID));
205 if (depths[j].depth == xnestVisuals[i].depth) {
212 depths[depthIndex].depth = xnestVisuals[i].depth;
213 depths[depthIndex].numVids = 0;
214 depths[depthIndex].vids =
218 if (depths[depthIndex].numVids >= MAXVISUALSPERDEPTH) {
221 depths[depthIndex].vids[depths[depthIndex].numVids] =
223 depths[depthIndex].numVids++;
240 miScreenInit(pScreen, NULL, xnestWidth, xnestHeight, 1, 1, xnestWidth, rootDepth, numDepths, depths, defaultVisual, /* root visual */