VirtualBox

Changeset 22215 in vbox for trunk/include


Ignore:
Timestamp:
Aug 13, 2009 12:41:04 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
51016
Message:

video hw accel: basics for saved state support

File:
1 edited

Legend:

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

    r22189 r22215  
    257257#define VBOXVHWA_VERSION_MAJ 0
    258258#define VBOXVHWA_VERSION_MIN 0
    259 #define VBOXVHWA_VERSION_BLD 1
     259#define VBOXVHWA_VERSION_BLD 2
    260260#define VBOXVHWA_VERSION_RSV 0
    261261
     
    275275    VBOXVHWACMD_TYPE_QUERY_INFO2,
    276276    VBOXVHWACMD_TYPE_ENABLE,
    277     VBOXVHWACMD_TYPE_DISABLE
     277    VBOXVHWACMD_TYPE_DISABLE,
     278    VBOXVHWACMD_TYPE_HH_CONSTRUCT
    278279} VBOXVHWACMD_TYPE;
    279280
     
    291292/* the host has copied the VBOXVHWACMD_FLAG_GH_ASYNCH_NOCOMPLETION command and returned it to the guest */
    292293#define VBOXVHWACMD_FLAG_HG_ASYNCH_RETURNED      0x00020000
     294/* this is the host->host cmd, i.e. a configuration command posted by the host to the framebuffer */
     295#define VBOXVHWACMD_FLAG_HH_CMD                  0x10000000
    293296
    294297typedef struct _VBOXVHWACMD
     
    300303    uint64_t GuestVBVAReserved1; /* field internally used by the guest VBVA cmd handling, must NOT be modified by clients */
    301304    uint64_t GuestVBVAReserved2; /* field internally used by the guest VBVA cmd handling, must NOT be modified by clients */
     305    volatile uint32_t cRefs;
     306    int32_t Reserved;
    302307    union
    303308    {
     
    729734    } u;
    730735} VBOXVHWACMD_SURF_OVERLAY_SETPOSITION;
     736
     737typedef struct _VBOXVHWACMD_HH_CONSTRUCT
     738{
     739    void * pVM;
     740} VBOXVHWACMD_HH_CONSTRUCT;
    731741
    732742#pragma pack()
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