VirtualBox

Changeset 39076 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Oct 21, 2011 12:10:19 PM (13 years ago)
Author:
vboxsync
Message:

FE/Qt: do not re-create the framebuffer on every view switch (burn fix).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp

    r39066 r39076  
    505505        /* Process pending frame-buffer resize events: */
    506506        QApplication::sendPostedEvents(this, VBoxDefs::ResizeEventType);
    507         if (   m_fAccelerate2DVideo
    508             || vboxGlobal().vmRenderMode() == VBoxDefs::QImageMode
    509             || vboxGlobal().vmRenderMode() == VBoxDefs::SDLMode)
     507        if (   vboxGlobal().vmRenderMode() == VBoxDefs::QImageMode
     508            || vboxGlobal().vmRenderMode() == VBoxDefs::SDLMode
     509#ifdef VBOX_WITH_VIDEOHWACCEL
     510            || m_fAccelerate2DVideo
     511#endif
     512           )
    510513        {
    511514            Assert(m_pFrameBuffer == uisession()->frameBuffer(screenId()));
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