Changeset 41481 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- May 29, 2012 2:26:46 PM (13 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispDbg.h
r41475 r41481 225 225 VBOXVDBG_DUMP_TYPE_ENABLED(_fFlags) \ 226 226 && ( \ 227 !(_pInfo)->pAlloc \ 228 || (_pInfo)->pAlloc->pRc->aAllocations[0].hSharedHandle \ 229 || VBOXVDBG_DUMP_FLAGS_IS_CLEARED(_fFlags, VBOXVDBG_DUMP_TYPEF_SHARED_ONLY) \ 227 VBOXVDBG_DUMP_FLAGS_IS_CLEARED(_fFlags, VBOXVDBG_DUMP_TYPEF_SHARED_ONLY) \ 228 || ((_pInfo)->pAlloc && (_pInfo)->pAlloc->pRc->aAllocations[0].hSharedHandle) \ 230 229 )) 231 230 … … 382 381 || VBOXVDBG_IS_DUMP_ALLOWED(DrawPrim)) \ 383 382 { \ 384 vboxVDbgDoDumpRt("==>"__FUNCTION__": Rt: ", (_pDevice), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE( Flush) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(DrawPrim)); \385 vboxVDbgDoDumpSamplers("==>"__FUNCTION__": Sl: ", (_pDevice), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE( Flush) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(DrawPrim)); \383 vboxVDbgDoDumpRt("==>"__FUNCTION__": Rt: ", (_pDevice), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(DrawPrim)); \ 384 vboxVDbgDoDumpSamplers("==>"__FUNCTION__": Sl: ", (_pDevice), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(DrawPrim)); \ 386 385 }\ 387 386 } while (0) … … 393 392 || VBOXVDBG_IS_DUMP_ALLOWED(DrawPrim)) \ 394 393 { \ 395 vboxVDbgDoDumpRt("<=="__FUNCTION__": Rt: ", (_pDevice), "", \ 396 VBOXVDBG_DUMP_FLAGS_FOR_TYPE(DrawPrim) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared)); \ 397 vboxVDbgDoDumpSamplers("<=="__FUNCTION__": Sl: ", (_pDevice), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Flush) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(DrawPrim)); \ 394 vboxVDbgDoDumpRt("<=="__FUNCTION__": Rt: ", (_pDevice), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(DrawPrim)); \ 395 vboxVDbgDoDumpSamplers("<=="__FUNCTION__": Sl: ", (_pDevice), "", VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(DrawPrim)); \ 398 396 }\ 399 397 } while (0) … … 457 455 ) \ 458 456 { \ 459 DWORD fFlags = VBOXVDBG_DUMP_FLAGS_FOR_TYPE( Blt) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared); \457 DWORD fFlags = VBOXVDBG_DUMP_FLAGS_FOR_TYPE(_type) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared); \ 460 458 if (VBOXVDBG_DUMP_TYPE_CONTENTS(fFlags) && \ 461 459 ((_pSrcSurf) == (_pDstSurf) \ … … 475 473 else \ 476 474 pRect = NULL; \ 477 vboxVDbgDoDumpRcRect(_str __FUNCTION__" Src: ", (_pSrcAlloc), (_pSrcSurf), pRect, "", \ 478 VBOXVDBG_DUMP_FLAGS_FOR_TYPE(_type) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared)); \ 475 vboxVDbgDoDumpRcRect(_str __FUNCTION__" Src: ", (_pSrcAlloc), (_pSrcSurf), pRect, "", fFlags); \ 479 476 if (_pDstRect) \ 480 477 { \ … … 484 481 else \ 485 482 pRect = NULL; \ 486 vboxVDbgDoDumpRcRect(_str __FUNCTION__" Dst: ", (_pDstAlloc), (_pDstSurf), pRect, "", \ 487 VBOXVDBG_DUMP_FLAGS_FOR_TYPE(_type) | VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Shared)); \ 483 vboxVDbgDoDumpRcRect(_str __FUNCTION__" Dst: ", (_pDstAlloc), (_pDstSurf), pRect, "", fFlags); \ 488 484 } \ 489 485 } while (0) … … 609 605 { \ 610 606 vboxVDbgDoDumpRt("== "__FUNCTION__": Rt: ", (_pDevice), "", \ 611 VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Flush)); \607 VBOXVDBG_DUMP_FLAGS_CLEAR(VBOXVDBG_DUMP_FLAGS_FOR_TYPE(Flush), VBOXVDBG_DUMP_TYPEF_SHARED_ONLY)); \ 612 608 }\ 613 609 } while (0) -
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/context.c
r39899 r41481 2785 2785 BOOL oldInDraw = device->isInDraw; 2786 2786 2787 ERR("context_setup_target: Should not be here!!"); 2788 2787 2789 /* surface_internal_preload() requires a context to load the 2788 2790 * texture, so it will call context_acquire(). Set isInDraw to true
Note:
See TracChangeset
for help on using the changeset viewer.