VirtualBox

Ignore:
Timestamp:
Apr 26, 2011 8:33:19 AM (14 years ago)
Author:
vboxsync
Message:

3D for VRDP: initial commit (xTracker 5565).

File:
1 edited

Legend:

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

    r35998 r36843  
    8888        mural->bReceivedRects = GL_FALSE;
    8989
     90        mural->pvOutputRedirectInstance = NULL;
     91
    9092        /* generate ID for this new window/mural (special-case for file conns) */
    9193        if (cr_server.curClient && cr_server.curClient->conn->type == CR_FILE)
     
    99101        pCreateInfo->visualBits = visBits;
    100102        crHashtableAdd(cr_server.pWindowCreateInfoTable, windowID, pCreateInfo);
     103
     104        crServerSetupOutputRedirect(mural);
    101105    }
    102106
     
    148152    }
    149153
     154    if (mural->pvOutputRedirectInstance)
     155    {
     156        cr_server.outputRedirect.CROREnd(mural->pvOutputRedirectInstance);
     157        mural->pvOutputRedirectInstance = NULL;
     158    }
     159
    150160    if (cr_server.currentWindow == window)
    151161    {
     
    295305
    296306    cr_server.head_spu->dispatch_table.WindowVisibleRegion(mural->spuWindow, cRects, pRects);
     307
     308    if (mural->pvOutputRedirectInstance)
     309    {
     310        /* @todo the code assumes that RTRECT == four GLInts. */
     311        cr_server.outputRedirect.CRORVisibleRegion(mural->pvOutputRedirectInstance,
     312                                                   cRects, (RTRECT *)pRects);
     313    }
    297314}
    298315
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