VirtualBox

Ignore:
Timestamp:
Nov 6, 2009 10:48:46 AM (15 years ago)
Author:
vboxsync
Message:

2d accel: overlay framebuffer for VBoxQuartz2DFrameBuffer

File:
1 edited

Legend:

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

    r24377 r24432  
    866866            mFrameBuf =
    867867#if defined(VBOX_WITH_VIDEOHWACCEL) && defined(DEBUG_misha) /* not tested yet */
    868                     mAccelerate2DVideo ? new VBoxOverlayFrameBuffer<VBoxSDLFrameBuffer>(this) :
     868                    mAccelerate2DVideo ? new VBoxOverlayFrameBuffer<VBoxSDLFrameBuffer> (this) :
    869869#endif
    870870                    new VBoxSDLFrameBuffer (this);
     
    887887             * drawing stuff ourself */
    888888            pViewport->setAttribute (Qt::WA_PaintOnScreen);
    889             mFrameBuf = new VBoxQuartz2DFrameBuffer (this);
     889            mFrameBuf =
     890#ifdef VBOX_WITH_VIDEOHWACCEL
     891                    mAccelerate2DVideo ? new VBoxOverlayFrameBuffer<VBoxQuartz2DFrameBuffer> (this) :
     892#endif
     893                    new VBoxQuartz2DFrameBuffer (this);
    890894            break;
    891895#endif
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