Lines Matching defs:pPixmap
56 PixmapPtr pPixmap = pScreen->pScratchPixmap;
58 if (pPixmap)
62 pPixmap = (*pScreen->CreatePixmap)(pScreen, 0, 0, depth, 0);
64 if (pPixmap) {
65 if ((*pScreen->ModifyPixmapHeader)(pPixmap, width, height, depth,
67 return pPixmap;
68 (*pScreen->DestroyPixmap)(pPixmap);
76 FreeScratchPixmapHeader(PixmapPtr pPixmap)
78 if (pPixmap)
80 ScreenPtr pScreen = pPixmap->drawable.pScreen;
82 pPixmap->devPrivate.ptr = NULL; /* lest ddx chases bad ptr */
84 (*pScreen->DestroyPixmap)(pPixmap);
86 pScreen->pScratchPixmap = pPixmap;
116 PixmapPtr pPixmap;
123 pPixmap = calloc(1, pScreen->totalPixmapSize + pixDataSize);
124 if (!pPixmap)
127 dixInitPrivates(pPixmap, pPixmap + 1, PRIVATE_PIXMAP);
128 return pPixmap;
133 FreePixmap(PixmapPtr pPixmap)
135 dixFiniPrivates(pPixmap, PRIVATE_PIXMAP);
136 free(pPixmap);