Changeset 52450 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm
- Timestamp:
- Aug 21, 2014 7:11:11 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/VBox-4.3 merged: 95659
- Property svn:mergeinfo changed
-
trunk/src/VBox
- Property svn:mergeinfo changed
/branches/VBox-4.3/src/VBox merged: 95659
- Property svn:mergeinfo changed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPVModes.cpp
r52136 r52450 87 87 } 88 88 89 static void vboxWddmVModesCleanup(VBOXWDDM_VMODES *pModes) 90 { 91 VBoxVModesCleanup(&pModes->Modes); 92 memset(pModes->aTransientResolutions, 0, sizeof (pModes->aTransientResolutions)); 93 memset(pModes->aPendingRemoveCurResolutions, 0, sizeof (pModes->aPendingRemoveCurResolutions)); 94 } 95 89 96 /* 90 97 static void vboxWddmVModesClone(const VBOXWDDM_VMODES *pModes, VBOXWDDM_VMODES *pDst) … … 384 391 static VBOXWDDM_VMODES g_VBoxWddmVModes; 385 392 393 void VBoxWddmVModesCleanup() 394 { 395 VBOXWDDM_VMODES *pModes = &g_VBoxWddmVModes; 396 vboxWddmVModesCleanup(pModes); 397 } 386 398 387 399 int VBoxWddmVModesInit(PVBOXMP_DEVEXT pExt) -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPVModes.h
r52136 r52450 34 34 35 35 int VBoxWddmVModesInit(PVBOXMP_DEVEXT pExt); 36 void VBoxWddmVModesCleanup(); 36 37 const CR_SORTARRAY* VBoxWddmVModesGet(PVBOXMP_DEVEXT pExt, uint32_t u32Target); 37 38 int VBoxWddmVModesRemove(PVBOXMP_DEVEXT pExt, uint32_t u32Target, const RTRECTSIZE *pResolution); -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp
r52350 r52450 1352 1352 vboxWddmVGuidFree(pDevExt); 1353 1353 1354 VBoxWddmVModesCleanup(); 1354 1355 /* revert back to the state we were right after the DxgkDdiAddDevice */ 1355 1356 vboxWddmDevExtZeroinit(pDevExt, pDevExt->pPDO);
Note:
See TracChangeset
for help on using the changeset viewer.