VirtualBox

Changeset 51762 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Jun 30, 2014 9:31:20 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
94576
Message:

DisplayImpl: legacy video accel lock fixes, do not call VGA under the lock.

File:
1 edited

Legend:

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

    r51627 r51762  
    335335    void handleResizeCompletedEMT(unsigned uScreenId, BOOL fResizeContext);
    336336
     337    /* Old guest additions (3.x?) use VMMDev for VBVA and the host VBVA code (VideoAccel*)
     338     * can be executed concurrently by VGA refresh timer and the guest VMMDev request
     339     * in SMP VMs. The lock serialized this.
     340     */
    337341    RTCRITSECT mVBVALock;
    338342    volatile uint32_t mfu32PendingVideoAccelDisable;
     
    342346
    343347public:
     348    bool vbvaLockIsOwner(void);
     349
    344350    static int  displayTakeScreenshotEMT(Display *pDisplay, ULONG aScreenId, uint8_t **ppu8Data, size_t *pcbData, uint32_t *pu32Width, uint32_t *pu32Height);
    345351
     
    369375    /* Functions run under VBVA lock. */
    370376    int  videoAccelEnable(bool fEnable, VBVAMEMORY *pVbvaMemory);
    371     void videoAccelFlush(void);
     377    int videoAccelFlush(void);
    372378
    373379#if defined(VBOX_WITH_HGCM) && defined(VBOX_WITH_CROGL)
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