VirtualBox

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


Ignore:
Timestamp:
Oct 16, 2013 11:35:35 AM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: Runtime UI: MacOS X: Quartz2D frame-buffer: Removing some stuff added in r69057 and incorrectly reverted in r69130.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/runtime
Files:
2 edited

Legend:

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

    r47510 r49128  
    5050UIFrameBufferQuartz2D::UIFrameBufferQuartz2D(UIMachineView *pMachineView)
    5151    : UIFrameBuffer(pMachineView)
    52     , m_pMachineLogic(pMachineView->machineLogic())
    5352    , m_fUsesGuestVRAM(false)
    5453    , m_pDataAddress(NULL)
     
    251250
    252251    /* We handle the seamless mode as a special case. */
    253     if (m_pMachineLogic->visualStateType() == UIVisualStateType_Seamless)
     252    if (m_pMachineView->machineLogic()->visualStateType() == UIVisualStateType_Seamless)
    254253    {
    255254        /* Determine current visible region: */
     
    346345        }
    347346    }
    348     else if (   m_pMachineLogic->visualStateType() == UIVisualStateType_Scale
     347    else if (   m_pMachineView->machineLogic()->visualStateType() == UIVisualStateType_Scale
    349348             && m_scaledSize.isValid())
    350349    {
     
    498497}
    499498
    500 #ifdef VBOX_WITH_VIDEOHWACCEL
    501 void UIFrameBufferQuartz2D::setView(UIMachineView *pView)
    502 {
    503     if (pView)
    504         m_pMachineLogic = pView->machineLogic();
    505 
    506     UIFrameBuffer::setView(pView);
    507 }
    508 #endif
    509 
    510499#endif /* VBOX_GUI_USE_QUARTZ2D */
    511500
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBufferQuartz2D.h

    r47067 r49128  
    5151    void paintEvent(QPaintEvent *pEvent);
    5252
    53 #ifdef VBOX_WITH_VIDEOHWACCEL
    54     void setView(UIMachineView *pView);
    55 #endif
    56 
    5753private:
    5854
    5955    void clean(bool fPreserveRegions);
    6056
    61     UIMachineLogic *m_pMachineLogic;
    6257    bool m_fUsesGuestVRAM;
    6358    uchar *m_pDataAddress;
     
    8883     * This is operated with atomic cmpxchg and atomic xchg. */
    8984    RegionRects * volatile mRegionUnused;
    90 
    9185};
    9286
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