VirtualBox

Ignore:
Timestamp:
Aug 7, 2013 6:04:15 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: missing file

File:
1 edited

Legend:

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

    r47577 r47600  
    9292        crWarning("CrVrScrCompositorRegionsGet failed rc %d", rc);
    9393
     94}
     95
     96void crServerWindowReparent(CRMuralInfo *pMural)
     97{
     98    crServerVBoxCompositionDisableEnter(pMural);
     99
     100    pMural->fHasParentWindow = !!cr_server.screen[pMural->screenId].winID;
     101
     102    renderspuReparentWindow(pMural->spuWindow);
     103
     104    crServerVBoxCompositionDisableLeave(pMural, GL_FALSE);
    94105}
    95106
     
    518529}
    519530
    520 void crServerMuralSize(CRMuralInfo *mural, GLint width, GLint height)
     531GLboolean crServerMuralSize(CRMuralInfo *mural, GLint width, GLint height)
    521532{
    522533    RTRECT Rect;
     
    529540
    530541    if (mural->width == width && mural->height == height)
    531         return;
     542        return GL_FALSE;
    532543
    533544
     
    642653    crServerVBoxCompositionDisableLeave(mural, GL_FALSE);
    643654
     655    return GL_TRUE;
    644656}
    645657
     
    666678}
    667679
    668 void crServerMutalPosition(CRMuralInfo *mural, GLint x, GLint y)
     680void crServerMuralPosition(CRMuralInfo *mural, GLint x, GLint y, GLboolean fSkipCheckGeometry)
    669681{
    670682    GLboolean fForcePresent = GL_FALSE;
     
    714726        }
    715727
    716         crServerCheckMuralGeometry(mural);
     728        if (!fSkipCheckGeometry)
     729            crServerCheckMuralGeometry(mural);
    717730
    718731        /* 3. re-set the compositor (see above comment) */
     
    731744         return;
    732745    }
    733     crServerMutalPosition(mural, x, y);
     746    crServerMuralPosition(mural, x, y, GL_FALSE);
    734747}
    735748
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