Changeset 30508 in vbox for trunk/src/VBox/Additions/WINNT/Graphics
- Timestamp:
- Jun 29, 2010 3:30:09 PM (14 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3DCmn.h
r30462 r30508 63 63 } while (0) 64 64 #define vboxVDbgPrintR vboxVDbgPrint 65 #define vboxVDbgPrintF vboxVDbgPrint65 #define vboxVDbgPrintF(_m) do {} while (0) 66 66 #else 67 67 #define vboxVDbgBreak() do {} while (0) -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp
r30484 r30508 2110 2110 { 2111 2111 pRectsCmd->pContext = pContext; 2112 pRectsCmd->ContextsRects = pBlt->DstRects;2112 memcpy(&pRectsCmd->ContextsRects, &pBlt->DstRects, RT_OFFSETOF(VBOXVDMAPIPE_RECTS, UpdateRects.aRects[pBlt->DstRects.UpdateRects.cRects])); 2113 2113 NTSTATUS tmpStatus = vboxVdmaGgCmdSubmit(&pDevExt->u.primary.Vdma.DmaGg, &pRectsCmd->Hdr); 2114 2114 Assert(tmpStatus == STATUS_SUCCESS); … … 3775 3775 Assert(pPresent->SubRectCnt > pPresent->MultipassOffset); 3776 3776 UINT cbRects = (pPresent->SubRectCnt - pPresent->MultipassOffset) * sizeof (RECT); 3777 pPresent->pDmaBuffer = ((uint8_t*)pPresent->pDmaBuffer) + cbHead + cbRects; 3777 pPresent->pDmaBufferPrivateData = (uint8_t*)pPresent->pDmaBufferPrivateData + cbHead + cbRects; 3778 pPresent->pDmaBuffer = ((uint8_t*)pPresent->pDmaBuffer) + VBOXWDDM_DUMMY_DMABUFFER_SIZE; 3779 Assert(pPresent->DmaSize >= VBOXWDDM_DUMMY_DMABUFFER_SIZE); 3778 3780 cbCmd -= cbHead; 3779 3781 Assert(cbCmd < UINT32_MAX/2); … … 3797 3799 } 3798 3800 3799 pPresent->pDmaBufferPrivateData = (uint8_t*)pPresent->pDmaBufferPrivateData + cbHead + cbRects;3800 pPresent->pDmaBuffer = ((uint8_t*)pPresent->pDmaBuffer) + VBOXWDDM_DUMMY_DMABUFFER_SIZE;3801 Assert(pPresent->DmaSize >= VBOXWDDM_DUMMY_DMABUFFER_SIZE);3802 3801 memset(pPresent->pPatchLocationListOut, 0, 2*sizeof (D3DDDI_PATCHLOCATIONLIST)); 3803 3802 pPresent->pPatchLocationListOut->PatchOffset = 0;
Note:
See TracChangeset
for help on using the changeset viewer.