VirtualBox

Changeset 41481 in vbox for trunk/src/VBox/Additions/WINNT


Ignore:
Timestamp:
May 29, 2012 2:26:46 PM (13 years ago)
Author:
vboxsync
Message:

wddm/3d: a bit more logging

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  
    225225        VBOXVDBG_DUMP_TYPE_ENABLED(_fFlags) \
    226226        && ( \
    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) \
    230229            ))
    231230
     
    382381                || VBOXVDBG_IS_DUMP_ALLOWED(DrawPrim)) \
    383382        { \
    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)); \
    386385        }\
    387386    } while (0)
     
    393392                || VBOXVDBG_IS_DUMP_ALLOWED(DrawPrim)) \
    394393        { \
    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)); \
    398396        }\
    399397    } while (0)
     
    457455                ) \
    458456        { \
    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); \
    460458            if (VBOXVDBG_DUMP_TYPE_CONTENTS(fFlags) && \
    461459                    ((_pSrcSurf) == (_pDstSurf) \
     
    475473            else \
    476474                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); \
    479476            if (_pDstRect) \
    480477            { \
     
    484481            else \
    485482                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); \
    488484        } \
    489485    } while (0)
     
    609605        { \
    610606            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)); \
    612608        }\
    613609    } while (0)
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/context.c

    r39899 r41481  
    27852785            BOOL oldInDraw = device->isInDraw;
    27862786
     2787            ERR("context_setup_target: Should not be here!!");
     2788
    27872789            /* surface_internal_preload() requires a context to load the
    27882790             * texture, so it will call context_acquire(). Set isInDraw to true
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette