VirtualBox

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


Ignore:
Timestamp:
Jan 8, 2025 6:06:54 PM (4 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166616
Message:

FE/Qt: bugref:10767: VM settings / Display page: Make sure 3D acceleration check-box enable/disable rules are properly justified separately for Windows WDDM case (VBoxSVGA controller) and rest of guest OS types (VMSVGA controller); S.a. previous try in r166612 reverted in r166615.

File:
1 edited

Legend:

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

    r107545 r107546  
    639639    /* Validation prerequisites: */
    640640#ifdef VBOX_WITH_3D_ACCELERATION
    641     /* Check whether WDDM mode supported by the guest OS type: */
    642     m_f3DAccelerationSupported = UIGuestOSTypeHelpers::isWddmCompatibleOsType(m_strGuestOSTypeId);
     641    /* Special handling for Windows guests, 3D is available for VBoxSVGA only: */
     642    if (m_strGuestOSTypeId.startsWith("Windows"))
     643        m_f3DAccelerationSupported = graphicsControllerTypeCurrent() == KGraphicsControllerType_VBoxSVGA
     644                                   ? UIGuestOSTypeHelpers::isWddmCompatibleOsType(m_strGuestOSTypeId)
     645                                   : false;
     646    /* For the rest of guest OS types 3D is available for VMSVGA only: */
     647    else
     648        m_f3DAccelerationSupported = graphicsControllerTypeCurrent() == KGraphicsControllerType_VMSVGA;
    643649
    644650    /* Additionally make sure 3D acceleration is one of the features for current graphical controller: */
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