Lines Matching refs:pDrawable

39 exaFillSpans(DrawablePtr pDrawable, GCPtr pGC, int n,  in exaFillSpans()  argument
42 ScreenPtr pScreen = pDrawable->pScreen; in exaFillSpans()
46 PixmapPtr pPixmap = exaGetDrawablePixmap(pDrawable); in exaFillSpans()
59 ExaCheckFillSpans(pDrawable, pGC, n, ppt, pwidth, fSorted); in exaFillSpans()
74 if (!(pPixmap = exaGetOffscreenPixmap(pDrawable, &off_x, &off_y)) || in exaFillSpans()
78 ExaCheckFillSpans(pDrawable, pGC, n, ppt, pwidth, fSorted); in exaFillSpans()
138 exaDoPutImage(DrawablePtr pDrawable, GCPtr pGC, int depth, int x, int y, in exaDoPutImage() argument
141 ExaScreenPriv(pDrawable->pScreen); in exaDoPutImage()
142 PixmapPtr pPix = exaGetDrawablePixmap(pDrawable); in exaDoPutImage()
149 int bpp = pDrawable->bitsPerPixel; in exaDoPutImage()
165 if (!EXA_PM_IS_SOLID(pDrawable, pGC->planemask) || pGC->alu != GXcopy) in exaDoPutImage()
182 pPix = exaGetOffscreenPixmap(pDrawable, &xoff, &yoff); in exaDoPutImage()
187 x += pDrawable->x; in exaDoPutImage()
188 y += pDrawable->y; in exaDoPutImage()
224 exaMarkSync(pDrawable->pScreen); in exaDoPutImage()
230 exaPutImage(DrawablePtr pDrawable, GCPtr pGC, int depth, int x, int y, in exaPutImage() argument
233 if (!exaDoPutImage(pDrawable, pGC, depth, x, y, w, h, format, bits, in exaPutImage()
234 PixmapBytePad(w, pDrawable->depth))) in exaPutImage()
235 ExaCheckPutImage(pDrawable, pGC, depth, x, y, w, h, leftPad, format, in exaPutImage()
614 exaPolyPoint(DrawablePtr pDrawable, GCPtr pGC, int mode, int npt, in exaPolyPoint() argument
617 ExaScreenPriv(pDrawable->pScreen); in exaPolyPoint()
625 ExaCheckPolyPoint(pDrawable, pGC, mode, npt, ppt); in exaPolyPoint()
640 pGC->ops->PolyFillRect(pDrawable, pGC, npt, prect); in exaPolyPoint()
650 exaPolylines(DrawablePtr pDrawable, GCPtr pGC, int mode, int npt, in exaPolylines() argument
653 ExaScreenPriv(pDrawable->pScreen); in exaPolylines()
659 ExaCheckPolylines(pDrawable, pGC, mode, npt, ppt); in exaPolylines()
666 ExaCheckPolylines(pDrawable, pGC, mode, npt, ppt); in exaPolylines()
686 ExaCheckPolylines(pDrawable, pGC, mode, npt, ppt); in exaPolylines()
710 pGC->ops->PolyFillRect(pDrawable, pGC, npt - 1, prect); in exaPolylines()
720 exaPolySegment(DrawablePtr pDrawable, GCPtr pGC, int nseg, xSegment * pSeg) in exaPolySegment() argument
722 ExaScreenPriv(pDrawable->pScreen); in exaPolySegment()
729 ExaCheckPolySegment(pDrawable, pGC, nseg, pSeg); in exaPolySegment()
736 ExaCheckPolySegment(pDrawable, pGC, nseg, pSeg); in exaPolySegment()
768 pGC->ops->PolyFillRect(pDrawable, pGC, nseg, prect); in exaPolySegment()
772 static Bool exaFillRegionSolid(DrawablePtr pDrawable, RegionPtr pRegion,
777 exaPolyFillRect(DrawablePtr pDrawable, GCPtr pGC, int nrect, xRectangle *prect) in exaPolyFillRect() argument
779 ExaScreenPriv(pDrawable->pScreen); in exaPolyFillRect()
781 PixmapPtr pPixmap = exaGetDrawablePixmap(pDrawable); in exaPolyFillRect()
795 RegionTranslate(pReg, pDrawable->x, pDrawable->y); in exaPolyFillRect()
802 exaGetDrawableDeltas(pDrawable, pPixmap, &xoff, &yoff); in exaPolyFillRect()
817 exaFillRegionSolid(pDrawable, pReg, pGC->fillStyle == FillSolid ? in exaPolyFillRect()
821 exaFillRegionTiled(pDrawable, pReg, pGC->tile.pixmap, &pGC->patOrg, in exaPolyFillRect()
849 ExaCheckPolyFillRect(pDrawable, pGC, nrect, prect); in exaPolyFillRect()
853 xorg = pDrawable->x; in exaPolyFillRect()
854 yorg = pDrawable->y; in exaPolyFillRect()
920 exaMarkSync(pDrawable->pScreen); in exaPolyFillRect()
992 exaFillRegionSolid(DrawablePtr pDrawable, RegionPtr pRegion, Pixel pixel, in exaFillRegionSolid() argument
995 ExaScreenPriv(pDrawable->pScreen); in exaFillRegionSolid()
996 PixmapPtr pPixmap = exaGetDrawablePixmap(pDrawable); in exaFillRegionSolid()
1002 exaGetDrawableDeltas(pDrawable, pPixmap, &xoff, &yoff); in exaFillRegionSolid()
1014 pixmaps[0].pReg = exaGCReadsDestination(pDrawable, planemask, FillSolid, in exaFillRegionSolid()
1035 exaMarkSync(pDrawable->pScreen); in exaFillRegionSolid()
1038 pExaPixmap->sys_ptr && pDrawable->type == DRAWABLE_PIXMAP && in exaFillRegionSolid()
1039 pDrawable->width == 1 && pDrawable->height == 1 && in exaFillRegionSolid()
1040 pDrawable->bitsPerPixel != 24 && alu == GXcopy) { in exaFillRegionSolid()
1043 switch (pDrawable->bitsPerPixel) { in exaFillRegionSolid()
1074 exaFillRegionTiled(DrawablePtr pDrawable, RegionPtr pRegion, PixmapPtr pTile, in exaFillRegionTiled() argument
1078 ExaScreenPriv(pDrawable->pScreen); in exaFillRegionTiled()
1096 return exaFillRegionSolid(pDrawable, pRegion, in exaFillRegionTiled()
1100 pPixmap = exaGetDrawablePixmap(pDrawable); in exaFillRegionTiled()
1113 pixmaps[0].pReg = exaGCReadsDestination(pDrawable, planemask, FillTiled, in exaFillRegionTiled()
1124 pPixmap = exaGetOffscreenPixmap(pDrawable, &xoff, &yoff); in exaFillRegionTiled()
1141 modulus(dstY - yoff - pDrawable->y - pPatOrg->y, tileHeight, tileY); in exaFillRegionTiled()
1156 modulus(dstX - xoff - pDrawable->x - pPatOrg->x, tileWidth, in exaFillRegionTiled()
1238 exaMarkSync(pDrawable->pScreen); in exaFillRegionTiled()
1255 exaGetImage(DrawablePtr pDrawable, int x, int y, int w, int h, in exaGetImage() argument
1258 ExaScreenPriv(pDrawable->pScreen); in exaGetImage()
1259 PixmapPtr pPix = exaGetDrawablePixmap(pDrawable); in exaGetImage()
1272 pPix = exaGetOffscreenPixmap(pDrawable, &xoff, &yoff); in exaGetImage()
1278 if (format != ZPixmap || !EXA_PM_IS_SOLID(pDrawable, planeMask)) in exaGetImage()
1284 if (pDrawable->bitsPerPixel < 8) in exaGetImage()
1287 ok = pExaScr->info->DownloadFromScreen(pPix, pDrawable->x + x + xoff, in exaGetImage()
1288 pDrawable->y + y + yoff, w, h, d, in exaGetImage()
1289 PixmapBytePad(w, pDrawable->depth)); in exaGetImage()
1291 exaWaitSync(pDrawable->pScreen); in exaGetImage()
1296 ExaCheckGetImage(pDrawable, x, y, w, h, format, planeMask, d); in exaGetImage()