儲存庫 vbox 的更動 33684
- 時間撮記:
- 2010-11-2 下午12:17:19 (14 年 以前)
- svn:sync-xref-src-repo-rev:
- 67308
- 位置:
- trunk/src/VBox
- 檔案:
-
- 修改 8 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxCrHgsmi.cpp
r33530 r33684 122 122 hClient = g_VBoxCrHgsmiCallbacks.pfnClientCreate(&pHgsmiGL->BasePrivate.Base); 123 123 Assert(hClient); 124 pHgsmiGL->BasePrivate.hClient = hClient; 125 gt_pHgsmiGL = pHgsmiGL; 126 } 127 } 128 else 129 hClient = NULL; 130 return hClient; 124 if (hClient) 125 { 126 pHgsmiGL->BasePrivate.hClient = hClient; 127 gt_pHgsmiGL = pHgsmiGL; 128 return hClient; 129 } 130 vboxUhgsmiKmtDestroy(pHgsmiGL); 131 } 132 RTMemFree(pHgsmiGL); 133 } 134 135 return NULL; 131 136 } 132 137 -
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.cpp
r33676 r33684 1883 1883 else if (pSwapchain->iBB == iRt) 1884 1884 { 1885 Assert(0);1886 1885 pSwapchain->iBB = 0; 1887 1886 } … … 1997 1996 if (!pSwapchain) 1998 1997 { 1999 #ifdef DEBUG_misha2000 Assert(0);2001 #endif2002 1998 /* first search for the swapchain the alloc might be added to */ 2003 1999 PVBOXWDDMDISP_SWAPCHAIN pCur = RTListNodeGetFirst(&pDevice->SwapchainList, VBOXWDDMDISP_SWAPCHAIN, ListEntry); … … 5391 5387 // Assert(pScreen->hWnd); 5392 5388 // Assert(pScreen->pDevice9If); 5389 hr = E_FAIL; 5393 5390 Assert(0); 5394 5391 } … … 6722 6719 { 6723 6720 case D3DDDIQUERYTYPE_EVENT: 6724 Assert(0);6725 6721 pQuery->data.bData = TRUE; 6726 6722 Assert(pData->pData); … … 8180 8176 case 0x40010006: /* <- OutputDebugString exception, ignore */ 8181 8177 case 0xe06d7363: /* <- ms compiler - generated exception related to C++ exception */ 8178 case 0x000006d9: /* <- RPC exception, ignore */ 8182 8179 break; 8183 8180 default: -
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxUhgsmiKmt.cpp
r33530 r33684 170 170 return VINF_SUCCESS; 171 171 } 172 else 173 { 174 rc = VERR_OUT_OF_RESOURCES; 175 } 172 176 173 177 RTMemFree(pBuf); … … 325 329 326 330 return VINF_SUCCESS; 331 } 332 else 333 { 334 rc = VERR_OUT_OF_RESOURCES; 327 335 } 328 336 -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoVdma.cpp
r33628 r33684 1575 1575 pDevExt->bNotifyDxDpc = TRUE; 1576 1576 BOOLEAN bDpcQueued = pDevExt->u.primary.DxgkInterface.DxgkCbQueueDpc(pDevExt->u.primary.DxgkInterface.DeviceHandle); 1577 Assert(bDpcQueued);1578 1577 1579 1578 return bDpcQueued; -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp
r33628 r33684 1066 1066 { 1067 1067 BOOLEAN bDpcQueued = pDevExt->u.primary.DxgkInterface.DxgkCbQueueDpc(pDevExt->u.primary.DxgkInterface.DeviceHandle); 1068 Assert(bDpcQueued);1069 1068 } 1070 1069 } … … 2871 2870 if (pBuildPagingBuffer->Transfer.Source.SegmentId) 2872 2871 { 2873 #ifdef DEBUG_misha2874 Assert(pBuildPagingBuffer->Transfer.Source.SegmentAddress.QuadPart);2875 #endif2876 2872 uint64_t off = pBuildPagingBuffer->Transfer.Source.SegmentAddress.QuadPart; 2877 2873 off += pBuildPagingBuffer->Transfer.TransferOffset + cbTransfered; … … 2898 2894 if (pBuildPagingBuffer->Transfer.Destination.SegmentId) 2899 2895 { 2900 #ifdef DEBUG_misha2901 Assert(pBuildPagingBuffer->Transfer.Destination.SegmentAddress.QuadPart);2902 #endif2903 2896 uint64_t off = pBuildPagingBuffer->Transfer.Destination.SegmentAddress.QuadPart; 2904 2897 off += pBuildPagingBuffer->Transfer.TransferOffset; -
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/context.c
r33656 r33684 757 757 { 758 758 #ifdef VBOX_WITH_WDDM 759 # ifdef DEBUG_misha760 Assert(0);761 # endif762 759 TRACE("Updating context %p window from %p to %p.\n", 763 760 context, context->win_handle, swapchain->win_handle); … … 1293 1290 HDC hdc; 1294 1291 1295 #if defined(VBOX_WITH_WDDM) && defined(DEBUG_misha)1296 Assert(0);1297 #endif1298 1299 1292 TRACE("swapchain %p, target %p, window %p.\n", swapchain, target, swapchain->win_handle); 1300 1293 … … 1618 1611 context_setup_target(device, context, target); 1619 1612 context_enter(context); 1620 Assert(context->valid);1613 // Assert(context->valid); 1621 1614 if (!context->valid) return FALSE; 1622 1615 -
trunk/src/VBox/GuestHost/OpenGL/util/error.c
r32498 r33684 241 241 va_end( args ); 242 242 243 #if defined(WINDOWS) && defined(DEBUG) && !defined(IN_GUEST) 243 #if defined(WINDOWS) && defined(DEBUG) && !defined(IN_GUEST) && !defined(DEBUG_misha) 244 244 DebugBreak(); 245 245 #endif … … 322 322 output = stderr; 323 323 } 324 #if ndef DEBUG324 #if !defined(DEBUG) || defined(DEBUG_misha) 325 325 /* Release mode: only emit crDebug messages if CR_DEBUG 326 326 * or CR_DEBUG_FILE is set. -
trunk/src/VBox/GuestHost/OpenGL/util/vboxhgcm.c
r33595 r33684 50 50 #endif 51 51 52 #ifdef DEBUG_misha 53 #ifdef CRASSERT 54 # undef CRASSERT 55 #endif 56 #define CRASSERT Assert 57 #endif 52 58 //#define IN_GUEST 53 59 //#if defined(IN_GUEST) … … 1378 1384 if (RT_SUCCESS(rc)) 1379 1385 { 1380 rc = pHgsmi->pfnBufferCreate(pHgsmi, CRVBOXHGSMI_PAGE_ALIGN( 0x800000),1386 rc = pHgsmi->pfnBufferCreate(pHgsmi, CRVBOXHGSMI_PAGE_ALIGN(1), 1381 1387 VBOXUHGSMI_SYNCHOBJECT_TYPE_EVENT, 1382 1388 NULL, … … 1389 1395 return (HVBOXCRHGSMI_CLIENT) pClient; 1390 1396 } 1397 pClient->pCmdBuffer->pfnDestroy(pClient->pCmdBuffer); 1391 1398 } 1392 1399 }
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器