VirtualBox

Changeset 107405 in vbox for trunk


Ignore:
Timestamp:
Dec 24, 2024 5:00:55 PM (3 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166454
Message:

3D: Check SVGA_CAP_GBOBJECTS capability before loading 3D surfaces from a saved state. More reliable check of 3D state presence should be implemented. bugref:10580

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp

    r107328 r107405  
    61076107    AssertRCReturn(rc, rc);
    61086108
     6109    if (pThis->svga.fVMSVGA2dGBO)
     6110    {
     6111        if (pThis->svga.u32DeviceCaps & SVGA_CAP_GBOBJECTS)
     6112        {
     6113            LogRel(("VGA: VMSVGA2dGBO enabled in VM config and SVGA_CAP_GBOBJECTS is present in Caps. 3D state should be loaded.\n"));
     6114        }
     6115        else
     6116        {
     6117            LogRel(("VGA: VMSVGA2dGBO enabled in VM config but SVGA_CAP_GBOBJECTS is NOT present in Caps, so fVMSVGA2dGBO should be forced to 0\n"));
     6118            pThis->svga.fVMSVGA2dGBO = false;
     6119        }
     6120    }
     6121
    61096122    /* Load the VGA framebuffer. */
    61106123    AssertCompile(VMSVGA_VGA_FB_BACKUP_SIZE >= _32K);
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