Lines Matching refs:pFormat

320     PictFormatPtr pFormat;  in ProcRenderQueryPictFormats()  local
387 for (nformat = 0, pFormat = ps->formats; in ProcRenderQueryPictFormats()
388 nformat < ps->nformats; nformat++, pFormat++) { in ProcRenderQueryPictFormats()
389 pictForm->id = pFormat->id; in ProcRenderQueryPictFormats()
390 pictForm->type = pFormat->type; in ProcRenderQueryPictFormats()
391 pictForm->depth = pFormat->depth; in ProcRenderQueryPictFormats()
392 pictForm->direct.red = pFormat->direct.red; in ProcRenderQueryPictFormats()
393 pictForm->direct.redMask = pFormat->direct.redMask; in ProcRenderQueryPictFormats()
394 pictForm->direct.green = pFormat->direct.green; in ProcRenderQueryPictFormats()
395 pictForm->direct.greenMask = pFormat->direct.greenMask; in ProcRenderQueryPictFormats()
396 pictForm->direct.blue = pFormat->direct.blue; in ProcRenderQueryPictFormats()
397 pictForm->direct.blueMask = pFormat->direct.blueMask; in ProcRenderQueryPictFormats()
398 pictForm->direct.alpha = pFormat->direct.alpha; in ProcRenderQueryPictFormats()
399 pictForm->direct.alphaMask = pFormat->direct.alphaMask; in ProcRenderQueryPictFormats()
400 if (pFormat->type == PictTypeIndexed && in ProcRenderQueryPictFormats()
401 pFormat->index.pColormap) in ProcRenderQueryPictFormats()
402 pictForm->colormap = pFormat->index.pColormap->mid; in ProcRenderQueryPictFormats()
434 if (pVisual && (pFormat = PictureMatchVisual(pScreen, in ProcRenderQueryPictFormats()
438 pictVisual->format = pFormat->id; in ProcRenderQueryPictFormats()
499 PictFormatPtr pFormat; in ProcRenderQueryPictIndexValues() local
510 rc = dixLookupResourceByType((void **) &pFormat, stuff->format, in ProcRenderQueryPictIndexValues()
515 if (pFormat->type != PictTypeIndexed) { in ProcRenderQueryPictIndexValues()
519 num = pFormat->index.nvalues; in ProcRenderQueryPictIndexValues()
533 memcpy(reply + 1, pFormat->index.pValues, num * sizeof(xIndexValue)); in ProcRenderQueryPictIndexValues()
564 PictFormatPtr pFormat; in ProcRenderCreatePicture() local
577 rc = dixLookupResourceByType((void **) &pFormat, stuff->format, in ProcRenderCreatePicture()
582 if (pFormat->depth != pDrawable->depth) in ProcRenderCreatePicture()
590 pFormat, in ProcRenderCreatePicture()
718 PictFormatPtr pFormat; in ProcRenderTrapezoids() local
734 rc = dixLookupResourceByType((void **) &pFormat, stuff->maskFormat, in ProcRenderTrapezoids()
740 pFormat = 0; in ProcRenderTrapezoids()
746 CompositeTrapezoids(stuff->op, pSrc, pDst, pFormat, in ProcRenderTrapezoids()
757 PictFormatPtr pFormat; in ProcRenderTriangles() local
773 rc = dixLookupResourceByType((void **) &pFormat, stuff->maskFormat, in ProcRenderTriangles()
779 pFormat = 0; in ProcRenderTriangles()
785 CompositeTriangles(stuff->op, pSrc, pDst, pFormat, in ProcRenderTriangles()
796 PictFormatPtr pFormat; in ProcRenderTriStrip() local
812 rc = dixLookupResourceByType((void **) &pFormat, stuff->maskFormat, in ProcRenderTriStrip()
818 pFormat = 0; in ProcRenderTriStrip()
824 CompositeTriStrip(stuff->op, pSrc, pDst, pFormat, in ProcRenderTriStrip()
835 PictFormatPtr pFormat; in ProcRenderTriFan() local
851 rc = dixLookupResourceByType((void **) &pFormat, stuff->maskFormat, in ProcRenderTriFan()
857 pFormat = 0; in ProcRenderTriFan()
863 CompositeTriFan(stuff->op, pSrc, pDst, pFormat, in ProcRenderTriFan()
1231 PictFormatPtr pFormat; in ProcRenderCompositeGlyphs() local
1272 rc = dixLookupResourceByType((void **) &pFormat, stuff->maskFormat, in ProcRenderCompositeGlyphs()
1278 pFormat = 0; in ProcRenderCompositeGlyphs()
1380 pFormat, in ProcRenderCompositeGlyphs()
1508 PictFormatPtr pFormat; in ProcRenderCreateCursor() local
1511 pFormat = PictureMatchFormat(pScreen, 32, PICT_a8r8g8b8); in ProcRenderCreateCursor()
1512 if (!pFormat) { in ProcRenderCreateCursor()
1526 pPicture = CreatePicture(0, &pPixmap->drawable, pFormat, 0, 0, in ProcRenderCreateCursor()