VirtualBox

Ignore:
Timestamp:
May 4, 2022 6:10:12 PM (3 years ago)
Author:
vboxsync
Message:

WDDM: OpenResource, DestroyResource, SetDisplayMode, Present. bugref:9845

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/common/wddm/VBoxMPIf.h

    r94746 r94825  
    7878#include <svga3d_reg.h>
    7979#pragma pack()
     80#include <dxgiddi.h>
    8081
    8182/* D3DDDI_ALLOCATIONINFO::pPrivateDriverData */
     
    107108        uint32 bufferByteStride;
    108109    } surfaceInfo;
     110    bool                        fPrimary : 1;
     111    DXGI_DDI_PRIMARY_DESC       PrimaryDesc;
     112    D3DDDIFORMAT                enmDDIFormat;
     113    struct
     114    {
     115        /* These will be needed by OpenResource */
     116        UINT                    BindFlags;
     117        UINT                    MapFlags;
     118        UINT                    MiscFlags;
     119        DXGI_FORMAT             Format;
     120        UINT                    DecoderBufferType;          /* D3D11_1DDI_VIDEO_DECODER_BUFFER_TYPE */
     121    } resourceInfo;
    109122} VBOXDXALLOCATIONDESC, *PVBOXDXALLOCATIONDESC;
    110123#endif /* VBOX_WITH_VMSVGA3D_DX */
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