VirtualBox

Changeset 22091 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Aug 7, 2009 9:07:56 PM (15 years ago)
Author:
vboxsync
Message:

Additions/x11/vboxvideo_13: merged back vboxvideo_15 parts of r50784 and 50785: Additions/x11/vboxvideo: update the framebuffer stride in the hardware when needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo_13.c

    r22090 r22091  
    243243            VBOXDRIUpdateStride(scrn, pVBox);
    244244#endif
     245        /* Write the new values to the hardware */
     246        rc = xf86SetDesiredModes(scrn);
    245247    }
    246248    TRACE_LOG("returning %s\n", rc ? "TRUE" : "FALSE");
     
    977979                      pScrn->virtualX, pScrn->virtualY,
    978980                      pScrn->xDpi, pScrn->yDpi,
    979                       pScrn->virtualX, pScrn->bitsPerPixel))
     981                      pScrn->displayWidth, pScrn->bitsPerPixel))
    980982        return (FALSE);
    981983
     
    10171019    }
    10181020
    1019     /* set the viewport */
    1020     VBOXAdjustFrame(scrnIndex, pScrn->frameX0, pScrn->frameY0, 0);
    1021 
    10221021    /* software cursor */
    10231022    miDCInitialize(pScreen, xf86GetPointerScreenFuncs());
    10241023
    1025     /* colourmap code - apparently, we need this even in Truecolour */
     1024    /* colourmap code */
    10261025    if (!miCreateDefColormap(pScreen))
    10271026        return (FALSE);
     
    10611060                      "The VBox video extensions are now enabled.\n");
    10621061        vboxEnableGraphicsCap(pVBox);
    1063         /* Report the largest resolution that we support */
    10641062    }
    10651063
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