儲存庫 vbox 的更動 63017
- 時間撮記:
- 2016-8-4 下午11:02:57 (8 年 以前)
- 位置:
- trunk
- 檔案:
-
- 新增 1 筆資料
- 修改 5 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispD3DIf.cpp
r62522 r63017 1 1 /* $Id$ */ 2 3 2 /** @file 4 3 * VBoxVideo Display D3D User mode dll … … 62 61 if (!pD3D->hD3DLib) 63 62 { 64 DWORD winErr = GetLastError(); 63 DWORD winErr = GetLastError(); NOREF(winErr) 65 64 WARN((__FUNCTION__": LoadLibrary failed, winErr = (%d)", winErr)); 66 65 return E_FAIL; … … 1146 1145 } 1147 1146 1148 #if DEBUG1147 #ifdef DEBUG 1149 1148 vboxDispCheckCapsLevel(pCaps); 1150 1149 #endif … … 1202 1201 pCaps->MaxVertexW = 10000000000.f; /* Required by D3D feature level 9.3. */ 1203 1202 1204 #if DEBUG1203 #ifdef DEBUG 1205 1204 vboxDispCheckCapsLevel(pCaps); 1206 1205 #endif -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispD3DIf.h
r62522 r63017 1 1 /* $Id$ */ 2 3 2 /** @file 4 3 * VBoxVideo Display D3D User mode dll … … 23 22 #include <iprt/critsect.h> 24 23 #include <iprt/semaphore.h> 25 26 # define _InterlockedExchange _InterlockedExchange_StupidDDKVsCompilerCrap 27 # define _InterlockedExchangeAdd _InterlockedExchangeAdd_StupidDDKVsCompilerCrap 28 # define _InterlockedCompareExchange _InterlockedCompareExchange_StupidDDKVsCompilerCrap 29 # define _InterlockedAddLargeStatistic _InterlockedAddLargeStatistic_StupidDDKVsCompilerCrap 30 # define _interlockedbittestandset _interlockedbittestandset_StupidDDKVsCompilerCrap 31 # define _interlockedbittestandreset _interlockedbittestandreset_StupidDDKVsCompilerCrap 32 # define _interlockedbittestandset64 _interlockedbittestandset64_StupidDDKVsCompilerCrap 33 # define _interlockedbittestandreset64 _interlockedbittestandreset64_StupidDDKVsCompilerCrap 34 # pragma warning(disable : 4163) 35 #include <D3D9.h> 36 # pragma warning(default : 4163) 37 # undef _InterlockedExchange 38 # undef _InterlockedExchangeAdd 39 # undef _InterlockedCompareExchange 40 # undef _InterlockedAddLargeStatistic 41 # undef _interlockedbittestandset 42 # undef _interlockedbittestandreset 43 # undef _interlockedbittestandset64 44 # undef _interlockedbittestandreset64 45 24 #include <iprt/win/d3d9.h> 46 25 #include "../../../Wine_new/vbox/VBoxWineEx.h" 47 26 … … 103 82 } VBOXWDDMDISP_D3D, *PVBOXWDDMDISP_D3D; 104 83 105 void VBoxDispD3DGlobalInit( );106 void VBoxDispD3DGlobalTerm( );84 void VBoxDispD3DGlobalInit(void); 85 void VBoxDispD3DGlobalTerm(void); 107 86 HRESULT VBoxDispD3DGlobalOpen(PVBOXWDDMDISP_D3D pD3D, PVBOXWDDMDISP_FORMATS pFormats); 108 87 void VBoxDispD3DGlobalClose(PVBOXWDDMDISP_D3D pD3D, PVBOXWDDMDISP_FORMATS pFormats); -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxUhgsmiBase.h
r62679 r63017 1 1 /* $Id$ */ 2 3 2 /** @file 4 3 * VBoxVideo Display D3D User mode dll … … 89 88 #define VBOXUHGSMDXALLOCBASE_GET_BUFFER(_p) VBOXUHGSMIPRIVATEBASE_GET_PRIVATE(_p, VBOXUHGSMI_BUFFER_PRIVATE_DX_ALLOC_BASE) 90 89 91 DECLINLINE(int) vboxUhgsmiBaseDxLockData(PVBOXUHGSMI_BUFFER_PRIVATE_DX_ALLOC_BASE pPrivate, uint32_t offLock, uint32_t cbLock, VBOXUHGSMI_BUFFER_LOCK_FLAGS fFlags,92 D3DDDICB_LOCKFLAGS *pfFlags, UINT *pNumPages)90 DECLINLINE(int) vboxUhgsmiBaseDxLockData(PVBOXUHGSMI_BUFFER_PRIVATE_DX_ALLOC_BASE pPrivate, uint32_t offLock, uint32_t cbLock, 91 VBOXUHGSMI_BUFFER_LOCK_FLAGS fFlags, D3DDDICB_LOCKFLAGS *pfFlags, UINT *pNumPages) 93 92 { 94 93 PVBOXUHGSMI_BUFFER pBuf = &pPrivate->BasePrivate.Base; … … 143 142 } 144 143 145 DECLINLINE(void) vboxUhgsmiBaseDxAllocInfoFill(D3DDDI_ALLOCATIONINFO *pDdiAllocInfo, VBOXWDDM_ALLOCINFO *pAllocInfo, uint32_t cbBuffer, VBOXUHGSMI_BUFFER_TYPE_FLAGS fUhgsmiType) 144 DECLINLINE(void) vboxUhgsmiBaseDxAllocInfoFill(D3DDDI_ALLOCATIONINFO *pDdiAllocInfo, VBOXWDDM_ALLOCINFO *pAllocInfo, 145 uint32_t cbBuffer, VBOXUHGSMI_BUFFER_TYPE_FLAGS fUhgsmiType) 146 146 { 147 147 memset(pDdiAllocInfo, 0, sizeof (*pDdiAllocInfo)); … … 155 155 156 156 DECLINLINE(int) vboxUhgsmiBaseDxDmaFill(PVBOXUHGSMI_BUFFER_SUBMIT aBuffers, uint32_t cBuffers, 157 VOID*pCommandBuffer, UINT *pCommandBufferSize,158 D3DDDI_ALLOCATIONLIST *pAllocationList, UINT AllocationListSize,159 D3DDDI_PATCHLOCATIONLIST *pPatchLocationList, UINT PatchLocationListSize)157 VOID *pCommandBuffer, UINT *pCommandBufferSize, 158 D3DDDI_ALLOCATIONLIST *pAllocationList, UINT AllocationListSize, 159 D3DDDI_PATCHLOCATIONLIST *pPatchLocationList, UINT PatchLocationListSize) 160 160 { 161 161 const uint32_t cbDmaCmd = RT_OFFSETOF(VBOXWDDM_DMA_PRIVATEDATA_UM_CHROMIUM_CMD, aBufInfos[cBuffers]); … … 215 215 DECLCALLBACK(int) vboxUhgsmiBaseEscBufferDestroy(PVBOXUHGSMI_BUFFER pBuf); 216 216 DECLCALLBACK(int) vboxUhgsmiBaseEscBufferCreate(PVBOXUHGSMI pHgsmi, uint32_t cbBuf, VBOXUHGSMI_BUFFER_TYPE_FLAGS fUhgsmiType, PVBOXUHGSMI_BUFFER* ppBuf); 217 217 218 DECLINLINE(void) vboxUhgsmiBaseInit(PVBOXUHGSMI_PRIVATE_BASE pHgsmi, PFNVBOXCRHGSMI_ESCAPE pfnEscape) 218 219 { -
trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/vbox/libWineStub/include/wine/debug.h
r48345 r63017 277 277 278 278 #define WINE_DECLARE_DEBUG_CHANNEL(ch) \ 279 static struct __wine_debug_channel __wine_dbch_##ch = { ~0, #ch }279 static struct __wine_debug_channel __wine_dbch_##ch = { /*was: ~0, VBox:*/ UINT8_MAX, #ch } 280 280 #define WINE_DEFAULT_DEBUG_CHANNEL(ch) \ 281 static struct __wine_debug_channel __wine_dbch_##ch = { ~0, #ch }; \281 static struct __wine_debug_channel __wine_dbch_##ch = { /*was: ~0, VBox:*/ UINT8_MAX, #ch }; \ 282 282 static struct __wine_debug_channel * const __wine_dbch___default = &__wine_dbch_##ch 283 283 -
trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/vboxext.c
r62522 r63017 335 335 static DWORD g_cVBoxExtInits = 0; 336 336 337 static DWORD vboxExtAddRef( )337 static DWORD vboxExtAddRef(void) 338 338 { 339 339 return ++g_cVBoxExtInits; 340 340 } 341 341 342 static DWORD vboxExtRelease( )342 static DWORD vboxExtRelease(void) 343 343 { 344 344 DWORD cVBoxExtInits = --g_cVBoxExtInits; … … 347 347 } 348 348 349 static DWORD vboxExtGetRef( )349 static DWORD vboxExtGetRef(void) 350 350 { 351 351 return g_cVBoxExtInits; 352 352 } 353 353 354 HRESULT VBoxExtCheckInit( )354 HRESULT VBoxExtCheckInit(void) 355 355 { 356 356 HRESULT hr = S_OK; … … 368 368 } 369 369 370 HRESULT VBoxExtCheckTerm( )370 HRESULT VBoxExtCheckTerm(void) 371 371 { 372 372 HRESULT hr = S_OK;
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器