Changeset 32877 in vbox for trunk/include/VBox
- Timestamp:
- Oct 1, 2010 10:51:28 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxVideo.h
r32824 r32877 836 836 # define VBVA_VHWA_CMD 9 837 837 #endif /* # ifdef VBOX_WITH_VIDEOHWACCEL */ 838 #ifdef VBOX VDMA838 #ifdef VBOX_WITH_VDMA 839 839 # define VBVA_VDMA_CTL 10 /* setup G<->H DMA channel info */ 840 840 # define VBVA_VDMA_CMD 11 /* G->H DMA command */ … … 845 845 # define VBVAHG_EVENT 1 846 846 # define VBVAHG_DISPLAY_CUSTOM 2 847 #ifdef VBOX VDMA847 #ifdef VBOX_WITH_VDMA 848 848 # define VBVAHG_SHGSMI_COMPLETION 3 849 849 #endif … … 1125 1125 VBOXVDMACMD_TYPE_DMA_PRESENT_CLRFILL, 1126 1126 VBOXVDMACMD_TYPE_DMA_PRESENT_FLIP, 1127 VBOXVDMACMD_TYPE_DMA_NOP 1127 VBOXVDMACMD_TYPE_DMA_NOP, 1128 VBOXVDMACMD_TYPE_CHROMIUM_CMD 1128 1129 } VBOXVDMACMD_TYPE; 1129 1130 … … 1131 1132 #endif 1132 1133 1133 #ifdef VBOX VDMA1134 #ifdef VBOX_WITH_VDMA 1134 1135 # pragma pack(1) 1135 1136 … … 1232 1233 typedef struct VBOXVDMACBUF_DR 1233 1234 { 1234 uint32_t fFlags; 1235 uint32_t cbBuf; 1236 uint32_t u32FenceId; 1235 uint32_t fFlags : 16; 1236 uint32_t cbBuf : 16; 1237 1237 /* RT_SUCCESS() - on success 1238 1238 * VERR_INTERRUPTED - on preemption 1239 1239 * VERR_xxx - on error */ 1240 1240 int32_t rc; 1241 uint64_t u64GuestContext;1242 1241 union 1243 1242 { … … 1245 1244 VBOXVIDEOOFFSET offVramBuf; 1246 1245 } Location; 1246 uint64_t aGuestData[6]; 1247 1247 } VBOXVDMACBUF_DR, *PVBOXVDMACBUF_DR; 1248 1248 … … 1304 1304 } VBOXVDMACMD_DMA_BPB_FILL, *PVBOXVDMACMD_DMA_BPB_FILL; 1305 1305 1306 typedef struct VBOXVDMACMD_CHROMIUM_BUFFER 1307 { 1308 VBOXVIDEOOFFSET offBuffer; 1309 uint32_t cbBuffer; 1310 uint32_t u32GuesData; 1311 uint64_t u64GuesData; 1312 } VBOXVDMACMD_CHROMIUM_BUFFER, *PVBOXVDMACMD_CHROMIUM_BUFFER; 1313 1314 typedef struct VBOXVDMACMD_CHROMIUM_CMD 1315 { 1316 /* the number of buffers is specified in the VBOXVDMACMD::u32CmdSpecific*/ 1317 VBOXVDMACMD_CHROMIUM_BUFFER aBuffers[1]; 1318 } VBOXVDMACMD_CHROMIUM_CMD, *PVBOXVDMACMD_CHROMIUM_CMD; 1319 1306 1320 # pragma pack() 1307 #endif /* #ifdef VBOX VDMA */1321 #endif /* #ifdef VBOX_WITH_VDMA */ 1308 1322 1309 1323 #ifdef VBOXVDMA_WITH_VBVA
Note:
See TracChangeset
for help on using the changeset viewer.