Changeset 38505 in vbox
- Timestamp:
- Aug 23, 2011 4:26:21 AM (13 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r38476 r38505 145 145 else ifdef VBOX_GUI_USE_QGL 146 146 VirtualBox_DEFS += VBOX_GUI_USE_QGL 147 endif 148 ifdef VBOX_WITH_CROGL 149 VirtualBox_DEFS += VBOX_WITH_CROGL 147 150 endif 148 151 ifdef VBOX_WITH_VIRTIO -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
r38348 r38505 486 486 Assert(m_pFrameBuffer == uisession()->frameBuffer(screenId())); 487 487 m_pFrameBuffer->setView(NULL); 488 #ifdef VBOX_WITH_CROGL 489 /* Call SetFramebuffer to ensure 3D gets notified of view being destroyed */ 490 CDisplay display = session().GetConsole().GetDisplay(); 491 display.SetFramebuffer(m_uScreenId, CFramebuffer(m_pFrameBuffer)); 492 #endif 488 493 } 489 494 else -
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 -
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r38275 r38505 2991 2991 /* Setup the new framebuffer, the resize will lead to an updateDisplayData call. */ 2992 2992 DISPLAYFBINFO *pFBInfo = &that->maFramebuffers[uScreenId]; 2993 2994 #if defined(VBOX_WITH_CROGL) 2995 /* Leave the lock, because SHCRGL_HOST_FN_SCREEN_CHANGED will read current framebuffer */ 2996 { 2997 BOOL is3denabled; 2998 that->mParent->machine()->COMGETTER(Accelerate3DEnabled)(&is3denabled); 2999 3000 if (is3denabled) 3001 { 3002 alock.leave (); 3003 } 3004 } 3005 #endif 2993 3006 2994 3007 if (pFBInfo->fVBVAEnabled && pFBInfo->pu8FramebufferVRAM)
Note:
See TracChangeset
for help on using the changeset viewer.