Lines Matching refs:pPicture
562 PicturePtr pPicture; in ProcRenderCreatePicture() local
588 pPicture = CreatePicture(stuff->pid, in ProcRenderCreatePicture()
592 if (!pPicture) in ProcRenderCreatePicture()
594 if (!AddResource(stuff->pid, PictureType, (void *) pPicture)) in ProcRenderCreatePicture()
602 PicturePtr pPicture; in ProcRenderChangePicture() local
608 VERIFY_PICTURE(pPicture, stuff->picture, client, DixSetAttrAccess); in ProcRenderChangePicture()
614 return ChangePicture(pPicture, stuff->mask, (XID *) (stuff + 1), in ProcRenderChangePicture()
622 PicturePtr pPicture; in ProcRenderSetPictureClipRectangles() local
626 VERIFY_PICTURE(pPicture, stuff->picture, client, DixSetAttrAccess); in ProcRenderSetPictureClipRectangles()
627 if (!pPicture->pDrawable) in ProcRenderSetPictureClipRectangles()
634 return SetPictureClipRects(pPicture, in ProcRenderSetPictureClipRectangles()
642 PicturePtr pPicture; in ProcRenderFreePicture() local
648 VERIFY_PICTURE(pPicture, stuff->picture, client, DixDestroyAccess); in ProcRenderFreePicture()
1507 PicturePtr pPicture; in ProcRenderCreateCursor() local
1526 pPicture = CreatePicture(0, &pPixmap->drawable, pFormat, 0, 0, in ProcRenderCreateCursor()
1528 if (!pPicture) { in ProcRenderCreateCursor()
1536 pSrc, 0, pPicture, 0, 0, 0, 0, 0, 0, width, height); in ProcRenderCreateCursor()
1537 (*pScreen->GetImage) (pPicture->pDrawable, in ProcRenderCreateCursor()
1540 FreePicture(pPicture, 0); in ProcRenderCreateCursor()
1644 PicturePtr pPicture; in ProcRenderSetPictureTransform() local
1647 VERIFY_PICTURE(pPicture, stuff->picture, client, DixSetAttrAccess); in ProcRenderSetPictureTransform()
1648 return SetPictureTransform(pPicture, (PictTransform *) &stuff->transform); in ProcRenderSetPictureTransform()
1754 PicturePtr pPicture; in ProcRenderSetPictureFilter() local
1761 VERIFY_PICTURE(pPicture, stuff->picture, client, DixSetAttrAccess); in ProcRenderSetPictureFilter()
1768 result = SetPictureFilter(pPicture, name, stuff->nbytes, params, nparams); in ProcRenderSetPictureFilter()
1821 PicturePtr pPicture; in ProcRenderAddTraps() local
1826 VERIFY_PICTURE(pPicture, stuff->picture, client, DixWriteAccess); in ProcRenderAddTraps()
1827 if (!pPicture->pDrawable) in ProcRenderAddTraps()
1834 AddTraps(pPicture, in ProcRenderAddTraps()
1842 PicturePtr pPicture; in ProcRenderCreateSolidFill() local
1851 pPicture = CreateSolidPicture(stuff->pid, &stuff->color, &error); in ProcRenderCreateSolidFill()
1852 if (!pPicture) in ProcRenderCreateSolidFill()
1856 pPicture, RT_NONE, NULL, DixCreateAccess); in ProcRenderCreateSolidFill()
1859 if (!AddResource(stuff->pid, PictureType, (void *) pPicture)) in ProcRenderCreateSolidFill()
1867 PicturePtr pPicture; in ProcRenderCreateLinearGradient() local
1888 pPicture = CreateLinearGradientPicture(stuff->pid, &stuff->p1, &stuff->p2, in ProcRenderCreateLinearGradient()
1891 if (!pPicture) in ProcRenderCreateLinearGradient()
1895 pPicture, RT_NONE, NULL, DixCreateAccess); in ProcRenderCreateLinearGradient()
1898 if (!AddResource(stuff->pid, PictureType, (void *) pPicture)) in ProcRenderCreateLinearGradient()
1906 PicturePtr pPicture; in ProcRenderCreateRadialGradient() local
1927 pPicture = in ProcRenderCreateRadialGradient()
1931 if (!pPicture) in ProcRenderCreateRadialGradient()
1935 pPicture, RT_NONE, NULL, DixCreateAccess); in ProcRenderCreateRadialGradient()
1938 if (!AddResource(stuff->pid, PictureType, (void *) pPicture)) in ProcRenderCreateRadialGradient()
1946 PicturePtr pPicture; in ProcRenderCreateConicalGradient() local
1967 pPicture = in ProcRenderCreateConicalGradient()
1970 if (!pPicture) in ProcRenderCreateConicalGradient()
1974 pPicture, RT_NONE, NULL, DixCreateAccess); in ProcRenderCreateConicalGradient()
1977 if (!AddResource(stuff->pid, PictureType, (void *) pPicture)) in ProcRenderCreateConicalGradient()
2568 #define VERIFY_XIN_PICTURE(pPicture, pid, client, mode) {\ argument
2569 int rc = dixLookupResourceByType((void **)&(pPicture), pid,\
2575 #define VERIFY_XIN_ALPHA(pPicture, pid, client, mode) {\ argument
2577 pPicture = 0; \
2579 VERIFY_XIN_PICTURE(pPicture, pid, client, mode); \