Lines Matching defs:pDepth
128 DepthPtr pDepth;
132 pDepth = &pScreen->allowedDepths[d];
133 for (v = 0; v < pDepth->numVids; v++)
134 if (pDepth->vids[v] == pVisual->vid)
135 return pDepth->depth;
177 DepthPtr pDepth;
267 pDepth = &pScreen->allowedDepths[d];
268 bpp = BitsPerPixel (pDepth->depth);
273 if (pDepth->depth >= 12)
276 PICT_x4r4g4b4, pDepth->depth);
278 PICT_x4b4g4r4, pDepth->depth);
281 if (pDepth->depth >= 15)
284 PICT_x1r5g5b5, pDepth->depth);
286 PICT_x1b5g5r5, pDepth->depth);
289 if (pDepth->depth >= 16)
292 PICT_a1r5g5b5, pDepth->depth);
294 PICT_a1b5g5r5, pDepth->depth);
296 PICT_r5g6b5, pDepth->depth);
298 PICT_b5g6r5, pDepth->depth);
300 PICT_a4r4g4b4, pDepth->depth);
302 PICT_a4b4g4r4, pDepth->depth);
306 if (pDepth->depth >= 24)
309 PICT_r8g8b8, pDepth->depth);
311 PICT_b8g8r8, pDepth->depth);
315 if (pDepth->depth >= 24)
318 PICT_x8r8g8b8, pDepth->depth);
320 PICT_x8b8g8r8, pDepth->depth);
322 if (pDepth->depth >= 30)
325 PICT_a2r10g10b10, pDepth->depth);
327 PICT_x2r10g10b10, pDepth->depth);
329 PICT_a2b10g10r10, pDepth->depth);
331 PICT_x2b10g10r10, pDepth->depth);