VirtualBox

Ignore:
Timestamp:
Jan 10, 2023 7:18:19 PM (2 years ago)
Author:
vboxsync
Message:

3D/WDDM: Improved GMR logic, bugref:10339

File:
1 edited

Legend:

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

    r96407 r98043  
    3636#include <iprt/mem.h>
    3737#include <iprt/memobj.h>
     38#include <iprt/string.h>
    3839
    3940
     
    18981899    if (RT_SUCCESS(rc))
    18991900    {
     1901        if (!RTR0MemObjWasZeroInitialized(pRegion->MemObj))
     1902            RT_BZERO(RTR0MemObjAddress(pRegion->MemObj), (size_t)pRegion->u32NumPages << PAGE_SHIFT);
     1903
    19001904        rc = RTR0MemObjMapUser(&pRegion->MapObjR3, pRegion->MemObj, (RTR3PTR)-1, 0,
    19011905                               RTMEM_PROT_WRITE | RTMEM_PROT_READ, NIL_RTR0PROCESS);
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