Lines Matching refs:pDraw
942 DrawablePtr pDraw; in GetGeometry() local
948 rc = dixLookupDrawable(&pDraw, stuff->id, client, M_ANY, DixGetAttrAccess); in GetGeometry()
955 rep->root = pDraw->pScreen->root->drawable.id; in GetGeometry()
956 rep->depth = pDraw->depth; in GetGeometry()
957 rep->width = pDraw->width; in GetGeometry()
958 rep->height = pDraw->height; in GetGeometry()
960 if (WindowDrawable(pDraw->type)) { in GetGeometry()
961 WindowPtr pWin = (WindowPtr) pDraw; in GetGeometry()
1396 DrawablePtr pDraw; in ProcCreatePixmap() local
1406 rc = dixLookupDrawable(&pDraw, stuff->drawable, client, M_ANY, in ProcCreatePixmap()
1432 pDepth = pDraw->pScreen->allowedDepths; in ProcCreatePixmap()
1433 for (i = 0; i < pDraw->pScreen->numDepths; i++, pDepth++) in ProcCreatePixmap()
1440 pMap = (PixmapPtr) (*pDraw->pScreen->CreatePixmap) in ProcCreatePixmap()
1441 (pDraw->pScreen, stuff->width, stuff->height, stuff->depth, 0); in ProcCreatePixmap()
1449 (*pDraw->pScreen->DestroyPixmap) (pMap); in ProcCreatePixmap()
1484 DrawablePtr pDraw; in ProcCreateGC() local
1492 rc = dixLookupDrawable(&pDraw, stuff->drawable, client, 0, in ProcCreateGC()
1500 pGC = (GC *) CreateGC(pDraw, stuff->mask, (XID *) &stuff[1], &error, in ProcCreateGC()
1784 DrawablePtr pDraw; in ProcPolyPoint() local
1794 VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess); in ProcPolyPoint()
1797 (*pGC->ops->PolyPoint) (pDraw, pGC, stuff->coordMode, npoint, in ProcPolyPoint()
1807 DrawablePtr pDraw; in ProcPolyLine() local
1817 VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess); in ProcPolyLine()
1820 (*pGC->ops->Polylines) (pDraw, pGC, stuff->coordMode, npoint, in ProcPolyLine()
1830 DrawablePtr pDraw; in ProcPolySegment() local
1835 VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess); in ProcPolySegment()
1841 (*pGC->ops->PolySegment) (pDraw, pGC, nsegs, (xSegment *) &stuff[1]); in ProcPolySegment()
1850 DrawablePtr pDraw; in ProcPolyRectangle() local
1855 VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess); in ProcPolyRectangle()
1861 (*pGC->ops->PolyRectangle) (pDraw, pGC, in ProcPolyRectangle()
1871 DrawablePtr pDraw; in ProcPolyArc() local
1876 VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess); in ProcPolyArc()
1882 (*pGC->ops->PolyArc) (pDraw, pGC, narcs, (xArc *) &stuff[1]); in ProcPolyArc()
1891 DrawablePtr pDraw; in ProcFillPoly() local
1907 VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess); in ProcFillPoly()
1910 (*pGC->ops->FillPolygon) (pDraw, pGC, stuff->shape, in ProcFillPoly()
1921 DrawablePtr pDraw; in ProcPolyFillRectangle() local
1926 VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess); in ProcPolyFillRectangle()
1933 (*pGC->ops->PolyFillRect) (pDraw, pGC, things, in ProcPolyFillRectangle()
1943 DrawablePtr pDraw; in ProcPolyFillArc() local
1948 VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess); in ProcPolyFillArc()
1954 (*pGC->ops->PolyFillArc) (pDraw, pGC, narcs, (xArc *) &stuff[1]); in ProcPolyFillArc()
2016 DrawablePtr pDraw; in ProcPutImage() local
2024 VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess); in ProcPutImage()
2032 if ((pDraw->depth != stuff->depth) || in ProcPutImage()
2039 if ((pDraw->depth != stuff->depth) || (stuff->leftPad != 0)) in ProcPutImage()
2062 (*pGC->ops->PutImage) (pDraw, pGC, stuff->depth, stuff->dstX, stuff->dstY, in ProcPutImage()
2074 DrawablePtr pDraw, pBoundingDraw; in DoGetImage() local
2090 rc = dixLookupDrawable(&pDraw, drawable, client, 0, DixReadAccess); in DoGetImage()
2099 if (pDraw->type == DRAWABLE_WINDOW) { in DoGetImage()
2100 WindowPtr pWin = (WindowPtr) pDraw; in DoGetImage()
2110 x + width > wBorderWidth(pWin) + (int) pDraw->width || in DoGetImage()
2112 y + height > wBorderWidth(pWin) + (int) pDraw->height) in DoGetImage()
2115 relx += pDraw->x; in DoGetImage()
2116 rely += pDraw->y; in DoGetImage()
2118 if (pDraw->pScreen->GetWindowPixmap) { in DoGetImage()
2119 PixmapPtr pPix = (*pDraw->pScreen->GetWindowPixmap) (pWin); in DoGetImage()
2128 pBoundingDraw = (DrawablePtr) pDraw->pScreen->root; in DoGetImage()
2134 pBoundingDraw = pDraw; in DoGetImage()
2155 xgi.depth = pDraw->depth; in DoGetImage()
2157 widthBytesLine = PixmapBytePad(width, pDraw->depth); in DoGetImage()
2163 plane = ((Mask) 1) << (pDraw->depth - 1); in DoGetImage()
2199 if (pDraw->type == DRAWABLE_WINDOW) { in DoGetImage()
2200 pVisibleRegion = &((WindowPtr) pDraw)->borderClip; in DoGetImage()
2201 pDraw->pScreen->SourceValidate(pDraw, x, y, width, height, in DoGetImage()
2212 (*pDraw->pScreen->GetImage) (pDraw, in DoGetImage()
2220 pDraw, x, y + linesDone, width, in DoGetImage()
2226 BitsPerPixel(pDraw->depth), ClientOrder(client)); in DoGetImage()
2239 (*pDraw->pScreen->GetImage) (pDraw, in DoGetImage()
2248 pDraw, x, y + linesDone, width, in DoGetImage()
2285 DrawablePtr pDraw; in ProcPolyText() local
2289 VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess); in ProcPolyText()
2292 pDraw, in ProcPolyText()
2309 DrawablePtr pDraw; in ProcImageText8() local
2315 VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess); in ProcImageText8()
2318 pDraw, in ProcImageText8()
2335 DrawablePtr pDraw; in ProcImageText16() local
2341 VALIDATE_DRAWABLE_AND_GC(stuff->drawable, pDraw, DixWriteAccess); in ProcImageText16()
2344 pDraw, in ProcImageText16()
3055 DrawablePtr pDraw; in ProcQueryBestSize() local
3068 rc = dixLookupDrawable(&pDraw, stuff->drawable, client, M_ANY, in ProcQueryBestSize()
3072 if (stuff->class != CursorShape && pDraw->type == UNDRAWABLE_WINDOW) in ProcQueryBestSize()
3074 pScreen = pDraw->pScreen; in ProcQueryBestSize()