VirtualBox

Ignore:
Timestamp:
Feb 13, 2009 8:27:28 PM (16 years ago)
Author:
vboxsync
Message:

Additions/x11/vboxvideo: disable VBVA when the viewport is moved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/xgraphics/vboxvideo_15.c

    r16701 r16753  
    12831283{
    12841284    VBOXPtr pVBox = VBOXGetRec(xf86Screens[scrnIndex]);
     1285    ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
    12851286
    12861287    TRACE;
     
    12901291        pVBox->viewportX = x;
    12911292        pVBox->viewportY = y;
     1293        /* If VBVA is enabled the graphics card will not notice the change. */
     1294        if (pVBox->useVbva == TRUE)
     1295            vboxDisableVbva(pScrn);
    12921296        VBESetDisplayStart(pVBox->pVbe, x, y, TRUE);
     1297        if (pVBox->useVbva == TRUE)
     1298            vboxEnableVbva(pScrn);
    12931299    }
    12941300    TRACE2;
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