VirtualBox

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


Ignore:
Timestamp:
May 11, 2009 2:33:04 PM (16 years ago)
Author:
vboxsync
Message:

Do not lock IFramebuffer while it is being resized (xTracker #3902).

File:
1 edited

Legend:

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

    r19432 r19588  
    318318        return VINF_VGA_RESIZE_IN_PROGRESS;
    319319    }
    320 
    321     /* The framebuffer is locked in the state.
    322      * The lock is kept, because the framebuffer is in undefined state.
    323      */
    324     maFramebuffers[uScreenId].pFramebuffer->Lock();
    325320
    326321    int rc = callFramebufferResize (maFramebuffers[uScreenId].pFramebuffer, uScreenId,
     
    417412        LogFlowFunc (("Calling VRDP\n"));
    418413        mParent->consoleVRDPServer()->SendResize();
    419 
    420         if (!pFBInfo->pFramebuffer.isNull())
    421         {
    422             /* Unlock framebuffer after evrything is done. */
    423             pFBInfo->pFramebuffer->Unlock();
    424         }
    425414    }
    426415}
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