Changeset 42541 in vbox
- Timestamp:
- Aug 2, 2012 1:51:22 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 79716
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp
r42501 r42541 4733 4733 # endif 4734 4734 pDevExt->fRenderToShadowDisabled 4735 || (pAllocation && pAllocation->enmType == VBOXWDDM_ALLOC_TYPE_UMD_RC_GENERIC) 4735 /* only update for UMD_RC_GENERIC when resolution changes to inform host about it 4736 * otherwise keep host using the same VRAM, containing a valid data before the switch (i.e. SHADOW) */ 4737 || (pAllocation 4738 && pAllocation->enmType == VBOXWDDM_ALLOC_TYPE_UMD_RC_GENERIC 4739 && (pAllocation->AllocData.SurfDesc.width != pSource->AllocData.SurfDesc.width 4740 || pAllocation->AllocData.SurfDesc.height != pSource->AllocData.SurfDesc.height) 4741 ) 4736 4742 ) 4737 4743 #endif … … 4790 4796 # endif 4791 4797 pDevExt->fRenderToShadowDisabled 4792 || (pAllocation && pAllocation->enmType == VBOXWDDM_ALLOC_TYPE_UMD_RC_GENERIC) 4798 /* only update for UMD_RC_GENERIC when resolution changes to inform host about it 4799 * otherwise keep host using the same VRAM, containing a valid data before the switch (i.e. SHADOW) */ 4800 || (pAllocation 4801 && pAllocation->enmType == VBOXWDDM_ALLOC_TYPE_UMD_RC_GENERIC 4802 && (pAllocation->AllocData.SurfDesc.width != pSource->AllocData.SurfDesc.width 4803 || pAllocation->AllocData.SurfDesc.height != pSource->AllocData.SurfDesc.height) 4804 ) 4793 4805 ) 4794 4806 #endif
Note:
See TracChangeset
for help on using the changeset viewer.