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_muralfbo.c

    r44747 r44766  
    311311    SPUDispatchTable *gl = &cr_server.head_spu->dispatch_table;
    312312    CRContextInfo *pMuralContextInfo;
    313     int RestoreSpuWindow = -1;
    314     int RestoreSpuContext = -1;
    315313
    316314    CRASSERT(mural->aidFBOs[0]==0);
     
    326324        pMuralContextInfo = &cr_server.MainContextInfo;
    327325        cr_server.head_spu->dispatch_table.MakeCurrent(mural->spuWindow, 0, cr_server.MainContextInfo.SpuContext);
    328         RestoreSpuWindow = 0;
    329         RestoreSpuContext = 0;
    330326    }
    331327
     
    420416    CRASSERT(mural->aidColorTexs[CR_SERVER_FBO_FB_IDX(mural)]);
    421417    CrVrScrCompositorEntryTexNameUpdate(&mural->CEntry, mural->aidColorTexs[CR_SERVER_FBO_FB_IDX(mural)]);
    422 
    423     if (RestoreSpuWindow >= 0 && RestoreSpuContext >= 0)
    424     {
    425         cr_server.head_spu->dispatch_table.MakeCurrent(RestoreSpuWindow, 0, RestoreSpuContext);
    426     }
    427418}
    428419
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