Changeset 77703 in vbox
- Timestamp:
- Mar 14, 2019 4:47:54 PM (6 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp
r77451 r77703 2216 2216 RT_COPY_VOLATILE(screen, *pScreen); 2217 2217 RT_UNTRUSTED_NONVOLATILE_COPY_FENCE(); 2218 LogRel (("VBVA: InfoScreen: [%d] @%d,%d %dx%d, line 0x%x, BPP %d, flags 0x%x\n",2219 screen.u32ViewIndex, screen.i32OriginX, screen.i32OriginY,2220 screen.u32Width, screen.u32Height,2221 screen.u32LineSize, screen.u16BitsPerPixel, screen.u16Flags));2218 LogRel2(("VBVA: InfoScreen: [%d] @%d,%d %dx%d, line 0x%x, BPP %d, flags 0x%x\n", 2219 screen.u32ViewIndex, screen.i32OriginX, screen.i32OriginY, 2220 screen.u32Width, screen.u32Height, 2221 screen.u32LineSize, screen.u16BitsPerPixel, screen.u16Flags)); 2222 2222 2223 2223 /* -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.cpp
r77370 r77703 766 766 /* Widget resize is NOT thread-safe and *probably* never will be, 767 767 * We have to notify machine-view with the async-signal to perform resize operation. */ 768 LogRel (("GUI: UIFrameBufferPrivate::NotifyChange: Screen=%lu, Origin=%lux%lu, Size=%lux%lu, Sending to async-handler\n",769 (unsigned long)uScreenId,770 (unsigned long)uX, (unsigned long)uY,771 (unsigned long)uWidth, (unsigned long)uHeight));768 LogRel2(("GUI: UIFrameBufferPrivate::NotifyChange: Screen=%lu, Origin=%lux%lu, Size=%lux%lu, Sending to async-handler\n", 769 (unsigned long)uScreenId, 770 (unsigned long)uX, (unsigned long)uY, 771 (unsigned long)uWidth, (unsigned long)uHeight)); 772 772 emit sigNotifyChange(uWidth, uHeight); 773 773 … … 1068 1068 void UIFrameBufferPrivate::handleNotifyChange(int iWidth, int iHeight) 1069 1069 { 1070 LogRel (("GUI: UIFrameBufferPrivate::handleNotifyChange: Size=%dx%d\n", iWidth, iHeight));1070 LogRel2(("GUI: UIFrameBufferPrivate::handleNotifyChange: Size=%dx%d\n", iWidth, iHeight)); 1071 1071 1072 1072 /* Make sure machine-view is assigned: */ … … 1180 1180 if (m_sourceBitmap.isNull()) 1181 1181 { 1182 LogRel(("GUI: UIFrameBufferPrivate::performResize: Size=%dx%d, "1183 "Using fallback buffer since no source bitmap is provided\n",iWidth, iHeight));1182 LogRel(("GUI: UIFrameBufferPrivate::performResize: Size=%dx%d, Using fallback buffer since no source bitmap is provided\n", 1183 iWidth, iHeight)); 1184 1184 1185 1185 /* Remember new size came from hint: */ … … 1194 1194 else 1195 1195 { 1196 LogRel (("GUI: UIFrameBufferPrivate::performResize: Size=%dx%d, "1197 "Directly using source bitmap content\n",iWidth, iHeight));1196 LogRel2(("GUI: UIFrameBufferPrivate::performResize: Size=%dx%d, Directly using source bitmap content\n", 1197 iWidth, iHeight)); 1198 1198 1199 1199 /* Acquire source-bitmap attributes: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
r77667 r77703 338 338 void UIMachineView::sltHandleNotifyChange(int iWidth, int iHeight) 339 339 { 340 LogRel (("GUI: UIMachineView::sltHandleNotifyChange: Screen=%d, Size=%dx%d\n",341 (unsigned long)m_uScreenId, iWidth, iHeight));340 LogRel2(("GUI: UIMachineView::sltHandleNotifyChange: Screen=%d, Size=%dx%d\n", 341 (unsigned long)m_uScreenId, iWidth, iHeight)); 342 342 343 343 /* Some situations require frame-buffer resize-events to be ignored at all, … … 1035 1035 { 1036 1036 /* Save guest-screen size-hint: */ 1037 LogRel(("GUI: UIMachineView::storeGuestSizeHint: " 1038 "Storing guest-screen size-hint for screen %d as %dx%d\n", 1039 (int)screenId(), sizeHint.width(), sizeHint.height())); 1037 LogRel2(("GUI: UIMachineView::storeGuestSizeHint: Storing guest-screen size-hint for screen %d as %dx%d\n", 1038 (int)screenId(), sizeHint.width(), sizeHint.height())); 1040 1039 gEDataManager->setLastGuestScreenSizeHint(m_uScreenId, sizeHint, vboxGlobal().managedVMUuid()); 1041 1040 } -
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r77451 r77703 919 919 int32_t xOrigin, int32_t yOrigin, bool fVGAResize) 920 920 { 921 LogRel (("Display::handleDisplayResize: uScreenId=%d pvVRAM=%p w=%d h=%d bpp=%d cbLine=0x%X flags=0x%X\n", uScreenId,922 pvVRAM, w, h, bpp, cbLine, flags));921 LogRel2(("Display::i_handleDisplayResize: uScreenId=%d pvVRAM=%p w=%d h=%d bpp=%d cbLine=0x%X flags=0x%X\n", uScreenId, 922 pvVRAM, w, h, bpp, cbLine, flags)); 923 923 924 924 /* Caller must not hold the object lock. */ … … 957 957 958 958 if (uScreenId >= mcMonitors) 959 { 960 LogRel(("Display::i_handleDisplayResize: mcMonitors=%u < uScreenId=%u (pvVRAM=%p w=%u h=%u bpp=%d cbLine=0x%X flags=0x%X)\n", 961 mcMonitors, uScreenId, pvVRAM, w, h, bpp, cbLine, flags)); 959 962 return VINF_SUCCESS; 963 } 960 964 961 965 DISPLAYFBINFO *pFBInfo = &maFramebuffers[uScreenId]; … … 993 997 h = pFBInfo->h; 994 998 } 999 1000 /* Log changes. */ 1001 if ( pFBInfo->w != w 1002 || pFBInfo->h != h 1003 || pFBInfo->u32LineSize != cbLine 1004 /*|| pFBInfo->pu8FramebufferVRAM != (uint8_t *)pvVRAM - too noisy */ 1005 || ( !fVGAResize 1006 && ( pFBInfo->xOrigin != xOrigin 1007 || pFBInfo->yOrigin != yOrigin 1008 || pFBInfo->flags != flags))) 1009 LogRel(("Display::i_handleDisplayResize: uScreenId=%d pvVRAM=%p w=%d h=%d bpp=%d cbLine=0x%X flags=0x%X origin=%d,%d\n", 1010 uScreenId, pvVRAM, w, h, bpp, cbLine, flags, xOrigin, yOrigin)); 995 1011 996 1012 /* Update the video mode information. */
Note:
See TracChangeset
for help on using the changeset viewer.