VirtualBox

Ignore:
Timestamp:
Dec 5, 2019 12:41:21 PM (5 years ago)
Author:
vboxsync
Message:

WDDM: introduce DXVA capability flag; log the adapter capabilities; log the build type

File:
1 edited

Legend:

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

    r81856 r82414  
    17541754                    pQAI->enmHwType = pDevExt->enmHwType;
    17551755                    pQAI->u32AdapterCaps = pDevExt->f3DEnabled ? VBOXWDDM_QAI_CAP_3D : 0;
     1756                    pQAI->u32AdapterCaps |= VBOXWDDM_QAI_CAP_DXVA; /** @todo Fetch from registry. */
     1757                    static int cLoggedCaps = 0;
     1758                    if (cLoggedCaps < 1)
     1759                    {
     1760                        ++cLoggedCaps;
     1761                        LOGREL_EXACT(("WDDM: addapter capabilities 0x%08X\n", pQAI->u32AdapterCaps));
     1762                    }
    17561763                    if (pDevExt->enmHwType == VBOXVIDEO_HWTYPE_VBOX)
    17571764                    {
     
    49965003#endif
    49975004
    4998     LOGREL(("VBox WDDM Driver for Windows %s version %d.%d.%dr%d, %d bit; Built %s %s",
     5005#ifdef DEBUG
     5006#define VBOXWDDM_BUILD_TYPE "dbg"
     5007#else
     5008#define VBOXWDDM_BUILD_TYPE "rel"
     5009#endif
     5010
     5011    LOGREL(("VBox WDDM Driver for Windows %s version %d.%d.%dr%d %s, %d bit; Built %s %s",
    49995012            VBoxQueryWinVersion(NULL) >= WINVERSION_8 ? "8+" : "Vista and 7",
    50005013            VBOX_VERSION_MAJOR, VBOX_VERSION_MINOR, VBOX_VERSION_BUILD, VBOX_SVN_REV,
     5014            VBOXWDDM_BUILD_TYPE,
    50015015            (sizeof (void*) << 3), __DATE__, __TIME__));
    50025016
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