Changeset 65467 in vbox
- Timestamp:
- Jan 26, 2017 7:46:42 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp
r65381 r65467 7266 7266 for (UINT i = 0; i < pPresentDisplayOnly->NumDirtyRects; ++i) 7267 7267 { 7268 vboxVdmaGgDmaBltPerform(pDevExt, &SrcAllocData, &pPresentDisplayOnly->pDirtyRect[i], &pSource->AllocData, &pPresentDisplayOnly->pDirtyRect[i]); 7268 RECT *pDirtyRect = &pPresentDisplayOnly->pDirtyRect[i]; 7269 7270 if (pDirtyRect->left >= pDirtyRect->right || pDirtyRect->top >= pDirtyRect->bottom) 7271 { 7272 WARN(("Wrong dirty rect (%d, %d)-(%d, %d)", 7273 pDirtyRect->left, pDirtyRect->top, pDirtyRect->right, pDirtyRect->bottom)); 7274 continue; 7275 } 7276 7277 vboxVdmaGgDmaBltPerform(pDevExt, &SrcAllocData, pDirtyRect, &pSource->AllocData, pDirtyRect); 7278 7269 7279 if (!bUpdateRectInited) 7270 7280 { 7271 UpdateRect = pPresentDisplayOnly->pDirtyRect[i];7281 UpdateRect = *pDirtyRect; 7272 7282 bUpdateRectInited = TRUE; 7273 7283 } 7274 7284 else 7275 vboxWddmRectUnite(&UpdateRect, &pPresentDisplayOnly->pDirtyRect[i]);7285 vboxWddmRectUnite(&UpdateRect, pDirtyRect); 7276 7286 } 7277 7287
Note:
See TracChangeset
for help on using the changeset viewer.