search for: preparecopy

Displaying 2 results from an estimated 2 matches for "preparecopy".

2009 Oct 22
1
[PATCH] nv04-nv40/exa: Reorder the commands in PrepareCopy to match the blob.
...y: Francisco Jerez <currojerez at riseup.net> --- src/nv04_exa.c | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/nv04_exa.c b/src/nv04_exa.c index 132c9d5..7384cbc 100644 --- a/src/nv04_exa.c +++ b/src/nv04_exa.c @@ -197,16 +197,9 @@ NV04EXAPrepareCopy(PixmapPtr pSrcPixmap, PixmapPtr pDstPixmap, int dx, int dy, return FALSE; planemask |= ~0 << pDstPixmap->drawable.bitsPerPixel; - if (planemask != ~0 || alu != GXcopy) { - if (pDstPixmap->drawable.bitsPerPixel == 32) - return FALSE; - BEGIN_RING(chan, blit, NV04_IMAGE_BLIT_OP...
2013 Jul 22
0
[RFC PATCH] Support running nested in a Mir compositor
...0, 0, pScrn->depth, 0); + if (dst == NullPixmap) + goto cleanup_bo; + + pScreen->ModifyPixmapHeader(dst, pScrn->virtualX, pScrn->virtualY, pScrn->depth, pScrn->depth, + pScrn->virtualX, NULL); + nouveau_bo_ref(bo_dst, &nouveau_pixmap(dst)->bo); + + ret = exa->PrepareCopy (src, dst, 0, 0, GXcopy, FB_ALLONES); + if (ret) { + exa->Copy (dst, 0, 0, 0, 0, pScrn->virtualX, pScrn->virtualY); + exa->DoneCopy (dst); + PUSH_KICK(pNv->pushbuf); + } + +cleanup_bo: + nouveau_bo_ref(NULL, &bo_dst); +} + +static void +nouveau_xmir_buffer_available(WindowPtr...