Lines Matching full:depth
292 int depth; member
320 miSetVisualTypesAndMasks(int depth, int visuals, int bitsPerRGB, in miSetVisualTypesAndMasks() argument
331 redMask = _RM(depth); in miSetVisualTypesAndMasks()
332 greenMask = _GM(depth); in miSetVisualTypesAndMasks()
333 blueMask = _BM(depth); in miSetVisualTypesAndMasks()
336 new->depth = depth; in miSetVisualTypesAndMasks()
353 miSetVisualTypes(int depth, int visuals, int bitsPerRGB, int preferredCVC) in miSetVisualTypes() argument
355 return miSetVisualTypesAndMasks(depth, visuals, bitsPerRGB, in miSetVisualTypes()
360 miGetDefaultVisualMask(int depth) in miGetDefaultVisualMask() argument
362 if (depth > MAX_PSEUDO_DEPTH) in miGetDefaultVisualMask()
364 else if (depth >= MIN_TRUE_DEPTH) in miGetDefaultVisualMask()
366 else if (depth == 1) in miGetDefaultVisualMask()
373 miVisualTypesSet(int depth) in miVisualTypesSet() argument
378 if (visuals->depth == depth) in miVisualTypesSet()
390 d = screenInfo.formats[f].depth; in miSetPixmapDepths()
430 DepthPtr depth; in miInitVisuals() local
444 d = screenInfo.formats[f].depth; in miInitVisuals()
461 depth = xallocarray(ndepth, sizeof(DepthRec)); in miInitVisuals()
464 if (!depth || !visual || !preferredCVCs) { in miInitVisuals()
465 free(depth); in miInitVisuals()
470 *depthp = depth; in miInitVisuals()
477 d = visuals->depth; in miInitVisuals()
486 free(depth); in miInitVisuals()
492 depth->depth = d; in miInitVisuals()
493 depth->numVids = nvtype; in miInitVisuals()
494 depth->vids = vid; in miInitVisuals()
495 depth++; in miInitVisuals()
534 depth = *depthp; in miInitVisuals()
538 * check if there is a preferred class in one of the depth in miInitVisuals()
540 * default visual/depth from that depth. in miInitVisuals()
562 if (*rootDepthp && *rootDepthp != depth[i].depth) in miInitVisuals()
565 for (j = 0; j < depth[i].numVids; j++) { in miInitVisuals()
567 if (visual[k].vid == depth[i].vids[j]) in miInitVisuals()
575 if (j != depth[i].numVids) in miInitVisuals()
582 *rootDepthp = depth[i].depth; in miInitVisuals()
583 *defaultVisp = depth[i].vids[j]; in miInitVisuals()