VirtualBox

Changeset 36882 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Apr 29, 2011 9:29:08 AM (14 years ago)
Author:
vboxsync
Message:

<VBox/VBoxVideo.h>: make it compile with VBOX_WITH_WDDM disabled

File:
1 edited

Legend:

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

    r35145 r36882  
    10711071#define VBOXVIDEOOFFSET_VOID ((VBOXVIDEOOFFSET)~0)
    10721072
    1073 #ifdef VBOX_WITH_WDDM
    1074 # pragma pack(1)
     1073#pragma pack(1)
    10751074
    10761075/*
     
    10871086    uint64_t u64Info2;  /*<- contents depends on the fFlags value */
    10881087} VBOXSHGSMIHEADER, *PVBOXSHGSMIHEADER;
     1088
     1089typedef enum
     1090{
     1091    VBOXVDMACMD_TYPE_UNDEFINED         = 0,
     1092    VBOXVDMACMD_TYPE_DMA_PRESENT_BLT   = 1,
     1093    VBOXVDMACMD_TYPE_DMA_BPB_TRANSFER,
     1094    VBOXVDMACMD_TYPE_DMA_BPB_FILL,
     1095    VBOXVDMACMD_TYPE_DMA_PRESENT_SHADOW2PRIMARY,
     1096    VBOXVDMACMD_TYPE_DMA_PRESENT_CLRFILL,
     1097    VBOXVDMACMD_TYPE_DMA_PRESENT_FLIP,
     1098    VBOXVDMACMD_TYPE_DMA_NOP,
     1099    VBOXVDMACMD_TYPE_CHROMIUM_CMD,
     1100    VBOXVDMACMD_TYPE_DMA_BPB_TRANSFER_VRAMSYS
     1101} VBOXVDMACMD_TYPE;
     1102
     1103#pragma pack()
    10891104
    10901105/* the command processing was asynch, set by the host to indicate asynch command completion
     
    11141129#define VBOXSHGSMI_FLAG_GH_SYNCH                0x00000040
    11151130
     1131
    11161132DECLINLINE(uint8_t *) VBoxSHGSMIBufferData (const VBOXSHGSMIHEADER* pHeader)
    11171133{
     
    11231139    return (PVBOXSHGSMIHEADER)((uint8_t *)pvData - sizeof (VBOXSHGSMIHEADER));
    11241140}
    1125 
    1126 typedef enum
    1127 {
    1128     VBOXVDMACMD_TYPE_UNDEFINED         = 0,
    1129     VBOXVDMACMD_TYPE_DMA_PRESENT_BLT   = 1,
    1130     VBOXVDMACMD_TYPE_DMA_BPB_TRANSFER,
    1131     VBOXVDMACMD_TYPE_DMA_BPB_FILL,
    1132     VBOXVDMACMD_TYPE_DMA_PRESENT_SHADOW2PRIMARY,
    1133     VBOXVDMACMD_TYPE_DMA_PRESENT_CLRFILL,
    1134     VBOXVDMACMD_TYPE_DMA_PRESENT_FLIP,
    1135     VBOXVDMACMD_TYPE_DMA_NOP,
    1136     VBOXVDMACMD_TYPE_CHROMIUM_CMD,
    1137     VBOXVDMACMD_TYPE_DMA_BPB_TRANSFER_VRAMSYS
    1138 } VBOXVDMACMD_TYPE;
    1139 
    1140 # pragma pack()
    1141 #endif
    11421141
    11431142#ifdef VBOX_WITH_VDMA
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