Changeset 51121 in vbox for trunk/src/VBox/HostServices/SharedOpenGL
- Timestamp:
- Apr 23, 2014 11:39:21 AM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 93425
- Location:
- trunk/src/VBox/HostServices/SharedOpenGL/crserverlib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server.h
r51111 r51121 473 473 int8_t crVBoxServerCrCmdFlipProcess(const VBOXCMDVBVA_FLIP *pFlip); 474 474 475 int crVBoxServerResizeScreen(const struct VBVAINFOSCREEN *pScreen, void *pvVRAM); 476 475 477 //#define VBOX_WITH_CRSERVER_DUMPER 476 478 #ifdef VBOX_WITH_CRSERVER_DUMPER -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r51111 r51121 3569 3569 } 3570 3570 3571 static DECLCALLBACK(int) crVBoxCrCmdResize(HVBOXCRCMDSVR hSvr, const struct VBVAINFOSCREEN *pScreen, void *pvVRAM) 3572 { 3573 CRASSERT(cr_server.fCrCmdEnabled); 3574 return crVBoxServerResizeScreen(pScreen, pvVRAM); 3575 } 3576 3571 3577 static const char* gszVBoxOGLSSMMagic = "***OpenGL state data***"; 3572 3578 … … 4195 4201 pSetup->CrCmdServerInfo.pfnHostCtl = crVBoxCrCmdHostCtl; 4196 4202 pSetup->CrCmdServerInfo.pfnGuestCtl = crVBoxCrCmdGuestCtl; 4203 pSetup->CrCmdServerInfo.pfnResize = crVBoxCrCmdResize; 4197 4204 pSetup->CrCmdServerInfo.pfnSaveState = crVBoxCrCmdSaveState; 4198 4205 pSetup->CrCmdServerInfo.pfnLoadState = crVBoxCrCmdLoadState; -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_muralfbo.cpp
r50754 r51121 395 395 396 396 397 staticint crVBoxServerResizeScreen(const struct VBVAINFOSCREEN *pScreen, void *pvVRAM)397 int crVBoxServerResizeScreen(const struct VBVAINFOSCREEN *pScreen, void *pvVRAM) 398 398 { 399 399 int rc; … … 431 431 DECLEXPORT(int) crVBoxServerNotifyResize(const struct VBVAINFOSCREEN *pScreen, void *pvVRAM) 432 432 { 433 if (cr_server.fCrCmdEnabled) 434 { 435 WARN(("crVBoxServerNotifyResize for enabled CrCmd")); 436 return VERR_INVALID_STATE; 437 } 438 433 439 int rc = crVBoxServerResizeScreen(pScreen, pvVRAM); 434 440 if (!RT_SUCCESS(rc)) -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_presenter.cpp
r51112 r51121 1242 1242 return pFbTex; 1243 1243 } 1244 1245 1244 1246 1245 CR_TEXDATA* CrFbTexDataCreate(const VBOXVR_TEXTURE *pTex)
Note:
See TracChangeset
for help on using the changeset viewer.