VirtualBox

Ignore:
Timestamp:
Aug 5, 2015 3:15:10 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
101949
Message:

FE/Qt: Runtime UI: Frame-buffer: Moving NotifyUpdate and VideoModeSupported some logging from l2 to l3.

File:
1 edited

Legend:

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

    r57140 r57197  
    459459        if (m_fUnused)
    460460        {
    461             LogRel2(("GUI: NotifyUpdate: Ignored!\n"));
     461            LogRel3(("GUI: NotifyUpdate: Ignored!\n"));
    462462            mOverlay.onNotifyUpdateIgnore (aX, aY, aW, aH);
    463463            /* Unlock access to frame-buffer: */
     
    794794    if (m_fUnused)
    795795    {
    796 #ifndef DEBUG_andy
    797         LogRel2(("GUI: UIFrameBufferPrivate::NotifyUpdate: Origin=%lux%lu, Size=%lux%lu, Ignored!\n",
     796        LogRel3(("GUI: UIFrameBufferPrivate::NotifyUpdate: Origin=%lux%lu, Size=%lux%lu, Ignored!\n",
    798797                 (unsigned long)uX, (unsigned long)uY,
    799798                 (unsigned long)uWidth, (unsigned long)uHeight));
    800 #endif
    801799        /* Unlock access to frame-buffer: */
    802800        unlock();
     
    806804    }
    807805
    808 #ifndef DEBUG_andy
    809806    /* Widget update is NOT thread-safe and *seems* never will be,
    810807     * We have to notify machine-view with the async-signal to perform update operation. */
    811     LogRel2(("GUI: UIFrameBufferPrivate::NotifyUpdate: Origin=%lux%lu, Size=%lux%lu, Sending to async-handler\n",
     808    LogRel3(("GUI: UIFrameBufferPrivate::NotifyUpdate: Origin=%lux%lu, Size=%lux%lu, Sending to async-handler\n",
    812809             (unsigned long)uX, (unsigned long)uY,
    813810             (unsigned long)uWidth, (unsigned long)uHeight));
    814 #endif
    815811    emit sigNotifyUpdate(uX, uY, uWidth, uHeight);
    816812
     
    835831    if (m_fUnused)
    836832    {
    837         LogRel2(("GUI: UIFrameBufferPrivate::NotifyUpdateImage: Origin=%lux%lu, Size=%lux%lu, Ignored!\n",
     833        LogRel3(("GUI: UIFrameBufferPrivate::NotifyUpdateImage: Origin=%lux%lu, Size=%lux%lu, Ignored!\n",
    838834                 (unsigned long)uX, (unsigned long)uY,
    839835                 (unsigned long)uWidth, (unsigned long)uHeight));
     
    863859        /* Widget update is NOT thread-safe and *seems* never will be,
    864860         * We have to notify machine-view with the async-signal to perform update operation. */
    865         LogRel2(("GUI: UIFrameBufferPrivate::NotifyUpdateImage: Origin=%lux%lu, Size=%lux%lu, Sending to async-handler\n",
     861        LogRel3(("GUI: UIFrameBufferPrivate::NotifyUpdateImage: Origin=%lux%lu, Size=%lux%lu, Sending to async-handler\n",
    866862                 (unsigned long)uX, (unsigned long)uY,
    867863                 (unsigned long)uWidth, (unsigned long)uHeight));
     
    881877    if (!pfSupported)
    882878    {
    883         LogRel2(("GUI: UIFrameBufferPrivate::IsVideoModeSupported: Mode: BPP=%lu, Size=%lux%lu, Invalid pfSupported pointer!\n",
     879        LogRel3(("GUI: UIFrameBufferPrivate::IsVideoModeSupported: Mode: BPP=%lu, Size=%lux%lu, Invalid pfSupported pointer!\n",
    884880                 (unsigned long)uBPP, (unsigned long)uWidth, (unsigned long)uHeight));
    885881
     
    893889    if (m_fUnused)
    894890    {
    895         LogRel2(("GUI: UIFrameBufferPrivate::IsVideoModeSupported: Mode: BPP=%lu, Size=%lux%lu, Ignored!\n",
     891        LogRel3(("GUI: UIFrameBufferPrivate::IsVideoModeSupported: Mode: BPP=%lu, Size=%lux%lu, Ignored!\n",
    896892                 (unsigned long)uBPP, (unsigned long)uWidth, (unsigned long)uHeight));
    897893
     
    914910        && (uHeight > (ULONG)height()))
    915911        *pfSupported = FALSE;
    916     LogRel2(("GUI: UIFrameBufferPrivate::IsVideoModeSupported: Mode: BPP=%lu, Size=%lux%lu, Supported=%s\n",
     912    LogRel3(("GUI: UIFrameBufferPrivate::IsVideoModeSupported: Mode: BPP=%lu, Size=%lux%lu, Supported=%s\n",
    917913             (unsigned long)uBPP, (unsigned long)uWidth, (unsigned long)uHeight, *pfSupported ? "TRUE" : "FALSE"));
    918914
     
    11091105void UIFrameBufferPrivate::handlePaintEvent(QPaintEvent *pEvent)
    11101106{
    1111 #ifndef DEBUG_andy
    1112     LogRel2(("GUI: UIFrameBufferPrivate::handlePaintEvent: Origin=%lux%lu, Size=%dx%d\n",
     1107    LogRel3(("GUI: UIFrameBufferPrivate::handlePaintEvent: Origin=%lux%lu, Size=%dx%d\n",
    11131108             pEvent->rect().x(), pEvent->rect().y(),
    11141109             pEvent->rect().width(), pEvent->rect().height()));
    1115 #endif
    11161110
    11171111    /* On mode switch the enqueued paint-event may still come
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette