Lines Matching refs:pDev

398 static void vrdpReportDirtyPathBounds(PVBOXDISPDEV pDev, CLIPOBJ *pco, PATHOBJ *ppo)
412 vrdpReportDirtyRect(pDev, &rclBounds);
415 static void vrdpReportDirtyPath(PVBOXDISPDEV pDev, CLIPOBJ *pco, PATHOBJ *ppo)
417 vrdpReportDirtyPathBounds(pDev, pco, ppo);
420 static void vrdpReportDirtyClip(PVBOXDISPDEV pDev, CLIPOBJ *pco, RECTL *prcl)
424 vrdpReportDirtyRect(pDev, prcl);
428 vrdpReportDirtyRect(pDev, &pco->rclBounds);
432 static void vrdpReportDirtyRects(PVBOXDISPDEV pDev, VRDPCLIPRECTS *pClipRects)
435 vrdpReportDirtyRect (pDev, &pClipRects->rclDst);
438 __inline BOOL vrdpWriteHdr (PVBOXDISPDEV pDev, uint32_t u32Op)
440 return VBoxVBVAWrite(&pDev->vbvaCtx, &pDev->hgsmi.ctx, &u32Op, sizeof (u32Op));
443 static BOOL vrdpWriteBits (PVBOXDISPDEV pDev, uint8_t *pu8Bits, int lDelta, int32_t x, int32_t y, uint32_t cWidth, uint32_t cHeight, int bytesPerPixel)
456 bRc = VBoxVBVAWrite(&pDev->vbvaCtx, &pDev->hgsmi.ctx, &bits, sizeof (bits));
462 bRc = VBoxVBVAWrite(&pDev->vbvaCtx, &pDev->hgsmi.ctx, pu8Bits, cWidth * bytesPerPixel);
479 static BOOL vrdpReportOrder(PVBOXDISPDEV pDev, const void *pOrder, unsigned cbOrder, unsigned code)
481 BOOL bRc = vrdpWriteHdr(pDev, VRDP_MAKE_OP(code));
485 VBoxVBVAWrite(&pDev->vbvaCtx, &pDev->hgsmi.ctx, pOrder, cbOrder);
491 static BOOL vrdpReportBounds(PVBOXDISPDEV pDev, const RECTL *prcl)
500 return vrdpReportOrder(pDev, &bounds, sizeof (bounds), VRDE_ORDER_BOUNDS);
503 static BOOL vrdpReportRepeat(PVBOXDISPDEV pDev, const CLIPRECTS *pRects)
522 bRc = vrdpReportOrder(pDev, &repeat, sizeof (repeat), VRDE_ORDER_REPEAT);
534 void vrdpReportDirtyRect(PVBOXDISPDEV pDev, RECTL *prcl)
536 SURFOBJ *pso = pDev->surface.psoBitmap;
569 bRc = vrdpWriteHdr(pDev, VRDP_MAKE_OP(VRDE_ORDER_DIRTY_RECT));
573 bRc = vrdpWriteBits(pDev, pu8Bits, lDelta, rclCopy.left, rclCopy.top, cWidth, cHeight, bytesPerPixel);
658 BOOL vrdpReportOrderGeneric (PVBOXDISPDEV pDev,
668 bRc = vrdpReportBounds (pDev, &pClipRects->rects.arcl[0]);
676 bRc = vrdpReportOrder (pDev, pvOrder, cbOrder, code);
685 bRc = vrdpReportRepeat (pDev, &pClipRects->rects);
691 static void vrdpReportOrderGenericBounds (PVBOXDISPDEV pDev,
702 vrdpReportOrderGeneric (pDev, pClipRects, pvOrder, cbOrder, code);
706 static void vrdpReportSolidRect (PVBOXDISPDEV pDev,
719 vrdpReportOrderGeneric (pDev, pClipRects, &order, sizeof (order), VRDE_ORDER_SOLIDRECT);
722 static void vrdpReportSolidBlt (PVBOXDISPDEV pDev,
737 vrdpReportOrderGeneric (pDev, pClipRects, &order, sizeof (order), VRDE_ORDER_SOLIDBLT);
740 static void vrdpReportPatBlt (PVBOXDISPDEV pDev,
777 vrdpReportOrderGeneric (pDev, pClipRects, &order, sizeof (order), VRDE_ORDER_PATBLTBRUSH);
780 static void vrdpReportDstBlt (PVBOXDISPDEV pDev,
793 vrdpReportOrderGeneric (pDev, pClipRects, &order, sizeof (order), VRDE_ORDER_DSTBLT);
796 static void vrdpReportScreenBlt (PVBOXDISPDEV pDev,
812 vrdpReportOrderGeneric (pDev, pClipRects, &order, sizeof (order), VRDE_ORDER_SCREENBLT);
815 static void vrdpReportMemBltRect (PVBOXDISPDEV pDev,
835 vrdpReportOrder (pDev, &order, sizeof (order), VRDE_ORDER_MEMBLT);
838 static void vrdpReportMemBlt (PVBOXDISPDEV pDev,
851 vrdpReportMemBltRect (pDev, &pClipRects->rclDst, pptlSrc->x + xShift, pptlSrc->y + yShift, rop3, phash);
863 vrdpReportMemBltRect (pDev, &pClipRects->rects.arcl[i], pptlSrc->x + xShift, pptlSrc->y + yShift, rop3, phash);
868 static void vrdpReportCachedBitmap (PVBOXDISPDEV pDev,
879 bRc = vrdpReportOrder (pDev, &order, sizeof (order), VRDE_ORDER_CACHED_BITMAP);
892 vrdpWriteBits (pDev, pu8Bits, lDelta, 0, 0, cWidth, cHeight, bytesPerPixel);
896 static void vrdpReportDeletedBitmap (PVBOXDISPDEV pDev,
904 vrdpReportOrder (pDev, &order, sizeof (order), VRDE_ORDER_DELETED_BITMAP);
908 void vrdpReset(PVBOXDISPDEV pDev)
910 LOGF(("%p", pDev));
912 vrdpbmpReset(&pDev->vrdpCache);
924 PVBOXDISPDEV pDev = (PVBOXDISPDEV)pso->dhpdev;
949 vrdpReportDirtyRects(pDev, &clipRects);
954 vrdpReportDirtyRects(pDev, &clipRects);
977 vrdpReportOrderGeneric(pDev, &clipRects, &order, sizeof (order), VRDE_ORDER_LINE);
984 PVBOXDISPDEV pDev = (PVBOXDISPDEV)pso->dhpdev;
1025 vrdpReportDirtyRects(pDev, &clipRects);
1030 vrdpReportDirtyRects(pDev, &clipRects);
1034 if (VBoxVBVAOrderSupported(&pDev->vbvaCtx, VRDE_ORDER_ELLIPSE))
1047 vrdpReportOrderGeneric(pDev, &clipRects, &order, sizeof (order), VRDE_ORDER_ELLIPSE);
1052 vrdpReportDirtyRects (pDev, &clipRects);
1120 vrdpReportOrderGenericBounds(pDev, &clipRects, &bounds, &order, sizeof (order), VRDE_ORDER_POLYLINE);
1150 vrdpReportOrderGenericBounds(pDev, &clipRects, &bounds, &order, sizeof (order), VRDE_ORDER_POLYLINE);
1163 vrdpReportDirtyRects(pDev, &clipRects);
1172 PVBOXDISPDEV pDev = (PVBOXDISPDEV)pso->dhpdev;
1173 vrdpReportDirtyPath(pDev, pco, ppo);
1178 PVBOXDISPDEV pDev = (PVBOXDISPDEV)pso->dhpdev;
1179 vrdpReportDirtyClip(pDev, pco, NULL);
1186 PVBOXDISPDEV pDev = (PVBOXDISPDEV)pso->dhpdev;
1210 vrdpReportDirtyRects (pDev, &clipRects);
1225 vrdpReportDirtyRects(pDev, &clipRects);
1231 vrdpReportSolidRect(pDev, &clipRects, 0x0000FF);
1239 if (!vrdpReportText(pDev, &clipRects, pstro, pfo, prclOpaque, ulForeRGB, ulBackRGB))
1241 vrdpReportDirtyRects(pDev, &clipRects);
1251 PVBOXDISPDEV pDev = (PVBOXDISPDEV)pso->dhpdev;
1267 vrdpReportOrderGeneric(pDev, NULL, &order, sizeof (order), VRDE_ORDER_SAVESCREEN);
1282 if (vrdpReportOrderGeneric(pDev, NULL, &order, sizeof (order), VRDE_ORDER_SAVESCREEN))
1304 vrdpWriteBits(pDev, pu8Bits, lDelta, prcl->left, prcl->top, w, h, cbPixel);
1329 PVBOXDISPDEV pDev = (PVBOXDISPDEV)psoTrg->dhpdev;
1368 vrdpReportDirtyRects(pDev, &clipRects);
1374 vrdpReportDirtyRects(pDev, &clipRects);
1386 vrdpReportDirtyRects(pDev, &clipRects);
1401 vrdpReportSolidRect(pDev, &rclTrg, &clipRects, rgb);
1405 vrdpReportSolidBlt(pDev, &rclTrg, &clipRects, rgb, (uint8_t)rop4);
1426 vrdpReportPatBlt(pDev, &rclTrg, &clipRects, pBrush, pptlBrush, (uint8_t)rop4);
1431 vrdpReportDirtyRects(pDev, &clipRects);
1437 vrdpReportDirtyRects(pDev, &clipRects);
1454 vrdpReportScreenBlt(pDev, &rclTrg, &clipRects, pptlSrc, (uint8_t)rop4);
1464 if ( pDev->bBitmapCacheDisabled
1485 cacheResult = vrdpbmpCacheSurface(&pDev->vrdpCache, psoSrc, &hash, &hashDeleted, FALSE);
1493 vrdpReportDeletedBitmap(pDev, &hashDeleted);
1500 vrdpReportCachedBitmap(pDev, psoSrc, &hash);
1506 vrdpReportMemBlt(pDev, &clipRects, pptlSrc, (uint8_t)rop4, &hash);
1528 vrdpReportDirtyRects(pDev, &clipRects);
1536 vrdpReportDstBlt(pDev, &rclTrg, &clipRects, (uint8_t)rop4);
1545 PVBOXDISPDEV pDev = (PVBOXDISPDEV)psoDest->dhpdev;
1546 vrdpReportDirtyClip(pDev, pco, prclDest);