Lines Matching full:depth

476               int depth, unsigned int format,  in doShmPutImage()  argument
482 if (format == ZPixmap || (format == XYPixmap && depth == 1)) { in doShmPutImage()
483 pPixmap = GetScratchPixmapHeader(dst->pScreen, w, h, depth, in doShmPutImage()
484 BitsPerPixel(depth), in doShmPutImage()
485 PixmapBytePad(w, depth), data); in doShmPutImage()
493 GCPtr putGC = GetScratchGC(depth, dst->pScreen); in doShmPutImage()
498 pPixmap = (*dst->pScreen->CreatePixmap) (dst->pScreen, sw, sh, depth, in doShmPutImage()
505 (*putGC->ops->PutImage) (&pPixmap->drawable, putGC, depth, -sx, -sy, w, in doShmPutImage()
536 if (stuff->depth != 1) in ProcShmPutImage()
541 if (pDraw->depth != stuff->depth) in ProcShmPutImage()
544 length *= stuff->depth; in ProcShmPutImage()
547 if (pDraw->depth != stuff->depth) in ProcShmPutImage()
549 length = PixmapBytePad(stuff->totalWidth, stuff->depth); in ProcShmPutImage()
591 (*pGC->ops->PutImage) (pDraw, pGC, stuff->depth, in ProcShmPutImage()
598 doShmPutImage(pDraw, pGC, stuff->depth, stuff->format, in ProcShmPutImage()
678 .depth = pDraw->depth in ProcShmGetImage()
681 length = PixmapBytePad(stuff->width, pDraw->depth) * stuff->height; in ProcShmGetImage()
685 plane = ((Mask) 1) << (pDraw->depth - 1); in ProcShmGetImage()
703 PixmapBytePad(stuff->width, pDraw->depth), pDraw, in ProcShmGetImage()
848 widthBytesLine = PixmapBytePad(w, pDraw->depth); in ProcPanoramiXShmGetImage()
854 plane = ((Mask) 1) << (pDraw->depth - 1); in ProcPanoramiXShmGetImage()
885 .depth = pDraw->depth in ProcPanoramiXShmGetImage()
933 unsigned int width, height, depth; in ProcPanoramiXShmCreatePixmap() local
951 depth = stuff->depth; in ProcPanoramiXShmCreatePixmap()
952 if (!width || !height || !depth) { in ProcPanoramiXShmCreatePixmap()
959 if (stuff->depth != 1) { in ProcPanoramiXShmCreatePixmap()
962 if (pDepth->depth == stuff->depth) in ProcPanoramiXShmCreatePixmap()
964 client->errorValue = stuff->depth; in ProcPanoramiXShmCreatePixmap()
969 size = PixmapBytePad(width, depth) * height; in ProcPanoramiXShmCreatePixmap()
970 if (sizeof(size) == 4 && BitsPerPixel(depth) > 8) { in ProcPanoramiXShmCreatePixmap()
998 stuff->depth, in ProcPanoramiXShmCreatePixmap()
1038 int width, int height, int depth, char *addr) in fbShmCreatePixmap() argument
1046 if (!(*pScreen->ModifyPixmapHeader) (pPixmap, width, height, depth, in fbShmCreatePixmap()
1047 BitsPerPixel(depth), in fbShmCreatePixmap()
1048 PixmapBytePad(width, depth), in fbShmCreatePixmap()
1067 unsigned int width, height, depth; in ProcShmCreatePixmap() local
1084 depth = stuff->depth; in ProcShmCreatePixmap()
1085 if (!width || !height || !depth) { in ProcShmCreatePixmap()
1092 if (stuff->depth != 1) { in ProcShmCreatePixmap()
1095 if (pDepth->depth == stuff->depth) in ProcShmCreatePixmap()
1097 client->errorValue = stuff->depth; in ProcShmCreatePixmap()
1102 size = PixmapBytePad(width, depth) * height; in ProcShmCreatePixmap()
1103 if (sizeof(size) == 4 && BitsPerPixel(depth) > 8) { in ProcShmCreatePixmap()
1114 stuff->height, stuff->depth, in ProcShmCreatePixmap()