VirtualBox

Ignore:
Timestamp:
Jul 7, 2010 1:15:15 PM (14 years ago)
Author:
vboxsync
Message:

wddm: fix shadow allocation assignment

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Miniport
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.h

    r30484 r30705  
    699699{
    700700    if (pSource->pShadowAllocation == pAllocation)
     701    {
     702        Assert(pAllocation->bAssigned);
    701703        return;
     704    }
    702705
    703706    if (pSource->pShadowAllocation)
     
    714717    if (pAllocation)
    715718    {
     719        Assert(!pAllocation->bAssigned);
     720        Assert(!pAllocation->bVisible);
    716721        pAllocation->bVisible = FALSE;
    717722        /* this check ensures the shadow is not used for other source simultaneously */
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp

    r30582 r30705  
    21262126                                RECT rect;
    21272127                                Assert(pContext->enmType == VBOXWDDM_CONTEXT_TYPE_SYSTEM);
     2128                                vboxWddmAssignShadow(pDevExt, pSource, pSrcAlloc, pDstAlloc->SurfDesc.VidPnSourceId);
    21282129                                vboxWddmCheckUpdateShadowAddress(pDevExt, pSource, pPrivateData->SrcAllocInfo.segmentIdAlloc, pPrivateData->SrcAllocInfo.offAlloc);
    21292130                                if (pBlt->DstRects.UpdateRects.cRects)
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