Changeset 50625 in vbox for trunk/src/VBox
- Timestamp:
- Feb 27, 2014 10:34:19 AM (11 years ago)
- Location:
- trunk/src/VBox/HostServices/SharedOpenGL/crserverlib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server.h
r50394 r50625 155 155 HCR_FRAMEBUFFER CrPMgrFbGetFirstInitialized(); 156 156 HCR_FRAMEBUFFER CrPMgrFbGetNextInitialized(HCR_FRAMEBUFFER hFb); 157 158 int CrFbRegionsClear(HCR_FRAMEBUFFER hFb); 157 159 158 160 -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r50429 r50625 2600 2600 if (version >= SHCROGL_SSM_VERSION_WITH_SCREEN_INFO) 2601 2601 { 2602 HCR_FRAMEBUFFER hFb;2603 2604 2602 rc = CrPMgrLoadState(pSSM, version); 2605 2603 AssertRCReturn(rc, rc); -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_muralfbo.cpp
r50394 r50625 195 195 { 196 196 VBOXVR_TEXTURE Tex; 197 int rc;198 197 Tex.width = mural->width; 199 198 Tex.height = mural->height; -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_stream.c
r50095 r50625 281 281 pNode->next = cr_server.pCleanupClient; 282 282 cr_server.pCleanupClient = pNode; 283 } 284 285 if (!cr_server.numClients) 286 { 287 /* if no clients, the guest driver may be unloaded, 288 * and thus the visible regions situation might not be under control anymore, 289 * so cleanup the 3D framebuffer data here 290 * @todo: what really should happen is that guest driver on unload 291 * posts some request to host that would copy the current framebuffer 3D data to the 2D buffer 292 * (i.e. to the memory used by the standard IFramebuffer API) */ 293 HCR_FRAMEBUFFER hFb; 294 for (hFb = CrPMgrFbGetFirstEnabled(); hFb; hFb = CrPMgrFbGetNextEnabled(hFb)) 295 { 296 CrFbRegionsClear(hFb); 297 } 283 298 } 284 299 } -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_window.c
r50277 r50625 25 25 GLint windowID = -1; 26 26 GLint spuWindow; 27 int rc;28 27 GLint realVisBits = visBits; 29 28 … … 182 181 cr_server.head_spu->dispatch_table.MakeCurrent(dummyMural->spuWindow, 0, cr_server.MainContextInfo.SpuContext); 183 182 cr_server.currentWindow = -1; 184 cr_server.currentMural = NULL;183 cr_server.currentMural = dummyMural; 185 184 } 186 185 else
Note:
See TracChangeset
for help on using the changeset viewer.