Changeset 29670 in vbox for trunk/src/VBox/Additions/WINNT/Graphics
- Timestamp:
- May 19, 2010 8:35:48 PM (15 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Miniport
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/Makefile.kmk
r28800 r29670 107 107 wddm/VBoxVideoVbva.cpp 108 108 endif 109 ifdef VBOX_WITH_VIDEOHWACCEL 110 VBoxVideoWddm_SOURCES += \ 111 wddm/VBoxVideoVhwa.cpp 112 endif 109 113 VBoxVideoWddm_LIBS.x86 = \ 110 114 $(PATH_SDK_WINDDKWLH_LIB)/bufferoverflowk.lib -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.h
r29488 r29670 114 114 typedef struct _DEVICE_EXTENSION * VBOXCMNREG; 115 115 #else 116 typedef struct _DEVICE_EXTENSION *PDEVICE_EXTENSION; 116 117 #include <VBox/VBoxVideo.h> 117 118 #include "wddm/VBoxVideoIf.h" … … 122 123 #ifdef VBOXWDDM_WITH_VBVA 123 124 # include "wddm/VBoxVideoVbva.h" 125 #endif 126 #ifdef VBOX_WITH_VIDEOHWACCEL 127 # include "wddm/VBoxVideoVhwa.h" 124 128 #endif 125 129 … … 210 214 # ifdef VBOXVDMA_WITH_VBVA 211 215 VBOXVBVAINFO Vbva; 216 # endif 217 # ifdef VBOX_WITH_VIDEOHWACCEL 218 VBOXVHWA_INFO Vhwa; 212 219 # endif 213 220 #endif -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoVdma.cpp
r28800 r29670 214 214 PVBOXVDMACBUF_DR vboxVdmaCBufDrCreate (PVBOXVDMAINFO pInfo, uint32_t cbTrailingData) 215 215 { 216 uint32_t cbDr = sizeof (VBOXVDMACBUF_DR) + cbTrailingData;216 uint32_t cbDr = VBOXVDMACBUF_DR_SIZE(cbTrailingData); 217 217 PVBOXVDMACBUF_DR pDr = (PVBOXVDMACBUF_DR)VBoxSHGSMICommandAlloc (&pInfo->CmdHeap, cbDr, HGSMI_CH_VBVA, VBVA_VDMA_CMD); 218 218 Assert(pDr); -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoVdma.h
r28800 r29670 52 52 void vboxVdmaCBufDrFree (PVBOXVDMAINFO pInfo, struct VBOXVDMACBUF_DR* pDr); 53 53 54 #define VBOXVDMACBUF_DR_DATA_OFFSET() (sizeof (VBOXVDMACBUF_DR)) 55 #define VBOXVDMACBUF_DR_SIZE(_cbData) (VBOXVDMACBUF_DR_DATA_OFFSET() + (_cbData)) 56 #define VBOXVDMACBUF_DR_DATA(_pDr) ( ((uint8_t*)(_pDr)) + VBOXVDMACBUF_DR_DATA_OFFSET() ) 54 57 #endif /* #ifndef ___VBoxVideoVdma_h___ */ -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp
r29488 r29670 687 687 *NumberOfChildren = pContext->cSources; 688 688 dprintf(("VBoxVideoWddm: sources(%d), children(%d)\n", *NumberOfVideoPresentSources, *NumberOfChildren)); 689 #ifdef VBOX_WITH_VIDEOHWACCEL 690 vboxVHWAInit(pContext); 691 #endif 689 692 } 690 693 else
Note:
See TracChangeset
for help on using the changeset viewer.