VirtualBox

Ignore:
Timestamp:
Oct 24, 2011 8:53:38 PM (13 years ago)
Author:
vboxsync
Message:

FE/Qt: do not re-create the framebuffer on every view switch (untested Quartz2D code, 2nd try).

File:
1 edited

Legend:

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

    r39097 r39098  
    376376                     * this [VBox|UI] duplication
    377377                     * @todo: they are to be removed once VBox stuff is gone */
    378                     pFrameBuffer = new VBoxOverlayFrameBuffer<UIFrameBufferSDL, UIMachineView, UIResizeEvent>(this, &machineWindowWrapper()->session(), (uint32_t)screenId());
     378                    pFrameBuffer = new VBoxOverlayFrameBuffer<UIFrameBufferQuartz2D, UIMachineView, UIResizeEvent>(this, &machineWindowWrapper()->session(), (uint32_t)screenId());
    379379                }
    380380                else
    381                     pFrameBuffer = new UIFrameBufferSDL(this);
     381                    pFrameBuffer = new UIFrameBufferQuartz2D(this);
    382382# else /* VBOX_WITH_VIDEOHWACCEL */
    383                 pFrameBuffer = new UIFrameBufferSDL(this);
     383                pFrameBuffer = new UIFrameBufferQuartz2D(this);
    384384# endif /* !VBOX_WITH_VIDEOHWACCEL */
    385385                uisession()->setFrameBuffer(screenId(), pFrameBuffer);
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