VirtualBox

Ignore:
Timestamp:
Jun 8, 2020 2:58:31 PM (5 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9753: Runtime UI: A bit of log related fixes.

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

Legend:

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

    r83312 r84723  
    881881    if (!pfSupported)
    882882    {
    883         LogRel3(("GUI: UIFrameBufferPrivate::IsVideoModeSupported: Mode: BPP=%lu, Size=%lux%lu, Invalid pfSupported pointer!\n",
     883        LogRel2(("GUI: UIFrameBufferPrivate::IsVideoModeSupported: Mode: BPP=%lu, Size=%lux%lu, Invalid pfSupported pointer!\n",
    884884                 (unsigned long)uBPP, (unsigned long)uWidth, (unsigned long)uHeight));
    885885
     
    893893    if (m_fUnused)
    894894    {
    895         LogRel3(("GUI: UIFrameBufferPrivate::IsVideoModeSupported: Mode: BPP=%lu, Size=%lux%lu, Ignored!\n",
     895        LogRel2(("GUI: UIFrameBufferPrivate::IsVideoModeSupported: Mode: BPP=%lu, Size=%lux%lu, Ignored!\n",
    896896                 (unsigned long)uBPP, (unsigned long)uWidth, (unsigned long)uHeight));
    897897
     
    914914        && (uHeight > (ULONG)height()))
    915915        *pfSupported = FALSE;
    916     LogRel3(("GUI: UIFrameBufferPrivate::IsVideoModeSupported: Mode: BPP=%lu, Size=%lux%lu, Supported=%s\n",
    917              (unsigned long)uBPP, (unsigned long)uWidth, (unsigned long)uHeight, *pfSupported ? "TRUE" : "FALSE"));
     916    if (*pfSupported)
     917       LogRel2(("GUI: UIFrameBufferPrivate::IsVideoModeSupported: Mode: BPP=%lu, Size=%lux%lu is supported\n",
     918                (unsigned long)uBPP, (unsigned long)uWidth, (unsigned long)uHeight));
     919    else
     920       LogRel(("GUI: UIFrameBufferPrivate::IsVideoModeSupported: Mode: BPP=%lu, Size=%lux%lu is NOT supported\n",
     921               (unsigned long)uBPP, (unsigned long)uWidth, (unsigned long)uHeight));
    918922
    919923    /* Unlock access to frame-buffer: */
     
    11881192    if (m_sourceBitmap.isNull())
    11891193    {
    1190         LogRel(("GUI: UIFrameBufferPrivate::performResize: Size=%dx%d, Using fallback buffer since no source bitmap is provided\n",
    1191                 iWidth, iHeight));
    1192 
    11931194        /* Remember new size came from hint: */
    11941195        m_iWidth = iWidth;
    11951196        m_iHeight = iHeight;
     1197        LogRel(("GUI: UIFrameBufferPrivate::performResize: Size=%dx%d, Using fallback buffer since no source bitmap is provided\n",
     1198                m_iWidth, m_iHeight));
    11961199
    11971200        /* And recreate fallback buffer: */
     
    12021205    else
    12031206    {
    1204         LogRel2(("GUI: UIFrameBufferPrivate::performResize: Size=%dx%d, Directly using source bitmap content\n",
    1205                  iWidth, iHeight));
    1206 
    12071207        /* Acquire source-bitmap attributes: */
    12081208        BYTE *pAddress = NULL;
     
    12231223        m_iWidth = (int)ulWidth;
    12241224        m_iHeight = (int)ulHeight;
     1225        LogRel2(("GUI: UIFrameBufferPrivate::performResize: Size=%dx%d, Directly using source bitmap content\n",
     1226                 m_iWidth, m_iHeight));
    12251227
    12261228        /* Recreate QImage on the basis of source-bitmap content: */
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp

    r84499 r84723  
    431431        storeGuestSizeHint(QSize(iWidth, iHeight));
    432432
    433     LogRelFlow(("GUI: UIMachineView::sltHandleNotifyChange: Complete for Screen=%d, Size=%dx%d\n",
    434                 (unsigned long)m_uScreenId, iWidth, iHeight));
     433    LogRel2(("GUI: UIMachineView::sltHandleNotifyChange: Complete for Screen=%d, Size=%dx%d\n",
     434             (unsigned long)m_uScreenId, frameBufferSizeNew.width(), frameBufferSizeNew.height()));
    435435}
    436436
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