VirtualBox

Changeset 86878 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Nov 12, 2020 6:40:58 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
141339
Message:

Additions/VBoxDRMClient: Removed code duplication between VBoxClient / VBoxService by refactoring the VBoxDRMClient routines into VbglR3. Also improved error checking here and there, added @todos. [build fix] bugref:9637

Location:
trunk/src/VBox/Additions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp

    r86877 r86878  
    11601160
    11611161#ifdef VBOX_WITH_VBOXSERVICE_DRMRESIZE
    1162         if (VbglR3DRMClientIsNeeded())
     1162    if (VbglR3DRMClientIsNeeded())
    11631163    {
    11641164        rc = VbglR3DRMClientStart();
  • trunk/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp

    r86877 r86878  
    685685static DECLCALLBACK(int) vbclSVGAInit(void)
    686686{
     687    int rc;
     688
    687689    /* In 32-bit guests GAs build on our release machines causes an xserver hang.
    688690     * So for 32-bit GAs we use our DRM client. */
    689691#if ARCH_BITS == 32
    690     int rc = VbglR3DRMClientStart();
     692    rc = VbglR3DRMClientStart();
    691693    if (RT_FAILURE(rc))
    692694        VBClLogError("Starting DRM resizing client (32-bit) failed with %Rrc\n", rc);
     
    703705    if (isXwayland())
    704706    {
    705         int rc = VbglR3DRMClientStart();
     707        rc = VbglR3DRMClientStart();
    706708        if (RT_FAILURE(rc))
    707709            VBClLogError("Starting DRM resizing client failed with %Rrc\n", rc);
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