VirtualBox

Changeset 33222 in vbox for trunk/include


Ignore:
Timestamp:
Oct 18, 2010 11:31:58 PM (14 years ago)
Author:
vboxsync
Message:

wddm/3d: cromium hgsmi fixes

File:
1 edited

Legend:

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

    r33216 r33222  
    11151115    VBOXVDMACMD_TYPE_DMA_PRESENT_FLIP,
    11161116    VBOXVDMACMD_TYPE_DMA_NOP,
    1117     VBOXVDMACMD_TYPE_CHROMIUM_CMD
     1117    VBOXVDMACMD_TYPE_CHROMIUM_CMD,
     1118    VBOXVDMACMD_TYPE_DMA_BPB_TRANSFER_VRAMSYS
    11181119} VBOXVDMACMD_TYPE;
    11191120
     
    12901291} VBOXVDMACMD_DMA_BPB_TRANSFER, *PVBOXVDMACMD_DMA_BPB_TRANSFER;
    12911292
     1293#define VBOXVDMACMD_SYSMEMEL_F_PAGELIST 0x00000001
     1294
     1295typedef struct VBOXVDMACMD_SYSMEMEL
     1296{
     1297    uint32_t cPages;
     1298    uint32_t fFlags;
     1299    uint64_t phBuf[1];
     1300} VBOXVDMACMD_SYSMEMEL, *PVBOXVDMACMD_SYSMEMEL;
     1301
     1302#define VBOXVDMACMD_SYSMEMEL_NEXT(_pEl) (((_pEl)->fFlags & VBOXVDMACMD_SYSMEMEL_F_PAGELIST) ? \
     1303        ((PVBOXVDMACMD_SYSMEMEL)(((uint8_t*)(_pEl))+RT_OFFSETOF(VBOXVDMACMD_SYSMEMEL, phBuf[(_pEl)->cPages]))) \
     1304        : \
     1305        ((_pEl)+1)
     1306
     1307#define VBOXVDMACMD_DMA_BPB_TRANSFER_VRAMSYS_SYS2VRAM 0x00000001
     1308
     1309typedef struct VBOXVDMACMD_DMA_BPB_TRANSFER_VRAMSYS
     1310{
     1311    uint32_t cTransferPages;
     1312    uint32_t fFlags;
     1313    VBOXVIDEOOFFSET offVramBuf;
     1314    VBOXVDMACMD_SYSMEMEL FirstEl;
     1315} VBOXVDMACMD_DMA_BPB_TRANSFER_VRAMSYS, *PVBOXVDMACMD_DMA_BPB_TRANSFER_VRAMSYS;
     1316
    12921317typedef struct VBOXVDMACMD_DMA_BPB_FILL
    12931318{
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