VirtualBox

Changeset 33620 in vbox


Ignore:
Timestamp:
Oct 29, 2010 3:54:58 PM (14 years ago)
Author:
vboxsync
Message:

wddm/3d: more gui settings fixes

Location:
trunk/src/VBox/Frontends/VirtualBox/src/settings/vm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsDisplay.cpp

    r33617 r33620  
    151151
    152152    m_bWddmMode = bWddm;
    153     checkMultiMonitorReqs();
     153    checkVRAMRequirements();
    154154}
    155155#endif
     
    161161    int currentSize = mMachine.GetVRAMSize();
    162162    m_initialVRAM = RT_MIN(currentSize, m_maxVRAM);
    163 
    164     /* must come _before_ setting the initial memory value */
    165     checkMultiMonitorReqs();
    166163
    167164    /* Memory Size */
     
    176173    mCb3D->setEnabled (isAccelerationSupported);
    177174    mCb3D->setChecked (mMachine.GetAccelerate3DEnabled());
     175
     176    /* must come _before_ setting the initial memory value */
     177    checkVRAMRequirements();
    178178
    179179#ifdef VBOX_WITH_VIDEOHWACCEL
     
    273273    }
    274274#endif
     275#ifdef VBOX_WITH_CRHGSMI
     276    checkVRAMRequirements();
     277#endif
    275278
    276279    /* 3D Acceleration support test */
     
    335338{
    336339    mLeMonitors->setText (QString().setNum (aVal));
    337     checkMultiMonitorReqs();
     340    checkVRAMRequirements();
    338341}
    339342
     
    343346}
    344347
    345 void VBoxVMSettingsDisplay::checkMultiMonitorReqs()
     348void VBoxVMSettingsDisplay::checkVRAMRequirements()
    346349{
    347350    int cVal = mSlMonitors->value();
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsDisplay.h

    r33617 r33620  
    6565private:
    6666
    67     void checkMultiMonitorReqs();
     67    void checkVRAMRequirements();
    6868
    6969    CMachine mMachine;
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsGeneral.cpp

    r33617 r33620  
    6161
    6262#ifdef VBOX_WITH_CRHGSMI
    63 #include <stdio.h>
    6463bool VBoxVMSettingsGeneral::isWddmSupportedForOSType() const
    6564{
    6665    const QString & id = mOSTypeSelector->type().GetId();
    67     printf("%S\n", id.utf16());
    6866    bool bWddm = id == "WindowsVista" || id == "Windows7";
    6967    return bWddm;
Note: See TracChangeset for help on using the changeset viewer.

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