VirtualBox

Ignore:
Timestamp:
May 28, 2021 2:17:19 PM (4 years ago)
Author:
vboxsync
Message:

3D/VMSVGA/WDDM: Read all the SVGA3D_DEVCAP_* values from host during device initialization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/gallium/Svga.cpp

    r86307 r89361  
    200200    {
    201201        pSvgaInfo->au32Regs[i] = SVGARegRead(pSvga, i);
     202    }
     203
     204    for (i = 0; i < RT_ELEMENTS(pSvgaInfo->au32Caps); ++i)
     205    {
     206        SVGARegWrite(pSvga, SVGA_REG_DEV_CAP, i);
     207        pSvgaInfo->au32Caps[i] = SVGARegRead(pSvga, SVGA_REG_DEV_CAP);
    202208    }
    203209
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