VirtualBox

Changeset 53889 in vbox


Ignore:
Timestamp:
Jan 21, 2015 9:58:22 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
97737
Message:

Host 3D: a bit more error reporting for scaling factor stuff.

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/presenter/server_presenter.cpp

    r53858 r53889  
    18331833    if (idScreen >= CR_MAX_GUEST_MONITORS)
    18341834    {
    1835         WARN(("invalid idScreen %d", idScreen));
     1835        crDebug("Can't set scale factor because specified screen ID (%u) is out of range (max=%d).", idScreen, CR_MAX_GUEST_MONITORS);
    18361836        return VERR_INVALID_PARAMETER;
    18371837    }
     
    18471847            return rc ? 0 : VERR_LOCK_FAILED;
    18481848        }
    1849     }
     1849        else
     1850            crDebug("Can't set scale factor bacause overlay window obgect not yet created.");
     1851    }
     1852    else
     1853        crDebug("Can't set scale factor because specified screen ID cannot be mapped to list of available displays.");
    18501854
    18511855    return VERR_INVALID_PARAMETER;
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r53888 r53889  
    34443444                else
    34453445                {
    3446                     Log(("Running out of memory on attempt to set OpenGL content scale factor. Ignored.\n"));
     3446                    LogRel(("Running out of memory on attempt to set OpenGL content scale factor. Ignored.\n"));
    34473447                    hr = E_OUTOFMEMORY;
    34483448                }
    34493449            }
    34503450            else
    3451                 Log(("Internal error occurred on attempt to set OpenGL content scale factor. Ignored.\n"));
     3451                LogRel(("Internal error occurred on attempt to set OpenGL content scale factor. Ignored.\n"));
    34523452        }
    34533453        else
    3454             Log(("Attempt to specify OpenGL content scale factor while corresponding HGCM host service not yet runing. Ignored.\n"));
     3454            LogRel(("Attempt to specify OpenGL content scale factor while corresponding HGCM host service not yet runing. Ignored.\n"));
    34553455    }
    34563456    else
    3457         Log(("Attempt to specify OpenGL content scale factor while 3D acceleration is disabled in VM config. Ignored.\n"));
     3457        LogRel(("Attempt to specify OpenGL content scale factor while 3D acceleration is disabled in VM config. Ignored.\n"));
    34583458
    34593459    return hr;
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