Home
last modified time | relevance | path

Searched refs:pDst (Results 1 – 25 of 58) sorted by relevance

123

/OK3568_Linux_fs/external/xserver/exa/
H A Dexa_render.c97 PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst) in exaPrintCompositeFallback() argument
116 exaCompositeFallbackPictDesc(pDst, dstdesc, 40); in exaPrintCompositeFallback()
250 PicturePtr pDst, in exaTryDriverSolidFill() argument
255 ExaScreenPriv(pDst->pDrawable->pScreen); in exaTryDriverSolidFill()
265 pDstPix = exaGetDrawablePixmap(pDst->pDrawable); in exaTryDriverSolidFill()
274 xDst += pDst->pDrawable->x; in exaTryDriverSolidFill()
275 yDst += pDst->pDrawable->y; in exaTryDriverSolidFill()
281 if (!miComputeCompositeRegion(&region, pSrc, NULL, pDst, in exaTryDriverSolidFill()
285 exaGetDrawableDeltas(pDst->pDrawable, pDstPix, &dst_off_x, &dst_off_y); in exaTryDriverSolidFill()
294 miRenderColorToPixel(PictureMatchFormat(pDst->pDrawable->pScreen, 32, in exaTryDriverSolidFill()
[all …]
H A Dexa_unaccel.c122 ExaCheckCopyNtoN(DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, in ExaCheckCopyNtoN() argument
130 EXA_FALLBACK(("from %p to %p (%c,%c)\n", pSrc, pDst, in ExaCheckCopyNtoN()
131 exaDrawableLocation(pSrc), exaDrawableLocation(pDst))); in ExaCheckCopyNtoN()
145 !exaGCReadsDestination(pDst, pGC->planemask, pGC->fillStyle, in ExaCheckCopyNtoN()
148 PixmapPtr pPixmap = exaGetDrawablePixmap(pDst); in ExaCheckCopyNtoN()
150 exaGetDrawableDeltas(pDst, pPixmap, &xoff, &yoff); in ExaCheckCopyNtoN()
156 exaPrepareAccess(pDst, EXA_PREPARE_DEST); in ExaCheckCopyNtoN()
160 pGC->ops->CopyArea(pSrc, pDst, pGC, pbox->x1 - pSrc->x + dx, in ExaCheckCopyNtoN()
162 pbox->y2 - pbox->y1, pbox->x1 - pDst->x, in ExaCheckCopyNtoN()
163 pbox->y1 - pDst->y); in ExaCheckCopyNtoN()
[all …]
H A Dexa.h403 PixmapPtr pSrc, PixmapPtr pMask, PixmapPtr pDst);
429 void (*Composite) (PixmapPtr pDst,
447 void (*DoneComposite) (PixmapPtr pDst);
481 Bool (*UploadToScreen) (PixmapPtr pDst,
489 Bool (*UploadToScratch) (PixmapPtr pSrc, PixmapPtr pDst);
H A Dexa_priv.h337 PicturePtr pDst; member
379 ExaCheckCopyNtoN(DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC,
385 ExaCheckCopyArea(DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC,
390 ExaCheckCopyPlane(DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC,
510 PicturePtr pDst,
521 PicturePtr pDst,
672 PicturePtr pDst,
683 PicturePtr pDst, int nrect, ExaCompositeRectPtr rects);
687 exaTrapezoids(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
693 exaTriangles(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
[all …]
H A Dexa_glyphs.c431 PicturePtr pDst, in exaGlyphCacheBufferGlyph() argument
523 rect->pDst = pDst; in exaGlyphCacheBufferGlyph()
542 PicturePtr pDst, in exaBufferGlyph() argument
572 pDst, in exaBufferGlyph()
621 exaGlyphsToDst(CARD8 op, PicturePtr pSrc, PicturePtr pDst, ExaGlyphBufferPtr buffer) in exaGlyphsToDst() argument
623 exaCompositeRects(op, pSrc, buffer->mask, pDst, buffer->count, in exaGlyphsToDst()
681 PicturePtr pDst, in exaGlyphs() argument
688 ScreenPtr pScreen = pDst->pDrawable->pScreen; in exaGlyphs()
798 if (exaBufferGlyph(pScreen, &buffer, glyph, pSrc, pDst, in exaGlyphs()
804 exaGlyphsToDst(op, pSrc, pDst, &buffer); in exaGlyphs()
[all …]
/OK3568_Linux_fs/external/xserver/render/
H A Dmirect.c37 miColorRects(PicturePtr pDst, in miColorRects() argument
48 miRenderColorToPixel(pDst->pFormat, color, &pixel); in miColorRects()
50 pGC = GetScratchGC(pDst->pDrawable->depth, pDst->pDrawable->pScreen); in miColorRects()
55 tmpval[2].val = pDst->subWindowMode; in miColorRects()
58 tmpval[3].val = pDst->clipOrigin.x - xoff; in miColorRects()
59 tmpval[4].val = pDst->clipOrigin.y - yoff; in miColorRects()
68 ValidateGC(pDst->pDrawable, pGC); in miColorRects()
77 (*pGC->ops->PolyFillRect) (pDst->pDrawable, pGC, nRect, rects); in miColorRects()
91 PicturePtr pDst, in miCompositeRects() argument
102 miColorRects(pDst, pDst, color, nRect, rects, 0, 0); in miCompositeRects()
[all …]
H A Dpicturestr.h209 PicturePtr pDst,
219 PicturePtr pDst,
227 PicturePtr pDst,
237 PicturePtr pDst,
244 PicturePtr pDst,
251 PicturePtr pDst,
258 PicturePtr pDst,
462 PicturePtr pDst,
472 PicturePtr pDst,
479 PicturePtr pDst,
[all …]
H A Dpicture.c1431 ReduceCompositeOp(CARD8 op, PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst, in ReduceCompositeOp() argument
1450 no_dst_alpha = PICT_FORMAT_COLOR(pDst->format) && in ReduceCompositeOp()
1451 PICT_FORMAT_A(pDst->format) == 0 && pDst->alphaMap == NULL; in ReduceCompositeOp()
1529 PicturePtr pDst, in CompositePicture() argument
1536 PictureScreenPtr ps = GetPictureScreen(pDst->pDrawable->pScreen); in CompositePicture()
1541 ValidatePicture(pDst); in CompositePicture()
1543 op = ReduceCompositeOp(op, pSrc, pMask, pDst, xSrc, ySrc, width, height); in CompositePicture()
1550 pDst, in CompositePicture()
1556 PicturePtr pDst, in CompositeRects() argument
1559 PictureScreenPtr ps = GetPictureScreen(pDst->pDrawable->pScreen); in CompositeRects()
[all …]
H A Dmipict.c320 PicturePtr pDst, in miComputeCompositeRegion() argument
344 if (!miClipPictureReg(pRegion, pDst->pCompositeClip, 0, 0)) { in miComputeCompositeRegion()
348 if (pDst->alphaMap) { in miComputeCompositeRegion()
349 if (!miClipPictureReg(pRegion, pDst->alphaMap->pCompositeClip, in miComputeCompositeRegion()
350 -pDst->alphaOrigin.x, -pDst->alphaOrigin.y)) { in miComputeCompositeRegion()
505 PicturePtr pDst, in miTriStrip() argument
522 CompositeTriangles(op, pSrc, pDst, maskFormat, xSrc, ySrc, ntri, tris); in miTriStrip()
529 PicturePtr pDst, in miTriFan() argument
548 CompositeTriangles(op, pSrc, pDst, maskFormat, xSrc, ySrc, ntri, tris); in miTriFan()
H A Dmipict.h64 PicturePtr pDst,
84 PicturePtr pDst,
101 PicturePtr pDst,
H A Drender.c670 PicturePtr pSrc, pMask, pDst; in ProcRenderComposite() local
679 VERIFY_PICTURE(pDst, stuff->dst, client, DixWriteAccess); in ProcRenderComposite()
680 if (!pDst->pDrawable) in ProcRenderComposite()
685 pSrc->pDrawable->pScreen != pDst->pDrawable->pScreen) || (pMask && in ProcRenderComposite()
688 pDst-> in ProcRenderComposite()
698 pDst, in ProcRenderComposite()
717 PicturePtr pSrc, pDst; in ProcRenderTrapezoids() local
728 VERIFY_PICTURE(pDst, stuff->dst, client, DixWriteAccess); in ProcRenderTrapezoids()
729 if (!pDst->pDrawable) in ProcRenderTrapezoids()
731 if (pSrc->pDrawable && pSrc->pDrawable->pScreen != pDst->pDrawable->pScreen) in ProcRenderTrapezoids()
[all …]
H A Dglyph.c549 PicturePtr pDst, in CompositeGlyphs() argument
554 PictureScreenPtr ps = GetPictureScreen(pDst->pDrawable->pScreen); in CompositeGlyphs()
557 ValidatePicture(pDst); in CompositeGlyphs()
558 (*ps->Glyphs) (op, pSrc, pDst, maskFormat, xSrc, ySrc, nlist, lists, in CompositeGlyphs()
576 PicturePtr pDst, in miGlyphs() argument
584 ScreenPtr pScreen = pDst->pDrawable->pScreen; in miGlyphs()
629 pMask = pDst; in miGlyphs()
657 pDst, in miGlyphs()
678 pDst, in miGlyphs()
/OK3568_Linux_fs/external/xserver/hw/kdrive/ephyr/
H A Dephyr_draw.c105 fakexa->pDst = pPix; in ephyrPrepareSolid()
134 fbFill(&fakexa->pDst->drawable, fakexa->pGC, x1, y1, x2 - x1, y2 - y1); in ephyrSolid()
160 ephyrPrepareCopy(PixmapPtr pSrc, PixmapPtr pDst, int dx, int dy, int alu, in ephyrPrepareCopy() argument
163 ScreenPtr pScreen = pDst->drawable.pScreen; in ephyrPrepareCopy()
171 ephyrPreparePipelinedAccess(pDst, EXA_PREPARE_DEST); in ephyrPrepareCopy()
175 fakexa->pDst = pDst; in ephyrPrepareCopy()
176 fakexa->pGC = GetScratchGC(pDst->drawable.depth, pScreen); in ephyrPrepareCopy()
182 ValidateGC(&pDst->drawable, fakexa->pGC); in ephyrPrepareCopy()
193 ephyrCopy(PixmapPtr pDst, int srcX, int srcY, int dstX, int dstY, int w, int h) in ephyrCopy() argument
195 ScreenPtr pScreen = pDst->drawable.pScreen; in ephyrCopy()
[all …]
/OK3568_Linux_fs/external/xserver/fb/
H A Dfbtrap.c95 PicturePtr pDst, in fbShapes() argument
107 dst = image_from_pict(pDst, TRUE, &dst_xoff, &dst_yoff); in fbShapes()
112 DamageRegionAppend(pDst->pDrawable, pDst->pCompositeClip); in fbShapes()
117 if (pDst->polyEdge == PolyEdgeSharp) in fbShapes()
150 DamageRegionProcessPending(pDst->pDrawable); in fbShapes()
154 free_pixman_pict(pDst, dst); in fbShapes()
160 PicturePtr pDst, in fbTrapezoids() argument
168 op, pSrc, pDst, maskFormat, in fbTrapezoids()
175 PicturePtr pDst, in fbTriangles() argument
183 op, pSrc, pDst, maskFormat, in fbTriangles()
H A Dfbpict.h36 PicturePtr pDst,
58 PicturePtr pDst,
65 PicturePtr pDst,
72 PicturePtr pDst,
H A Dfbpict.c42 PicturePtr pDst, in fbComposite() argument
59 dest = image_from_pict(pDst, TRUE, &dst_xoff, &dst_yoff); in fbComposite()
70 free_pixman_pict(pDst, dest); in fbComposite()
96 PicturePtr pDst, in fbGlyphs() argument
104 ScreenPtr pScreen = pDst->pDrawable->pScreen; in fbGlyphs()
182 if (!(dstImage = image_from_pict(pDst, TRUE, &dstXoff, &dstYoff))) in fbGlyphs()
208 free_pixman_pict(pDst, dstImage); in fbGlyphs()
/OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/
H A Dexa.c66 PixmapPtr pDst; member
506 PixmapPtr pSrc, PixmapPtr pMask, PixmapPtr pDst) in ms_exa_prepare_composite() argument
519 if (!rga_check_pixmap(pDst)) in ms_exa_prepare_composite()
522 if (pDst == pSrc) in ms_exa_prepare_composite()
572 ms_exa_composite_bail(PixmapPtr pDst, int srcX, int srcY, in ms_exa_composite_bail() argument
576 ScreenPtr screen = pDst->drawable.pScreen; in ms_exa_composite_bail()
592 ms_exa_prepare_access(pDst, 0); in ms_exa_composite_bail()
595 ms_exa_composite_fix_offsets(pDstPicture->pDrawable, pDst, &dstX, &dstY); in ms_exa_composite_bail()
604 ms_exa_finish_access(pDst, 0); in ms_exa_composite_bail()
612 ms_exa_composite(PixmapPtr pDst, int srcX, int srcY, in ms_exa_composite() argument
[all …]
/OK3568_Linux_fs/external/xserver/glamor/
H A Dglamor_triangles.c34 PicturePtr pDst, in glamor_triangles() argument
38 if (glamor_prepare_access_picture(pDst, GLAMOR_ACCESS_RW) && in glamor_triangles()
40 fbTriangles(op, pSrc, pDst, maskFormat, xSrc, ySrc, ntris, tris); in glamor_triangles()
43 glamor_finish_access_picture(pDst); in glamor_triangles()
/OK3568_Linux_fs/external/xserver/hw/dmx/
H A Ddmxpict.h73 PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst,
78 PicturePtr pSrc, PicturePtr pDst,
83 PicturePtr pDst,
91 PicturePtr pSrc, PicturePtr pDst,
96 PicturePtr pSrc, PicturePtr pDst,
H A Ddmxpict.c475 PicturePtr pDst; in dmxProcRenderCompositeGlyphs() local
507 dixLookupResourceByType((void **) &pDst, in dmxProcRenderCompositeGlyphs()
511 pDstPriv = DMX_GET_PICT_PRIV(pDst); in dmxProcRenderCompositeGlyphs()
515 scrnNum = pDst->pDrawable->pScreen->myNum; in dmxProcRenderCompositeGlyphs()
1094 PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst, in dmxComposite() argument
1099 ScreenPtr pScreen = pDst->pDrawable->pScreen; in dmxComposite()
1104 dmxPictPrivPtr pDstPriv = DMX_GET_PICT_PRIV(pDst); in dmxComposite()
1112 ps->Composite(op, pSrc, pMask, pDst, in dmxComposite()
1136 PicturePtr pSrc, PicturePtr pDst, in dmxGlyphs() argument
1150 PicturePtr pDst, in dmxCompositeRects() argument
[all …]
H A Ddmxgcops.c173 dmxCopyArea(DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, in dmxCopyArea() argument
180 if (DMX_GCOPS_OFFSCREEN(pSrc) || DMX_GCOPS_OFFSCREEN(pDst)) in dmxCopyArea()
181 return miHandleExposures(pSrc, pDst, pGC, srcx, srcy, w, h, in dmxCopyArea()
185 DMX_GCOPS_SET_DRAWABLE(pDst, dstDraw); in dmxCopyArea()
191 return miHandleExposures(pSrc, pDst, pGC, srcx, srcy, w, h, dstx, dsty); in dmxCopyArea()
199 dmxCopyPlane(DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, in dmxCopyPlane() argument
207 if (DMX_GCOPS_OFFSCREEN(pSrc) || DMX_GCOPS_OFFSCREEN(pDst)) in dmxCopyPlane()
208 return miHandleExposures(pSrc, pDst, pGC, srcx, srcy, width, height, in dmxCopyPlane()
212 DMX_GCOPS_SET_DRAWABLE(pDst, dstDraw); in dmxCopyPlane()
218 return miHandleExposures(pSrc, pDst, pGC, srcx, srcy, width, height, in dmxCopyPlane()
[all …]
/OK3568_Linux_fs/external/xserver/miext/damage/
H A Ddamage.c465 #define TRIM_PICTURE_BOX(box, pDst) { \ argument
466 BoxPtr extents = &pDst->pCompositeClip->extents;\
480 PicturePtr pDst, in damageComposite() argument
487 ScreenPtr pScreen = pDst->pDrawable->pScreen; in damageComposite()
492 if (checkPictureDamage(pDst)) { in damageComposite()
495 box.x1 = xDst + pDst->pDrawable->x; in damageComposite()
496 box.y1 = yDst + pDst->pDrawable->y; in damageComposite()
499 TRIM_PICTURE_BOX(box, pDst); in damageComposite()
501 damageDamageBox(pDst->pDrawable, &box, pDst->subWindowMode); in damageComposite()
516 pDst, in damageComposite()
[all …]
/OK3568_Linux_fs/external/xserver/miext/rootless/
H A DrootlessScreen.c239 RootlessComposite(CARD8 op, PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst, in RootlessComposite() argument
243 ScreenPtr pScreen = pDst->pDrawable->pScreen; in RootlessComposite()
254 dstWin = (pDst->pDrawable->type == DRAWABLE_WINDOW) ? in RootlessComposite()
255 (WindowPtr) pDst->pDrawable : NULL; in RootlessComposite()
267 ps->Composite(op, pSrc, pMask, pDst, in RootlessComposite()
279 RootlessGlyphs(CARD8 op, PicturePtr pSrc, PicturePtr pDst, in RootlessGlyphs() argument
283 ScreenPtr pScreen = pDst->pDrawable->pScreen; in RootlessGlyphs()
292 dstWin = (pDst->pDrawable->type == DRAWABLE_WINDOW) ? in RootlessGlyphs()
293 (WindowPtr) pDst->pDrawable : NULL; in RootlessGlyphs()
302 ps->Glyphs(op, pSrc, pDst, maskFormat, xSrc, ySrc, nlist, list, glyphs); in RootlessGlyphs()
/OK3568_Linux_fs/external/rockit/mpi/example/common/
H A Dtest_comm_bmp.cpp122 RK_U16 *pDst; in load_bmp_ex() local
201 pDst = reinterpret_cast<RK_U16*>(pRGBBuf + i*pVideoLogo->stride + j*2); in load_bmp_ex()
205 *pDst = (RK_U16)OSD_MAKECOLOR_ARGB(r, g, b, s_OSDCompInfo[enFmt]); in load_bmp_ex()
211 pDst = reinterpret_cast<RK_U16*>(pRGBBuf + i*pVideoLogo->stride + j*2); in load_bmp_ex()
215 *pDst = (RK_U16)OSD_MAKECOLOR_BGRA(r, g, b, s_OSDCompInfo[enFmt]); in load_bmp_ex()
/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86VGAarbiter.c661 DrawablePtr pDst, in VGAarbiterCopyArea() argument
671 ret = (*pGC->ops->CopyArea) (pSrc, pDst, in VGAarbiterCopyArea()
680 DrawablePtr pDst, in VGAarbiterCopyPlane() argument
691 ret = (*pGC->ops->CopyPlane) (pSrc, pDst, pGC, srcx, srcy, in VGAarbiterCopyPlane()
979 PicturePtr pDst, INT16 xSrc, INT16 ySrc, INT16 xMask, in VGAarbiterComposite() argument
983 ScreenPtr pScreen = pDst->pDrawable->pScreen; in VGAarbiterComposite()
989 (*ps->Composite) (op, pSrc, pMask, pDst, xSrc, ySrc, xMask, yMask, xDst, in VGAarbiterComposite()
996 VGAarbiterGlyphs(CARD8 op, PicturePtr pSrc, PicturePtr pDst, in VGAarbiterGlyphs() argument
1000 ScreenPtr pScreen = pDst->pDrawable->pScreen; in VGAarbiterGlyphs()
1006 (*ps->Glyphs) (op, pSrc, pDst, maskFormat, xSrc, ySrc, nlist, list, glyphs); in VGAarbiterGlyphs()
[all …]

123