VirtualBox

Changeset 38505 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Aug 23, 2011 4:26:21 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
73623
Message:

crOpenGL: fix incorrect rendering when switching to/from fullscreen with enabled 2d accel

File:
1 edited

Legend:

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

    r38275 r38505  
    29912991        /* Setup the new framebuffer, the resize will lead to an updateDisplayData call. */
    29922992        DISPLAYFBINFO *pFBInfo = &that->maFramebuffers[uScreenId];
     2993
     2994#if defined(VBOX_WITH_CROGL)
     2995        /* Leave the lock, because SHCRGL_HOST_FN_SCREEN_CHANGED will read current framebuffer */
     2996        {
     2997            BOOL is3denabled;
     2998            that->mParent->machine()->COMGETTER(Accelerate3DEnabled)(&is3denabled);
     2999
     3000            if (is3denabled)
     3001            {
     3002                alock.leave ();
     3003            }
     3004        }
     3005#endif
    29933006
    29943007        if (pFBInfo->fVBVAEnabled && pFBInfo->pu8FramebufferVRAM)
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