VirtualBox

Ignore:
Timestamp:
Oct 27, 2014 2:52:20 PM (10 years ago)
Author:
vboxsync
Message:

Host 3D: Chromium server: Presentation framework: drop unused code.

Location:
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/presenter
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/presenter/display_vrdp.cpp

    r53145 r53153  
    22
    33/** @file
    4  * Presenter API: display window root class implementation.
     4 * Presenter API: CrFbDisplayVrdp class implementation -- display content over VRDP.
    55 */
    66
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/presenter/display_window.cpp

    r53145 r53153  
    22
    33/** @file
    4  * Presenter API: display window class implementation.
     4 * Presenter API: CrFbDisplayWindow class implementation -- display content into host GUI window.
    55 */
    66
     
    1919#include "server_presenter.h"
    2020
    21 CrFbDisplayWindow::CrFbDisplayWindow(const RTRECT *pViewportRect, uint64_t parentId, uint64_t defaultParentId) :
     21CrFbDisplayWindow::CrFbDisplayWindow(const RTRECT *pViewportRect, uint64_t parentId) :
    2222    mpWindow(NULL),
    2323    mViewportRect(*pViewportRect),
    2424    mu32Screen(~0),
    25     mParentId(parentId),
    26     mDefaultParentId(defaultParentId)
     25    mParentId(parentId)
    2726{
    2827    mFlags.u32Value = 0;
     
    242241
    243242    return mpWindow;
    244 }
    245 
    246 
    247 int CrFbDisplayWindow::setDefaultParent(uint64_t parentId)
    248 {
    249     mDefaultParentId = parentId;
    250 
    251     if (!isActive() && mpWindow)
    252     {
    253         int rc = mpWindow->Reparent(parentId);
    254         if (!RT_SUCCESS(rc))
    255         {
    256             WARN(("window reparent failed"));
    257             return rc;
    258         }
    259     }
    260 
    261     return VINF_SUCCESS;
    262243}
    263244
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/presenter/display_window_rootvr.cpp

    r53145 r53153  
    22
    33/** @file
    4  * Presenter API: display window root class implementation.
     4 * Presenter API: CrFbDisplayWindowRootVr class implementation -- display seamless content.
    55 */
    66
     
    2020
    2121
    22 CrFbDisplayWindowRootVr::CrFbDisplayWindowRootVr(const RTRECT *pViewportRect, uint64_t parentId, uint64_t defaultParentId) :
    23     CrFbDisplayWindow(pViewportRect, parentId, defaultParentId)
     22CrFbDisplayWindowRootVr::CrFbDisplayWindowRootVr(const RTRECT *pViewportRect, uint64_t parentId) :
     23    CrFbDisplayWindow(pViewportRect, parentId)
    2424{
    2525    CrVrScrCompositorInit(&mCompositor, NULL);
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/presenter/server_presenter.cpp

    r53145 r53153  
    21552155        }
    21562156
    2157         pDpInfo->pDpWinRootVr = new CrFbDisplayWindowRootVr(&cr_server.screenVieport[pDpInfo->u32Id].Rect, cr_server.screen[pDpInfo->u32Id].winID, /*cr_server.screen[0].winID*/ 0);
     2157        pDpInfo->pDpWinRootVr = new CrFbDisplayWindowRootVr(&cr_server.screenVieport[pDpInfo->u32Id].Rect, cr_server.screen[pDpInfo->u32Id].winID);
    21582158        pDpInfo->pDpWin = pDpInfo->pDpWinRootVr;
    21592159        pDpInfo->pDpWinRootVr->windowAttach(pDpInfo->pWindow);
     
    21792179            pDpInfo->pWindow = new CrFbWindow(0);
    21802180
    2181         pDpInfo->pDpWin = new CrFbDisplayWindow(&cr_server.screenVieport[pDpInfo->u32Id].Rect, cr_server.screen[pDpInfo->u32Id].winID, /*cr_server.screen[0].winID*/ 0);
     2181        pDpInfo->pDpWin = new CrFbDisplayWindow(&cr_server.screenVieport[pDpInfo->u32Id].Rect, cr_server.screen[pDpInfo->u32Id].winID);
    21822182        pDpInfo->pDpWin->windowAttach(pDpInfo->pWindow);
    21832183    }
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/presenter/server_presenter.h

    r53145 r53153  
    257257    public:
    258258
    259         CrFbDisplayWindow(const RTRECT *pViewportRect, uint64_t parentId, uint64_t defaultParentId);
     259        CrFbDisplayWindow(const RTRECT *pViewportRect, uint64_t parentId);
    260260        virtual ~CrFbDisplayWindow();
    261261        virtual int UpdateBegin(struct CR_FRAMEBUFFER *pFb);
     
    270270        virtual CrFbWindow * windowDetach(bool fCleanup = true);
    271271        virtual CrFbWindow * windowAttach(CrFbWindow * pNewWindow);
    272         virtual int setDefaultParent(uint64_t parentId);
    273272        virtual int reparent(uint64_t parentId);
    274273        virtual bool isVisible();
     
    307306        uint32_t mu32Screen;
    308307        uint64_t mParentId;
    309         uint64_t mDefaultParentId;
    310308};
    311309
     
    315313    public:
    316314
    317         CrFbDisplayWindowRootVr(const RTRECT *pViewportRect, uint64_t parentId, uint64_t defaultParentId);
     315        CrFbDisplayWindowRootVr(const RTRECT *pViewportRect, uint64_t parentId);
    318316        virtual int EntryCreated(struct CR_FRAMEBUFFER *pFb, HCR_FRAMEBUFFER_ENTRY hEntry);
    319317        virtual int EntryAdded(struct CR_FRAMEBUFFER *pFb, HCR_FRAMEBUFFER_ENTRY hEntry);
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