VirtualBox

Changeset 57848 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Sep 22, 2015 7:23:10 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
102802
Message:

Additions/Graphics/WDDM: Mark allocations as visible to the CPU so we can lock it from the user mode driver, fixes video playback with Windows Media Player if 3D is disabled (xTracker #8040)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp

    r56431 r57848  
    25772577                                Assert(pAllocation->AllocData.SurfDesc.cbSize);
    25782578
    2579 //                                if (!pAllocInfo->fFlags.SharedResource && !pAllocInfo->hostID)
    2580 //                                    pAllocationInfo->Flags.CpuVisible = 1;
    2581 
    2582                                 Assert(!pAllocationInfo->Flags.CpuVisible);
     2579                                /*
     2580                                 * Mark the allocation as visible to the CPU so we can
     2581                                 * lock it in the user mode driver for SYSTEM pool allocations.
     2582                                 * See @bugref{8040} for further information.
     2583                                 */
     2584                                if (!pAllocInfo->fFlags.SharedResource && !pAllocInfo->hostID)
     2585                                    pAllocationInfo->Flags.CpuVisible = 1;
    25832586
    25842587                                if (pAllocInfo->fFlags.SharedResource)
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