Changeset 50625 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_stream.c
- Timestamp:
- Feb 27, 2014 10:34:19 AM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 92506
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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 }
Note:
See TracChangeset
for help on using the changeset viewer.