VirtualBox

Changeset 61381 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jun 1, 2016 6:07:40 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
107692
Message:

FE/Qt: bugref:8376: VM settings dialog: Display page: Restore CRHGSMI warning for insufficient VRAM amount (128MB for now) of WDDM supporting OS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp

    r60802 r61381  
    369369            }
    370370#endif /* VBOX_WITH_VIDEOHWACCEL */
    371 #if 0
    372 # ifdef VBOX_WITH_CRHGSMI
     371#ifdef VBOX_WITH_CRHGSMI
    373372            /* 3D acceleration video RAM amount test: */
    374373            else if (m_pCheckbox3D->isChecked() && m_fWddmModeSupported)
    375374            {
     375# if 0
    376376                int cGuestScreenCount = m_pEditorVideoScreenCount->value();
    377377                uNeedBytes += VBoxGlobal::required3DWddmOffscreenVideoMemory(m_guestOSType.GetId(), cGuestScreenCount);
    378                 uNeedBytes = qMax(uNeedBytes, 128 * _1M);
    379378                uNeedBytes = qMin(uNeedBytes, 256 * _1M);
     379# endif
     380                uNeedBytes = qMax(uNeedBytes, (quint64) 128 * _1M);
    380381                if ((quint64)m_pEditorVideoMemorySize->value() * _1M < uNeedBytes)
    381382                {
     
    386387                }
    387388            }
    388 # endif /* VBOX_WITH_CRHGSMI */
    389 #endif /* 0 */
     389#endif /* VBOX_WITH_CRHGSMI */
    390390        }
    391391
     
    962962# if 0
    963963        uNeedMBytes += VBoxGlobal::required3DWddmOffscreenVideoMemory(m_guestOSType.GetId(), cGuestScreenCount) / _1M;
    964         uNeedMBytes = qMax(uNeedMBytes, 128);
    965964        uNeedMBytes = qMin(uNeedMBytes, 256);
    966965# endif
     966        uNeedMBytes = qMax(uNeedMBytes, (quint64) 128);
    967967        /* No less than 256MB (if possible): */
    968968        if (m_iMaxVRAMVisible < 256 && m_iMaxVRAM >= 256)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette