VirtualBox

Changeset 51260 in vbox for trunk/include


Ignore:
Timestamp:
May 15, 2014 3:35:56 PM (11 years ago)
Author:
vboxsync
Message:

wddm: resize enhancements & fixes

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxVideo.h

    r51161 r51260  
    18481848} VBOXCMDVBVA_CTL_ENABLE;
    18491849
     1850#define VBOXCMDVBVA_SCREENMAP_SIZE(_elType) ((VBOX_VIDEO_MAX_SCREENS + sizeof (_elType) - 1) / sizeof (_elType))
     1851#define VBOXCMDVBVA_SCREENMAP_DECL(_elType, _name) _elType _name[VBOXCMDVBVA_SCREENMAP_SIZE(_elType)]
    18501852
    18511853typedef struct VBOXCMDVBVA_RESIZE_ENTRY
    18521854{
    18531855    VBVAINFOSCREEN Screen;
     1856    VBOXCMDVBVA_SCREENMAP_DECL(uint32_t, aTargetMap);
    18541857} VBOXCMDVBVA_RESIZE_ENTRY;
    18551858
  • trunk/include/VBox/VBoxVideoHost3D.h

    r51217 r51260  
    6666typedef DECLCALLBACKPTR(int, PFNVBOXCRCMD_SVR_GUESTCTL)(HVBOXCRCMDSVR hSvr, uint8_t* pCtl, uint32_t cbCmd);
    6767/* screen resize */
    68 typedef DECLCALLBACKPTR(int, PFNVBOXCRCMD_SVR_RESIZE)(HVBOXCRCMDSVR hSvr, const struct VBVAINFOSCREEN *pScreen, void *pvVRAM);
     68typedef DECLCALLBACKPTR(int, PFNVBOXCRCMD_SVR_RESIZE)(HVBOXCRCMDSVR hSvr, const struct VBVAINFOSCREEN *pScreen, const uint32_t *pTargetMap);
    6969/* process SaveState */
    7070typedef DECLCALLBACKPTR(int, PFNVBOXCRCMD_SVR_SAVESTATE)(HVBOXCRCMDSVR hSvr, PSSMHANDLE pSSM);
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