VirtualBox

Changeset 50677 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Mar 4, 2014 1:21:14 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92616
Message:

wddm: misc bugfixes

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/DisplayImpl.h

    r50394 r50677  
    168168#endif
    169169#ifdef VBOX_WITH_CRHGSMI
    170     int  handleCrCmdNotifyCmds();
    171170    void handleCrHgsmiCommandProcess(PVBOXVDMACMD_CHROMIUM_CMD pCmd, uint32_t cbCmd);
    172171    void handleCrHgsmiControlProcess(PVBOXVDMACMD_CHROMIUM_CTL pCtl, uint32_t cbCtl);
     
    266265
    267266#ifdef VBOX_WITH_CRHGSMI
    268     static DECLCALLBACK(int)  displayCrCmdNotifyCmds(PPDMIDISPLAYCONNECTOR pInterface);
    269267    static DECLCALLBACK(void)  displayCrHgsmiCommandProcess(PPDMIDISPLAYCONNECTOR pInterface, PVBOXVDMACMD_CHROMIUM_CMD pCmd, uint32_t cbCmd);
    270268    static DECLCALLBACK(void)  displayCrHgsmiControlProcess(PPDMIDISPLAYCONNECTOR pInterface, PVBOXVDMACMD_CHROMIUM_CTL pCtl, uint32_t cbCtl);
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r50552 r50677  
    43024302}
    43034303
    4304 int Display::handleCrCmdNotifyCmds()
    4305 {
    4306     int rc = VERR_INVALID_FUNCTION;
    4307 
    4308     if (mhCrOglSvc)
    4309     {
    4310         VBOXHGCMSVCPARM dummy;
    4311         VMMDev *pVMMDev = mParent->getVMMDev();
    4312         if (pVMMDev)
    4313         {
    4314             /* no completion callback is specified with this call,
    4315              * the CrOgl code will complete the CrHgsmi command once it processes it */
    4316             rc = pVMMDev->hgcmHostFastCallAsync(mhCrOglSvc, SHCRGL_HOST_FN_CRCMD_NOTIFY_CMDS, &dummy, NULL, NULL);
    4317             AssertRC(rc);
    4318         }
    4319         else
    4320             rc = VERR_INVALID_STATE;
    4321     }
    4322 
    4323     return rc;
    4324 }
    4325 
    43264304void Display::handleCrHgsmiCommandProcess(PVBOXVDMACMD_CHROMIUM_CMD pCmd, uint32_t cbCmd)
    43274305{
     
    43764354    /* we are here because something went wrong with command processing, complete it */
    43774355    handleCrHgsmiControlCompletion(rc, SHCRGL_HOST_FN_CRHGSMI_CTL, &parm);
    4378 }
    4379 
    4380 DECLCALLBACK(int)  Display::displayCrCmdNotifyCmds(PPDMIDISPLAYCONNECTOR pInterface)
    4381 {
    4382     PDRVMAINDISPLAY pDrv = PDMIDISPLAYCONNECTOR_2_MAINDISPLAY(pInterface);
    4383 
    4384     return pDrv->pDisplay->handleCrCmdNotifyCmds();
    43854356}
    43864357
     
    50335004#endif
    50345005#ifdef VBOX_WITH_CRHGSMI
    5035     pThis->IConnector.pfnCrCmdNotifyCmds =  Display::displayCrCmdNotifyCmds;
    50365006    pThis->IConnector.pfnCrHgsmiCommandProcess = Display::displayCrHgsmiCommandProcess;
    50375007    pThis->IConnector.pfnCrHgsmiControlProcess = Display::displayCrHgsmiControlProcess;
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