VirtualBox

Ignore:
Timestamp:
Apr 25, 2014 3:40:21 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: more blit fixes, reenable cmdvbva

Location:
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib
Files:
2 edited

Legend:

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

    r51141 r51147  
    231231    {
    232232        cr_server.u32Caps = CR_VBOX_CAP_TEX_PRESENT
    233 //                | CR_VBOX_CAP_CMDVBVA
     233                | CR_VBOX_CAP_CMDVBVA
    234234                | CR_VBOX_CAP_CMDBLOCKS
    235235                ;
     
    381381    {
    382382        cr_server.u32Caps = CR_VBOX_CAP_TEX_PRESENT
    383 //                | CR_VBOX_CAP_CMDVBVA
     383                | CR_VBOX_CAP_CMDVBVA
    384384                | CR_VBOX_CAP_CMDBLOCKS
    385385                ;
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_presenter.cpp

    r51146 r51147  
    558558}
    559559
    560 int CrFbBltGetContents(HCR_FRAMEBUFFER hFb, const RTPOINT *pPos, uint32_t cRects, const RTRECT *pRects, CR_BLITTER_IMG *pImg)
     560int CrFbBltGetContents(HCR_FRAMEBUFFER hFb, const RTPOINT *pPos, uint32_t cRects, const RTRECT *pRects, CR_BLITTER_IMG *pDst)
    561561{
    562562    VBOXVR_LIST List;
     
    676676                bool fInvert = !(CrVrScrCompositorEntryFlagsGet(pEntry) & CRBLT_F_INVERT_SRC_YCOORDS);
    677677
    678                 CrMBltImgRect(pSrcImg, &EntryPoint, fInvert, &Intersection, pImg);
     678                CrMBltImgRect(pSrcImg, &EntryPoint, fInvert, &Intersection, pDst);
    679679
    680680                CrTdBltDataRelease(pTex);
     
    717717        crFbImgFromFb(hFb, &FbImg);
    718718
    719         CrMBltImg(&FbImg, pPos, c2DRects, p2DRects, pImg);
     719        CrMBltImg(&FbImg, pPos, c2DRects, p2DRects, pDst);
    720720    }
    721721
     
    752752}
    753753
    754 static void crFbBltPutContentsFbVram(HCR_FRAMEBUFFER hFb, const RTPOINT *pPos, uint32_t cRects, const RTRECT *pRects, CR_BLITTER_IMG *pImg)
     754static void crFbBltPutContentsFbVram(HCR_FRAMEBUFFER hFb, const RTPOINT *pPos, uint32_t cRects, const RTRECT *pRects, CR_BLITTER_IMG *pSrc)
    755755{
    756756    const RTRECT *pCompRect = CrVrScrCompositorRectGet(&hFb->Compositor);
     
    760760    crFbImgFromFb(hFb, &FbImg);
    761761
    762     CrMBltImg(&FbImg, pPos, cRects, pRects, pImg);
     762    CrMBltImg(pSrc, pPos, cRects, pRects, &FbImg);
    763763}
    764764
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