VirtualBox

Ignore:
Timestamp:
Apr 23, 2014 11:39:21 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
93425
Message:

extend PDMIDISPLAYCONNECTOR::pfnVBVAXxx and VBVA resize for better DevVGA/CrCmd integration

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server.h

    r51111 r51121  
    473473int8_t crVBoxServerCrCmdFlipProcess(const VBOXCMDVBVA_FLIP *pFlip);
    474474
     475int crVBoxServerResizeScreen(const struct VBVAINFOSCREEN *pScreen, void *pvVRAM);
     476
    475477//#define VBOX_WITH_CRSERVER_DUMPER
    476478#ifdef VBOX_WITH_CRSERVER_DUMPER
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c

    r51111 r51121  
    35693569}
    35703570
     3571static DECLCALLBACK(int) crVBoxCrCmdResize(HVBOXCRCMDSVR hSvr, const struct VBVAINFOSCREEN *pScreen, void *pvVRAM)
     3572{
     3573    CRASSERT(cr_server.fCrCmdEnabled);
     3574    return crVBoxServerResizeScreen(pScreen, pvVRAM);
     3575}
     3576
    35713577static const char* gszVBoxOGLSSMMagic = "***OpenGL state data***";
    35723578
     
    41954201            pSetup->CrCmdServerInfo.pfnHostCtl = crVBoxCrCmdHostCtl;
    41964202            pSetup->CrCmdServerInfo.pfnGuestCtl = crVBoxCrCmdGuestCtl;
     4203            pSetup->CrCmdServerInfo.pfnResize = crVBoxCrCmdResize;
    41974204            pSetup->CrCmdServerInfo.pfnSaveState = crVBoxCrCmdSaveState;
    41984205            pSetup->CrCmdServerInfo.pfnLoadState = crVBoxCrCmdLoadState;
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_muralfbo.cpp

    r50754 r51121  
    395395
    396396
    397 static int crVBoxServerResizeScreen(const struct VBVAINFOSCREEN *pScreen, void *pvVRAM)
     397int crVBoxServerResizeScreen(const struct VBVAINFOSCREEN *pScreen, void *pvVRAM)
    398398{
    399399    int rc;
     
    431431DECLEXPORT(int) crVBoxServerNotifyResize(const struct VBVAINFOSCREEN *pScreen, void *pvVRAM)
    432432{
     433    if (cr_server.fCrCmdEnabled)
     434    {
     435        WARN(("crVBoxServerNotifyResize for enabled CrCmd"));
     436        return VERR_INVALID_STATE;
     437    }
     438
    433439    int rc = crVBoxServerResizeScreen(pScreen, pvVRAM);
    434440    if (!RT_SUCCESS(rc))
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_presenter.cpp

    r51112 r51121  
    12421242    return pFbTex;
    12431243}
    1244 
    12451244
    12461245CR_TEXDATA* CrFbTexDataCreate(const VBOXVR_TEXTURE *pTex)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette