Changeset 38505 in vbox for trunk/src/VBox/HostServices
- Timestamp:
- Aug 23, 2011 4:26:21 AM (13 years ago)
- Location:
- trunk/src/VBox/HostServices/SharedOpenGL
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserver/crservice.cpp
r37433 r38505 1353 1353 { 1354 1354 CHECK_ERROR_RET(pFramebuffer, COMGETTER(WinId)(&winId), rc); 1355 CHECK_ERROR_RET(pFramebuffer, COMGETTER(Width)(&w), rc); 1356 CHECK_ERROR_RET(pFramebuffer, COMGETTER(Height)(&h), rc); 1357 1358 rc = crVBoxServerMapScreen(screenId, xo, yo, w, h, winId); 1359 AssertRCReturn(rc, rc); 1355 1356 if (!winId) 1357 { 1358 /* View associated with framebuffer is destroyed, happens with 2d accel enabled */ 1359 rc = crVBoxServerUnmapScreen(screenId); 1360 AssertRCReturn(rc, rc); 1361 } 1362 else 1363 { 1364 CHECK_ERROR_RET(pFramebuffer, COMGETTER(Width)(&w), rc); 1365 CHECK_ERROR_RET(pFramebuffer, COMGETTER(Height)(&h), rc); 1366 1367 rc = crVBoxServerMapScreen(screenId, xo, yo, w, h, winId); 1368 AssertRCReturn(rc, rc); 1369 } 1360 1370 } 1361 1371 -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r37613 r38505 1157 1157 DECLEXPORT(int32_t) crVBoxServerUnmapScreen(int sIndex) 1158 1158 { 1159 crDebug("crVBoxServerUnmapScreen(%i)", sIndex); 1160 1159 1161 if (sIndex<0 || sIndex>=cr_server.screenCount) 1160 1162 return VERR_INVALID_PARAMETER; … … 1174 1176 DECLEXPORT(int32_t) crVBoxServerMapScreen(int sIndex, int32_t x, int32_t y, uint32_t w, uint32_t h, uint64_t winID) 1175 1177 { 1176 crDebug("crVBoxServerMapScreen(%i) [%i,%i:%u,%u ]", sIndex, x, y, w, h);1178 crDebug("crVBoxServerMapScreen(%i) [%i,%i:%u,%u %x]", sIndex, x, y, w, h, winID); 1177 1179 1178 1180 if (sIndex<0 || sIndex>=cr_server.screenCount) -
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_wgl.c
r36231 r38505 87 87 88 88 case WM_DESTROY: 89 crDebug( "Render SPU: caught WM_DESTROY for our window");89 crDebug("Render SPU: caught WM_DESTROY for our window %x", hWnd); 90 90 break; 91 91
Note:
See TracChangeset
for help on using the changeset viewer.