Changeset 102591 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Dec 13, 2023 5:43:40 PM (15 months ago)
- svn:sync-xref-src-repo-rev:
- 160742
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/dx
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/dx/VBoxDX.cpp
r102408 r102591 2039 2039 void vboxDXQueryGetData(PVBOXDX_DEVICE pDevice, PVBOXDXQUERY pQuery, VOID* pData, UINT DataSize, UINT Flags) 2040 2040 { 2041 Assert(pQuery->enmQueryState == VBOXDXQUERYSTATE_ISSUED );2041 Assert(pQuery->enmQueryState == VBOXDXQUERYSTATE_ISSUED || pQuery->enmQueryState == VBOXDXQUERYSTATE_SIGNALED); 2042 2042 2043 2043 if (!RT_BOOL(Flags & D3D10_DDI_GET_DATA_DO_NOT_FLUSH)) … … 2072 2072 if (pData && DataSize >= sizeof(BOOL)) 2073 2073 *(BOOL *)pData = TRUE; 2074 2075 vboxDXDeviceSetError(pDevice, S_OK);2076 2074 } 2077 2075 return; -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/dx/VBoxDX.h
r102408 r102591 818 818 DECLINLINE(void) vboxDXDeviceSetError(PVBOXDX_DEVICE pDevice, HRESULT hr) 819 819 { 820 Assert(SUCCEEDED(hr) || hr == DXGI_DDI_ERR_WASSTILLDRAWING); 821 /* This callback is also used for setting S_OK, etc results, so always call it. */ 820 Assert(hr == DXGI_DDI_ERR_WASSTILLDRAWING); 822 821 pDevice->pUMCallbacks->pfnSetErrorCb(pDevice->hRTCoreLayer, hr); 823 822 } -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/dx/VBoxDXDDI.cpp
r102530 r102591 1188 1188 ) 1189 1189 { 1190 //DEBUG_BREAKPOINT_TEST(); 1190 /* This is usually a sign of trouble. Break into debugger. */ 1191 DEBUG_BREAKPOINT_TEST(); 1191 1192 RT_NOREF(hDevice, pDeviceFunctions); 1192 1193 LogFlowFunc(("pDeviceFunctions %p", pDeviceFunctions)); … … 1199 1200 ) 1200 1201 { 1201 //DEBUG_BREAKPOINT_TEST();1202 DEBUG_BREAKPOINT_TEST(); 1202 1203 RT_NOREF(hDevice, pDeviceFunctions); 1203 1204 LogFlowFunc(("pDeviceFunctions %p", pDeviceFunctions)); … … 1210 1211 ) 1211 1212 { 1212 //DEBUG_BREAKPOINT_TEST();1213 DEBUG_BREAKPOINT_TEST(); 1213 1214 RT_NOREF(hDevice, pDeviceFunctions); 1214 1215 LogFlowFunc(("pDeviceFunctions %p", pDeviceFunctions)); … … 1221 1222 ) 1222 1223 { 1223 //DEBUG_BREAKPOINT_TEST();1224 DEBUG_BREAKPOINT_TEST(); 1224 1225 RT_NOREF(hDevice, pDeviceFunctions); 1225 1226 LogFlowFunc(("pDeviceFunctions %p", pDeviceFunctions));
Note:
See TracChangeset
for help on using the changeset viewer.