Changeset 61381 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jun 1, 2016 6:07:40 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 107692
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp
r60802 r61381 369 369 } 370 370 #endif /* VBOX_WITH_VIDEOHWACCEL */ 371 #if 0 372 # ifdef VBOX_WITH_CRHGSMI 371 #ifdef VBOX_WITH_CRHGSMI 373 372 /* 3D acceleration video RAM amount test: */ 374 373 else if (m_pCheckbox3D->isChecked() && m_fWddmModeSupported) 375 374 { 375 # if 0 376 376 int cGuestScreenCount = m_pEditorVideoScreenCount->value(); 377 377 uNeedBytes += VBoxGlobal::required3DWddmOffscreenVideoMemory(m_guestOSType.GetId(), cGuestScreenCount); 378 uNeedBytes = qMax(uNeedBytes, 128 * _1M);379 378 uNeedBytes = qMin(uNeedBytes, 256 * _1M); 379 # endif 380 uNeedBytes = qMax(uNeedBytes, (quint64) 128 * _1M); 380 381 if ((quint64)m_pEditorVideoMemorySize->value() * _1M < uNeedBytes) 381 382 { … … 386 387 } 387 388 } 388 # endif /* VBOX_WITH_CRHGSMI */ 389 #endif /* 0 */ 389 #endif /* VBOX_WITH_CRHGSMI */ 390 390 } 391 391 … … 962 962 # if 0 963 963 uNeedMBytes += VBoxGlobal::required3DWddmOffscreenVideoMemory(m_guestOSType.GetId(), cGuestScreenCount) / _1M; 964 uNeedMBytes = qMax(uNeedMBytes, 128);965 964 uNeedMBytes = qMin(uNeedMBytes, 256); 966 965 # endif 966 uNeedMBytes = qMax(uNeedMBytes, (quint64) 128); 967 967 /* No less than 256MB (if possible): */ 968 968 if (m_iMaxVRAMVisible < 256 && m_iMaxVRAM >= 256)
Note:
See TracChangeset
for help on using the changeset viewer.