VirtualBox

Changeset 53856 in vbox


Ignore:
Timestamp:
Jan 16, 2015 1:36:27 PM (10 years ago)
Author:
vboxsync
Message:

Host 3D: scaling: sync fb with scaling factor changes (experimental).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/presenter/server_presenter.cpp

    r53847 r53856  
    18451845            bool rc;
    18461846            rc = pWin->SetScaleFactor((GLdouble)dScaleFactorW, (GLdouble)dScaleFactorH);
     1847
     1848            /* Sync framebuffer with scaling factor changes. */
     1849            HCR_FRAMEBUFFER pFb = pDpInfo->iFb >= 0 ? CrPMgrFbGet(pDpInfo->iFb) : NULL;
     1850            if (pFb && pFb->pDisplay)
     1851                pFb->pDisplay->FramebufferChanged(pFb);
     1852
    18471853            return rc ? 0 : VERR_LOCK_FAILED;
    18481854        }
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