Lines Matching defs:pPixmap
64 miModifyPixmapHeader(PixmapPtr pPixmap, int width, int height, int depth,
67 if (!pPixmap)
76 pPixmap->drawable.depth = depth;
77 pPixmap->drawable.bitsPerPixel = bitsPerPixel;
78 pPixmap->drawable.id = 0;
79 pPixmap->drawable.x = 0;
80 pPixmap->drawable.y = 0;
81 pPixmap->drawable.width = width;
82 pPixmap->drawable.height = height;
83 pPixmap->devKind = devKind;
84 pPixmap->refcnt = 1;
85 pPixmap->devPrivate.ptr = pPixData;
92 pPixmap->drawable.width = width;
95 pPixmap->drawable.height = height;
98 pPixmap->drawable.depth = depth;
101 pPixmap->drawable.bitsPerPixel = bitsPerPixel;
103 pPixmap->drawable.bitsPerPixel = BitsPerPixel(depth);
110 pPixmap->devKind = devKind;
112 pPixmap->devKind = PixmapBytePad(pPixmap->drawable.width,
113 pPixmap->drawable.depth);
116 pPixmap->devPrivate.ptr = pPixData;
118 pPixmap->drawable.serialNumber = NEXT_SERIAL_NUMBER;
148 PixmapPtr pPixmap;
153 pPixmap = (*pScreen->CreatePixmap)(pScreen, 0, 0, pScreen->rootDepth, 0);
154 if (!pPixmap)
157 if (!(*pScreen->ModifyPixmapHeader)(pPixmap, pScreen->width,
163 value = (pointer)pPixmap;
170 pScreen->devPrivate = value; /* pPixmap or pbits */