VirtualBox

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


Ignore:
Timestamp:
May 16, 2012 1:24:25 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78008
Message:

wddm: aero multimon fixes + some cleanup

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Video
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispD3D.cpp

    r41109 r41337  
    51185118
    51195119        pAllocation->SurfDesc.cbSize = vboxWddmCalcSize(pAllocation->SurfDesc.pitch, pAllocation->SurfDesc.height, pAllocation->SurfDesc.format);
     5120
     5121        pAllocation->SurfDesc.VidPnSourceId = pResource->VidPnSourceId;
    51205122    }
    51215123
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/common/VBoxMPDevExt.h

    r40897 r41337  
    277277        pAllocation->bVisible = FALSE;
    278278        Assert(pAllocation->SurfDesc.VidPnSourceId == srcId);
    279         pAllocation->SurfDesc.VidPnSourceId = srcId;
    280279        pAllocation->bAssigned = TRUE;
    281280    }
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp

    r41319 r41337  
    52845284}
    52855285
    5286 #if 0
    5287 DECLINLINE(bool) vboxWddmCheckForVisiblePrimary(PVBOXMP_DEVEXT pDevExt, PVBOXWDDM_ALLOCATION pAllocation)
    5288 {
    5289     !!!primary could be of pAllocation->enmType == VBOXWDDM_ALLOC_TYPE_UMD_RC_GENERIC!!!
    5290     if (pAllocation->enmType != VBOXWDDM_ALLOC_TYPE_STD_SHAREDPRIMARYSURFACE)
    5291         return false;
    5292 
    5293     if (!pAllocation->bVisible)
    5294         return false;
    5295 
    5296     D3DDDI_VIDEO_PRESENT_SOURCE_ID id = pAllocation->SurfDesc.VidPnSourceId;
    5297     if (id >= (D3DDDI_VIDEO_PRESENT_SOURCE_ID)VBoxCommonFromDeviceExt(pDevExt)->cDisplays)
    5298         return false;
    5299 
    5300     PVBOXWDDM_SOURCE pSource = &pDevExt->aSources[id];
    5301     if (pSource->pPrimaryAllocation != pAllocation)
    5302         return false;
    5303 
    5304     return true;
    5305 }
    5306 #endif
    5307 
    53085286/**
    53095287 * DxgkDdiPresent
     
    53885366                                    if (pPresent->DmaBufferPrivateDataSize >= sizeof (VBOXWDDM_DMA_PRIVATEDATA_SHADOW2PRIMARY))
    53895367                                    {
    5390                                         VBOXWDDM_SOURCE *pSource = &pDevExt->aSources[pDstAlloc->SurfDesc.VidPnSourceId];
    5391 //                                        vboxWddmAssignShadow(pDevExt, pSource, pSrcAlloc, pDstAlloc->SurfDesc.VidPnSourceId);
    53925368                                        Assert(pPresent->SrcRect.left == pPresent->DstRect.left);
    53935369                                        Assert(pPresent->SrcRect.right == pPresent->DstRect.right);
Note: See TracChangeset for help on using the changeset viewer.

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