VirtualBox

Changeset 52377 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Aug 14, 2014 11:35:14 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
95517
Message:

main/crOpenGL: only issue screen info on framebuffer attach/detach

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r52312 r52377  
    941941        }
    942942        LogRelFlow(("[%d]: default format %d\n", uScreenId, pFBInfo->fDefaultFormat));
    943 
    944 #if defined(VBOX_WITH_HGCM) && defined(VBOX_WITH_CROGL)
    945         {
    946             BOOL is3denabled;
    947             mParent->i_machine()->COMGETTER(Accelerate3DEnabled)(&is3denabled);
    948 
    949             if (is3denabled)
    950             {
    951                 VBOXCRCMDCTL_HGCM data;
    952                 data.Hdr.enmType = VBOXCRCMDCTL_TYPE_HGCM;
    953                 data.Hdr.u32Function = SHCRGL_HOST_FN_SCREEN_CHANGED;
    954 
    955                 data.aParms[0].type = VBOX_HGCM_SVC_PARM_32BIT;
    956                 data.aParms[0].u.uint32 = uScreenId;
    957 
    958                 if (fResizeContext)
    959                     i_crCtlSubmitAsyncCmdCopy(&data.Hdr, sizeof(data));
    960                 else
    961                     i_crCtlSubmitSync(&data.Hdr, sizeof(data));
    962             }
    963         }
    964 #endif /* VBOX_WITH_CROGL */
    965943    } while(0);
    966944}
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