VirtualBox

Ignore:
Timestamp:
Jul 3, 2020 7:42:10 PM (4 years ago)
Author:
vboxsync
Message:

WDDM: tweaked miniport capabilities to be at Win7+ level

File:
1 edited

Legend:

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

    r84729 r85059  
    16471647                pCaps->PresentationCaps.NoScreenToScreenBlt = 1;
    16481648                pCaps->PresentationCaps.NoOverlapScreenBlt = 1;
     1649                pCaps->PresentationCaps.AlignmentShift = 2;
     1650                pCaps->PresentationCaps.MaxTextureWidthShift = 2; /* Up to 8196 */
     1651                pCaps->PresentationCaps.MaxTextureHeightShift = 2; /* Up to 8196 */
    16491652                pCaps->MaxQueuedFlipOnVSync = 0; /* do we need it? */
    16501653                pCaps->FlipCaps.Value = 0;
     
    16771680
    16781681                if (VBoxQueryWinVersion(NULL) >= WINVERSION_8)
    1679                     pCaps->WDDMVersion = DXGKDDI_WDDMv1;
     1682                    pCaps->WDDMVersion = DXGKDDI_WDDMv1_2;
    16801683            }
    16811684            else
     
    17571760                    if (VBoxQueryWinVersion(NULL) >= WINVERSION_7)
    17581761                    {
    1759                         // pQAI->u32AdapterCaps |= VBOXWDDM_QAI_CAP_WIN7;
     1762                        pQAI->u32AdapterCaps |= VBOXWDDM_QAI_CAP_WIN7;
    17601763                        // pQAI->u32AdapterCaps |= VBOXWDDM_QAI_CAP_DXVAHD; /** @todo Fetch from registry. */
    17611764                    }
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