Changeset 80372 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispD3D.h
- Timestamp:
- Aug 21, 2019 2:32:40 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispD3D.h
r76563 r80372 24 24 #include "VBoxDispD3DIf.h" 25 25 #include "../../common/wddm/VBoxMPIf.h" 26 #ifdef VBOX_WITH_CRHGSMI27 #include "VBoxUhgsmiDisp.h"28 #endif29 30 #ifdef VBOX_WDDMDISP_WITH_PROFILE31 #include <iprt/asm.h>32 extern volatile uint32_t g_u32VBoxDispProfileFunctionLoggerIndex;33 # define VBOXDISPPROFILE_FUNCTION_LOGGER_INDEX_GEN() ASMAtomicIncU32(&g_u32VBoxDispProfileFunctionLoggerIndex);34 # include "VBoxDispProfile.h"35 #endif36 26 37 27 #include <iprt/cdefs.h> … … 90 80 VBOXWDDM_QAI AdapterInfo; 91 81 92 #ifdef VBOX_WDDMDISP_WITH_PROFILE93 VBoxDispProfileFpsCounter ProfileDdiFps;94 VBoxDispProfileSet ProfileDdiFunc;95 #endif96 82 #ifdef VBOX_WITH_VIDEOHWACCEL 97 83 uint32_t cHeads; … … 191 177 } VBOXWDDMDISP_SWAPCHAIN, *PVBOXWDDMDISP_SWAPCHAIN; 192 178 179 typedef struct VBOXWDDMDISP_DEVICE *PVBOXWDDMDISP_DEVICE; 193 180 typedef HRESULT FNVBOXWDDMCREATEDIRECT3DDEVICE(PVBOXWDDMDISP_DEVICE pDevice); 194 181 typedef FNVBOXWDDMCREATEDIRECT3DDEVICE *PFNVBOXWDDMCREATEDIRECT3DDEVICE; … … 222 209 D3DVIEWPORT9 ViewPort; 223 210 VBOXWDDMDISP_CONTEXT DefaultContext; 224 #ifdef VBOX_WITH_CRHGSMI225 VBOXUHGSMI_PRIVATE_D3D Uhgsmi;226 #endif227 211 228 212 /* no lock is needed for this since we're guaranteed the per-device calls are not reentrant */ … … 235 219 236 220 HMODULE hHgsmiTransportModule; 237 238 #ifdef VBOX_WDDMDISP_WITH_PROFILE239 VBoxDispProfileFpsCounter ProfileDdiFps;240 VBoxDispProfileSet ProfileDdiFunc;241 242 VBoxDispProfileSet ProfileDdiPresentCb;243 #endif244 245 #ifdef VBOXWDDMDISP_DEBUG_TIMER246 HANDLE hTimerQueue;247 #endif248 221 249 222 UINT cRTs; … … 373 346 void vboxWddmResourceInit(PVBOXWDDMDISP_RESOURCE pRc, UINT cAllocs); 374 347 375 #ifndef IN_VBOXCRHGSMI376 PVBOXWDDMDISP_SWAPCHAIN vboxWddmSwapchainFindCreate(PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_ALLOCATION pBbAlloc, BOOL *pbNeedPresent);377 HRESULT vboxWddmSwapchainChkCreateIf(PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_SWAPCHAIN pSwapchain);378 VOID vboxWddmSwapchainDestroy(PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_SWAPCHAIN pSwapchain);379 380 #endif381 382 348 #endif /* !GA_INCLUDED_SRC_WINNT_Graphics_Video_disp_wddm_VBoxDispD3D_h */
Note:
See TracChangeset
for help on using the changeset viewer.