VirtualBox

Ignore:
Timestamp:
Apr 4, 2013 7:46:29 PM (12 years ago)
Author:
vboxsync
Message:

crOpenGL: improved GPU data acwuisition mechanism for VRDP (disabled still)

File:
1 edited

Legend:

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

    r45248 r45348  
    743743}
    744744
    745 void crServerVBoxBlitterWinInit(CRMuralInfo *mural, CR_BLITTER_WINDOW *win)
    746 {
    747     win->Base.id = mural->spuWindow;
    748     win->Base.visualBits = mural->CreateInfo.visualBits;
    749     win->width = mural->width;
    750     win->height = mural->height;
    751 }
    752 
    753745int crServerVBoxBlitterBlitCurrentCtx(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
    754746        GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
     
    812804    }
    813805
    814     crServerVBoxBlitterWinInit(mural, &BltInfo);
     806    crServerVBoxBlitterWinInit(&BltInfo, mural);
     807
     808    crServerVBoxBlitterCtxInit(&Ctx, cr_server.curClient->currentCtxInfo);
    815809
    816810    CrBltMuralSetCurrent(pBlitter, &BltInfo);
    817 
    818     Ctx.Base.id = cr_server.curClient->currentCtxInfo->SpuContext;
    819     if (Ctx.Base.id < 0)
    820         Ctx.Base.id = cr_server.MainContextInfo.SpuContext;
    821     Ctx.Base.visualBits = cr_server.curClient->currentCtxInfo->CreateInfo.visualBits;
    822811
    823812    idDrawFBO = mural->aidFBOs[mural->iCurDrawBuffer];
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