VirtualBox

Ignore:
Timestamp:
Jun 29, 2010 6:17:27 PM (14 years ago)
Author:
vboxsync
Message:

wddm/3d: visible regions tracking optimizations & fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispMpTst.cpp

    r30509 r30515  
    4747            vboxVDbgPrint(("\n>>>\n"));
    4848            HWND hWnd = Regions.hWnd;
    49             if (Regions.pRegions->fFlags.bAddVisibleRects)
     49            if (Regions.pRegions->fFlags.bSetVisibleRects)
    5050            {
    5151                uint32_t iVisibleRects = 0;
    52                 uint32_t cVidibleRects = Regions.pRegions->RectsInfo.cRects;
    53                 if (Regions.pRegions->fFlags.bPositionRect)
     52                uint32_t cVisibleRects = Regions.pRegions->RectsInfo.cRects;
     53                if (Regions.pRegions->fFlags.bSetViewRect)
    5454                {
    5555                    iVisibleRects = 1;
     
    6060
    6161                vboxVDbgPrint(("hWnd (0x%p), visibleRects: \n", hWnd));
    62                 for (uint32_t i = iVisibleRects; i < cVidibleRects; ++i)
     62                for (uint32_t i = iVisibleRects; i < cVisibleRects; ++i)
    6363                {
    6464                    vboxDispMpTstLogRect("", &Regions.pRegions->RectsInfo.aRects[i], "");
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