VirtualBox

Changeset 22247 in vbox for trunk/include


Ignore:
Timestamp:
Aug 13, 2009 9:04:28 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
51059
Message:

video hw accel: more saved state support impl, bugfixes

File:
1 edited

Legend:

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

    r22215 r22247  
    257257#define VBOXVHWA_VERSION_MAJ 0
    258258#define VBOXVHWA_VERSION_MIN 0
    259 #define VBOXVHWA_VERSION_BLD 2
     259#define VBOXVHWA_VERSION_BLD 3
    260260#define VBOXVHWA_VERSION_RSV 0
    261261
     
    318318typedef unsigned int VBOXVHWACMD_LENGTH;
    319319typedef uint64_t VBOXVHWA_SURFHANDLE;
    320 #define VBOXVHWACMD_SURFHANDLE_INVALID 0
     320#define VBOXVHWA_SURFHANDLE_INVALID 0
    321321#define VBOXVHWACMD_BODY(_p, _t) ((_t*)(_p)->body)
    322322#define VBOXVHWACMD_HEAD(_pb) ((VBOXVHWACMD*)((uint8_t *)(_pb) - RT_OFFSETOF(VBOXVHWACMD, body)))
     
    387387    uint32_t surfCaps;
    388388    uint32_t Reserved2;
     389    VBOXVHWA_SURFHANDLE hSurf;
     390    uint64_t offSurface;
    389391} VBOXVHWA_SURFACEDESC;
    390392
     
    564566} VBOXVHWACMD_QUERYINFO2;
    565567
    566 #define VBOXVHWAINFO2_SIZE(_cFourCC) RT_OFFSETOF(VBOXVHWAINFO2, FourCC[_cFourCC])
     568#define VBOXVHWAINFO2_SIZE(_cFourCC) RT_OFFSETOF(VBOXVHWACMD_QUERYINFO2, FourCC[_cFourCC])
    567569
    568570typedef struct _VBOXVHWACMD_SURF_CANCREATE
     
    587589{
    588590    VBOXVHWA_SURFACEDESC SurfInfo;
    589     union
    590     {
    591         struct
    592         {
    593             uint64_t offSurface;
    594         } in;
    595 
    596         struct
    597         {
    598             VBOXVHWA_SURFHANDLE hSurf;
    599         } out;
    600     } u;
    601591} VBOXVHWACMD_SURF_CREATE;
    602592
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette