VirtualBox

Ignore:
Timestamp:
Jul 7, 2010 11:44:35 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
63485
Message:

wddm/3d: don't mark SharedResource as CPU Visible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp

    r30705 r30720  
    15541554                            else
    15551555#endif
    1556                             if (pAllocInfo->fFlags.RenderTarget)
    15571556                            {
    1558                                 pAllocationInfo->Flags.CpuVisible = 1;
    15591557                                Assert(pAllocation->SurfDesc.bpp);
    15601558                                Assert(pAllocation->SurfDesc.pitch);
    15611559                                Assert(pAllocation->SurfDesc.cbSize);
     1560                                if (!pAllocInfo->fFlags.SharedResource)
     1561                                {
     1562                                    pAllocationInfo->Flags.CpuVisible = 1;
     1563                                }
    15621564                            }
    15631565                        }
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