VirtualBox

Ignore:
Timestamp:
Mar 25, 2010 3:01:21 PM (15 years ago)
Author:
vboxsync
Message:

Additions/x11/VBoxClient: converted logging to release logging (which is opt-in at runtime in guest R3)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/display.cpp

    r27601 r27709  
    4545    uint32_t fMouseFeatures = 0;
    4646
    47     LogFlowFunc(("testing dynamic resizing\n"));
     47    LogRelFlowFunc(("testing dynamic resizing\n"));
    4848    int iDummy;
    4949    if (!XRRQueryExtension(pDisplay, &iDummy, &iDummy))
     
    5555    /* Log and ignore the return value, as there is not much we can do with
    5656     * it. */
    57     LogFlowFunc(("dynamic resizing: result %Rrc\n", rc));
     57    LogRelFlowFunc(("dynamic resizing: result %Rrc\n", rc));
    5858    /* Enable support for switching between hardware and software cursors */
    59     LogFlowFunc(("enabling relative mouse re-capturing support\n"));
     59    LogRelFlowFunc(("enabling relative mouse re-capturing support\n"));
    6060    rc = VbglR3GetMouseStatus(&fMouseFeatures, NULL, NULL);
    6161    if (RT_SUCCESS(rc))
     
    7979                             | VMMDEV_MOUSE_GUEST_NEEDS_HOST_CURSOR);
    8080    }
    81     LogFlowFunc(("mouse re-capturing support: result %Rrc\n", rc));
     81    LogRelFlowFunc(("mouse re-capturing support: result %Rrc\n", rc));
    8282    return VINF_SUCCESS;
    8383}
     
    8686{
    8787    uint32_t fMouseFeatures = 0;
    88     LogFlowFunc(("\n"));
     88    LogRelFlowFunc(("\n"));
    8989    VbglR3CtlFilterMask(0,   VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST
    9090                           | VMMDEV_EVENT_MOUSE_CAPABILITIES_CHANGED);
     
    9393        VbglR3SetMouseStatus(  fMouseFeatures
    9494                             | VMMDEV_MOUSE_GUEST_NEEDS_HOST_CURSOR);
    95     LogFlowFunc(("returning\n"));
     95    LogRelFlowFunc(("returning\n"));
    9696}
    9797
     
    119119    pConfig = XRRGetScreenInfo(pDisplay, DefaultRootWindow(pDisplay));
    120120    /* Reset the current mode */
    121     LogFlowFunc(("Setting size %ux%u\n", cx, cy));
     121    LogRelFlowFunc(("Setting size %ux%u\n", cx, cy));
    122122    if (pConfig)
    123123    {
     
    130130            unsigned uThisDist =   VBCL_SQUARE(pSizes[i].width - cx)
    131131                                 + VBCL_SQUARE(pSizes[i].height - cy);
    132             LogFlowFunc(("Found size %dx%d, distance %u\n", pSizes[i].width,
     132            LogRelFlowFunc(("Found size %dx%d, distance %u\n", pSizes[i].width,
    133133                         pSizes[i].height, uThisDist));
    134134#undef VBCL_SQUARE
     
    143143            Time config_timestamp = 0;
    144144            XRRConfigTimes(pConfig, &config_timestamp);
    145             LogFlowFunc(("Setting new size %d\n", iMode));
     145            LogRelFlowFunc(("Setting new size %d\n", iMode));
    146146            XRRSetScreenConfig(pDisplay, pConfig,
    147147                               DefaultRootWindow(pDisplay), iMode,
     
    161161static int runDisplay(Display *pDisplay)
    162162{
    163     LogFlowFunc(("\n"));
     163    LogRelFlowFunc(("\n"));
    164164    Cursor hClockCursor = XCreateFontCursor(pDisplay, XC_watch);
    165165    Cursor hArrowCursor = XCreateFontCursor(pDisplay, XC_left_ptr);
     
    199199        }
    200200    }
    201     LogFlowFunc(("returning VINF_SUCCESS\n"));
     201    LogRelFlowFunc(("returning VINF_SUCCESS\n"));
    202202    return VINF_SUCCESS;
    203203}
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