VirtualBox

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


Ignore:
Timestamp:
Jun 11, 2014 11:59:20 AM (10 years ago)
Author:
vboxsync
Message:

DisplayImpl: removed obsolete framebuffer resize handling.

File:
1 edited

Legend:

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

    r51553 r51603  
    3737struct VIDEORECCONTEXT;
    3838
    39 enum
    40 {
    41     ResizeStatus_Void,
    42     ResizeStatus_InProgress,
    43     ResizeStatus_UpdateDisplayData
    44 };
    45 
    4639typedef struct _DISPLAYFBINFO
    4740{
     
    6659    uint16_t flags;
    6760
    68     /** For saving the rectangles arrived during fb resize is in progress. */
    69     PRTRECT mpSavedVisibleRegion;
    70     uint32_t mcSavedVisibleRegion;
    71 
    7261    VBOXVIDEOINFOHOSTEVENTS *pHostEvents;
    73 
    74     volatile uint32_t u32ResizeStatus;
    7562
    7663    /** The framebuffer has default format and must be updates immediately. */
     
    8673    } dirtyRect;
    8774
    88     struct
    89     {
    90         bool fPending;
    91         ULONG pixelFormat;
    92         void *pvVRAM;
    93         uint32_t bpp;
    94         uint32_t cbLine;
    95         uint32_t w;
    96         uint32_t h;
    97         uint16_t flags;
    98     } pendingResize;
    99 
    10075#ifdef VBOX_WITH_HGSMI
    10176    bool fVBVAEnabled;
    10277    bool fVBVAForceResize;
    10378    bool fRenderThreadMode;
    104     uint32_t cVBVASkipUpdate;
    105     struct
    106     {
    107        int32_t xLeft;
    108        int32_t yTop;
    109        int32_t xRight;
    110        int32_t yBottom;
    111     } vbvaSkippedRect;
    11279    PVBVAHOSTFLAGS pVBVAHostFlags;
    11380#endif /* VBOX_WITH_HGSMI */
     
    324291
    325292    bool mfSourceBitmapEnabled;
     293    bool volatile fVGAResizing;
    326294
    327295    /* arguments of the last handleDisplayResize() call */
     
    372340    int  vbvaLock(void);
    373341    void vbvaUnlock(void);
    374 
    375     RTCRITSECT mSaveSeamlessRectLock;
    376     int  SaveSeamlessRectLock(void);
    377     void SaveSeamlessRectUnLock(void);
    378342
    379343public:
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