VirtualBox

Changeset 44894 in vbox for trunk


Ignore:
Timestamp:
Mar 1, 2013 7:06:39 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84063
Message:

crOpenGL: more window attr change fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_window.c

    r44886 r44894  
    321321    if (mural->width != width || mural->height != height)
    322322    {
     323        RTRECT Rect;
    323324        VBOXVR_TEXTURE Tex;
    324325        Tex.width = width;
     
    347348        CrVrScrCompositorEntryRemove(&mural->Compositor, &mural->CEntry);
    348349        CrVrScrCompositorEntryInit(&mural->CEntry, &Tex);
     350        /* initially set regions to all visible since this is what some guest assume
     351         * and will not post any more visible regions command */
     352        Rect.xLeft = 0;
     353        Rect.xRight = width;
     354        Rect.yTop = 0;
     355        Rect.yBottom = height;
     356        CrVrScrCompositorEntryRegionsSet(&mural->Compositor, &mural->CEntry, NULL, 1, &Rect);
    349357        /* CrVrScrCompositorUnlock(&mural->Compositor); */
    350358        mural->width = width;
     
    412420         return;
    413421    }
    414     if (mural->gX != x || mural->gY != y)
     422//    if (mural->gX != x || mural->gY != y)
    415423    {
    416424        if (mural->fUseFBO != CR_SERVER_REDIR_NONE)
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