VirtualBox

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


Ignore:
Timestamp:
Oct 4, 2017 9:56:06 AM (7 years ago)
Author:
vboxsync
Message:

VideoRec: Documentation, comments.

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

Legend:

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

    r68946 r68971  
    471471    void processDisplayData(void *pvVRAM, unsigned uScreenId);
    472472
    473     /* Serializes access to mVideoAccelLegacy and mfVideoAccelVRDP, etc between VRDP and Display. */
    474     RTCRITSECT mVideoAccelLock;
     473    /** Serializes access to mVideoAccelLegacy and mfVideoAccelVRDP, etc between VRDP and Display. */
     474    RTCRITSECT           mVideoAccelLock;
     475
    475476#ifdef VBOX_WITH_VIDEOREC
    476477    /* Serializes access to video capture source bitmaps. */
    477478    RTCRITSECT           mVideoCaptureLock;
     479    /** The current video recording configuration being used. */
    478480    VIDEORECCFG          mVideoRecCfg;
     481    /** The video recording context. */
    479482    VIDEORECCONTEXT     *mpVideoRecCtx;
     483    /** Array which defines which screens are being enabled for recording. */
    480484    bool                 maVideoRecEnabled[SchemaDefs::MaxGuestMonitors];
    481485#endif
  • trunk/src/VBox/Main/src-client/ConsoleImpl.cpp

    r68944 r68971  
    55115511        {
    55125512            Display *pDisplay = mDisplay;
     5513            AssertPtr(pDisplay);
    55135514
    55145515            /* Release lock because the call scheduled on EMT may also try to take it. */
    55155516            alock.release();
    55165517
    5517             /*
    5518              * Call worker in EMT, that's faster and safer than doing everything
    5519              * using VM3ReqCall. Note that we separate VMR3ReqCall from VMR3ReqWait
    5520              * here to make requests from under the lock in order to serialize them.
    5521              */
    55225518            int vrc = VMR3ReqCallWaitU(ptrVM.rawUVM(), VMCPUID_ANY /*idDstCpu*/,
    55235519                                       (PFNRT)Display::i_videoCaptureConfigure, 3,
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r68958 r68971  
    24982498 * @returns IPRT status code.
    24992499 * @param   pThis               Display instance to configure video capturing for.
    2500  * @param   pCfg                Video capturing configuration to use.
     2500 * @param   pCfg                Where to store the configuration into.
    25012501 * @param   fAttachDetach       Whether to attach/detach associated drivers or not.
    25022502 */
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