VirtualBox

Ignore:
Timestamp:
Feb 20, 2013 3:43:52 PM (12 years ago)
Author:
vboxsync
Message:

crOpenGL: host 3d window repaint impl for Win host; enable offscreen rendering for Win; 3D window repaint generics

File:
1 edited

Legend:

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

    r44740 r44766  
    321321        Tex.target = GL_TEXTURE_2D;
    322322        Tex.hwid = 0;
     323        CrVrScrCompositorLock(&mural->Compositor);
    323324        CrVrScrCompositorEntryRemove(&mural->Compositor, &mural->CEntry);
     325        CrVrScrCompositorUnlock(&mural->Compositor);
    324326        CrVrScrCompositorEntryInit(&mural->CEntry, &Tex);
    325327        mural->width = width;
     
    385387    Pos.y = y;
    386388
     389    CrVrScrCompositorLock(&mural->Compositor);
    387390    CrVrScrCompositorEntryPosSet(&mural->Compositor, &mural->CEntry, &Pos);
     391    CrVrScrCompositorUnlock(&mural->Compositor);
    388392
    389393    crServerCheckMuralGeometry(mural);
     
    428432    }
    429433
     434    CrVrScrCompositorLock(&mural->Compositor);
    430435    CrVrScrCompositorEntryRegionsSet(&mural->Compositor, &mural->CEntry, NULL, cRects, (const RTRECT *)pRects);
     436    CrVrScrCompositorUnlock(&mural->Compositor);
    431437}
    432438
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