Displaying 1 result from an estimated 1 matches for "use_overlay".
2010 Jul 29
1
[PATCH] Reflow logic to make it easier to follow
...49,11 +1248,29 @@ CPU_copy:
if (pPriv->currentHostBuffer != NO_PRIV_HOST_BUFFER_AVAILABLE)
pPriv->currentHostBuffer ^= 1;
- /* If we're not using the hw overlay, we're rendering into a pixmap
- * and need to take a couple of additional steps...
- */
- if (!(action_flags & USE_OVERLAY)) {
- ppix = NVGetDrawablePixmap(pDraw);
+ if (action_flags & USE_OVERLAY) {
+ if (pNv->Architecture == NV_ARCH_04) {
+ NV04PutOverlayImage(pScrn, pPriv->video_mem, offset,
+ id, dstPitch, &dstBox, 0, 0,
+ xb, yb, npixels, nlines,
+ src_w, src_h, drw_w, drw...