Changeset 54805 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Mar 17, 2015 11:05:43 AM (10 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.cpp
r54644 r54805 414 414 if (m_fUnused) 415 415 { 416 LogRel2((" ProcessVHWACommand: Postponed!\n"));416 LogRel2(("GUI: ProcessVHWACommand: Postponed!\n")); 417 417 /* Unlock access to frame-buffer: */ 418 418 UIFrameBufferPrivate::unlock(); … … 444 444 if (m_fUnused) 445 445 { 446 LogRel2((" NotifyUpdate: Ignored!\n"));446 LogRel2(("GUI: NotifyUpdate: Ignored!\n")); 447 447 mOverlay.onNotifyUpdateIgnore (aX, aY, aW, aH); 448 448 /* Unlock access to frame-buffer: */ … … 532 532 HRESULT UIFrameBufferPrivate::init(UIMachineView *pMachineView) 533 533 { 534 LogRel2((" UIFrameBufferPrivate::init %p\n", this));534 LogRel2(("GUI: UIFrameBufferPrivate::init %p\n", this)); 535 535 536 536 /* Assign mahine-view: */ … … 566 566 UIFrameBufferPrivate::~UIFrameBufferPrivate() 567 567 { 568 LogRel2((" UIFrameBufferPrivate::~UIFrameBufferPrivate %p\n", this));568 LogRel2(("GUI: UIFrameBufferPrivate::~UIFrameBufferPrivate %p\n", this)); 569 569 570 570 /* Disconnect handlers: */ … … 724 724 if (m_fUnused) 725 725 { 726 LogRel((" UIFrameBufferPrivate::NotifyChange: Screen=%lu, Origin=%lux%lu, Size=%lux%lu, Ignored!\n",726 LogRel(("GUI: UIFrameBufferPrivate::NotifyChange: Screen=%lu, Origin=%lux%lu, Size=%lux%lu, Ignored!\n", 727 727 (unsigned long)uScreenId, 728 728 (unsigned long)uX, (unsigned long)uY, … … 751 751 /* Widget resize is NOT thread-safe and *probably* never will be, 752 752 * We have to notify machine-view with the async-signal to perform resize operation. */ 753 LogRel((" UIFrameBufferPrivate::NotifyChange: Screen=%lu, Origin=%lux%lu, Size=%lux%lu, Sending to async-handler\n",753 LogRel(("GUI: UIFrameBufferPrivate::NotifyChange: Screen=%lu, Origin=%lux%lu, Size=%lux%lu, Sending to async-handler\n", 754 754 (unsigned long)uScreenId, 755 755 (unsigned long)uX, (unsigned long)uY, … … 775 775 if (m_fUnused) 776 776 { 777 LogRel2((" UIFrameBufferPrivate::NotifyUpdate: Origin=%lux%lu, Size=%lux%lu, Ignored!\n",777 LogRel2(("GUI: UIFrameBufferPrivate::NotifyUpdate: Origin=%lux%lu, Size=%lux%lu, Ignored!\n", 778 778 (unsigned long)uX, (unsigned long)uY, 779 779 (unsigned long)uWidth, (unsigned long)uHeight)); … … 788 788 /* Widget update is NOT thread-safe and *seems* never will be, 789 789 * We have to notify machine-view with the async-signal to perform update operation. */ 790 LogRel2((" UIFrameBufferPrivate::NotifyUpdate: Origin=%lux%lu, Size=%lux%lu, Sending to async-handler\n",790 LogRel2(("GUI: UIFrameBufferPrivate::NotifyUpdate: Origin=%lux%lu, Size=%lux%lu, Sending to async-handler\n", 791 791 (unsigned long)uX, (unsigned long)uY, 792 792 (unsigned long)uWidth, (unsigned long)uHeight)); … … 813 813 if (m_fUnused) 814 814 { 815 LogRel2((" UIFrameBufferPrivate::NotifyUpdateImage: Origin=%lux%lu, Size=%lux%lu, Ignored!\n",815 LogRel2(("GUI: UIFrameBufferPrivate::NotifyUpdateImage: Origin=%lux%lu, Size=%lux%lu, Ignored!\n", 816 816 (unsigned long)uX, (unsigned long)uY, 817 817 (unsigned long)uWidth, (unsigned long)uHeight)); … … 840 840 /* Widget update is NOT thread-safe and *seems* never will be, 841 841 * We have to notify machine-view with the async-signal to perform update operation. */ 842 LogRel2((" UIFrameBufferPrivate::NotifyUpdateImage: Origin=%lux%lu, Size=%lux%lu, Sending to async-handler\n",842 LogRel2(("GUI: UIFrameBufferPrivate::NotifyUpdateImage: Origin=%lux%lu, Size=%lux%lu, Sending to async-handler\n", 843 843 (unsigned long)uX, (unsigned long)uY, 844 844 (unsigned long)uWidth, (unsigned long)uHeight)); … … 858 858 if (!pfSupported) 859 859 { 860 LogRel2((" UIFrameBufferPrivate::IsVideoModeSupported: Mode: BPP=%lu, Size=%lux%lu, Invalid pfSupported pointer!\n",860 LogRel2(("GUI: UIFrameBufferPrivate::IsVideoModeSupported: Mode: BPP=%lu, Size=%lux%lu, Invalid pfSupported pointer!\n", 861 861 (unsigned long)uBPP, (unsigned long)uWidth, (unsigned long)uHeight)); 862 862 … … 870 870 if (m_fUnused) 871 871 { 872 LogRel2((" UIFrameBufferPrivate::IsVideoModeSupported: Mode: BPP=%lu, Size=%lux%lu, Ignored!\n",872 LogRel2(("GUI: UIFrameBufferPrivate::IsVideoModeSupported: Mode: BPP=%lu, Size=%lux%lu, Ignored!\n", 873 873 (unsigned long)uBPP, (unsigned long)uWidth, (unsigned long)uHeight)); 874 874 … … 891 891 && (uHeight > (ULONG)height())) 892 892 *pfSupported = FALSE; 893 LogRel2((" UIFrameBufferPrivate::IsVideoModeSupported: Mode: BPP=%lu, Size=%lux%lu, Supported=%s\n",893 LogRel2(("GUI: UIFrameBufferPrivate::IsVideoModeSupported: Mode: BPP=%lu, Size=%lux%lu, Supported=%s\n", 894 894 (unsigned long)uBPP, (unsigned long)uWidth, (unsigned long)uHeight, *pfSupported ? "TRUE" : "FALSE")); 895 895 … … 919 919 if (!pRectangles) 920 920 { 921 LogRel2((" UIFrameBufferPrivate::SetVisibleRegion: Rectangle count=%lu, Invalid pRectangles pointer!\n",921 LogRel2(("GUI: UIFrameBufferPrivate::SetVisibleRegion: Rectangle count=%lu, Invalid pRectangles pointer!\n", 922 922 (unsigned long)uCount)); 923 923 … … 931 931 if (m_fUnused) 932 932 { 933 LogRel2((" UIFrameBufferPrivate::SetVisibleRegion: Rectangle count=%lu, Ignored!\n",933 LogRel2(("GUI: UIFrameBufferPrivate::SetVisibleRegion: Rectangle count=%lu, Ignored!\n", 934 934 (unsigned long)uCount)); 935 935 … … 966 966 m_syncVisibleRegion = region; 967 967 /* And send async-signal to update asynchronous one: */ 968 LogRel2((" UIFrameBufferPrivate::SetVisibleRegion: Rectangle count=%lu, Sending to async-handler\n",968 LogRel2(("GUI: UIFrameBufferPrivate::SetVisibleRegion: Rectangle count=%lu, Sending to async-handler\n", 969 969 (unsigned long)uCount)); 970 970 emit sigSetVisibleRegion(region); … … 974 974 /* Save the region. */ 975 975 m_pendingSyncVisibleRegion = region; 976 LogRel2((" UIFrameBufferPrivate::SetVisibleRegion: Rectangle count=%lu, Saved\n",976 LogRel2(("GUI: UIFrameBufferPrivate::SetVisibleRegion: Rectangle count=%lu, Saved\n", 977 977 (unsigned long)uCount)); 978 978 } … … 999 999 if (m_fUnused) 1000 1000 { 1001 LogRel2((" UIFrameBufferPrivate::Notify3DEvent: Ignored!\n"));1001 LogRel2(("GUI: UIFrameBufferPrivate::Notify3DEvent: Ignored!\n")); 1002 1002 1003 1003 /* Unlock access to frame-buffer: */ … … 1016 1016 * about 3D overlay visibility change: */ 1017 1017 BOOL fVisible = eventData[0]; 1018 LogRel2((" UIFrameBufferPrivate::Notify3DEvent: Sending to async-handler: "1018 LogRel2(("GUI: UIFrameBufferPrivate::Notify3DEvent: Sending to async-handler: " 1019 1019 "(VBOX3D_NOTIFY_EVENT_TYPE_VISIBLE_3DDATA = %s)\n", 1020 1020 fVisible ? "TRUE" : "FALSE")); … … 1048 1048 void UIFrameBufferPrivate::handleNotifyChange(int iWidth, int iHeight) 1049 1049 { 1050 LogRel((" UIFrameBufferPrivate::handleNotifyChange: Size=%dx%d\n", iWidth, iHeight));1050 LogRel(("GUI: UIFrameBufferPrivate::handleNotifyChange: Size=%dx%d\n", iWidth, iHeight)); 1051 1051 1052 1052 /* Make sure machine-view is assigned: */ … … 1060 1060 { 1061 1061 /* Do nothing, change-event already processed: */ 1062 LogRel2((" UIFrameBufferPrivate::handleNotifyChange: Already processed.\n"));1062 LogRel2(("GUI: UIFrameBufferPrivate::handleNotifyChange: Already processed.\n")); 1063 1063 /* Unlock access to frame-buffer: */ 1064 1064 unlock(); … … 1081 1081 void UIFrameBufferPrivate::handlePaintEvent(QPaintEvent *pEvent) 1082 1082 { 1083 LogRel2((" UIFrameBufferPrivate::handlePaintEvent: Origin=%lux%lu, Size=%dx%d\n",1083 LogRel2(("GUI: UIFrameBufferPrivate::handlePaintEvent: Origin=%lux%lu, Size=%dx%d\n", 1084 1084 pEvent->rect().x(), pEvent->rect().y(), 1085 1085 pEvent->rect().width(), pEvent->rect().height())); … … 1140 1140 void UIFrameBufferPrivate::performResize(int iWidth, int iHeight) 1141 1141 { 1142 LogRel((" UIFrameBufferPrivate::performResize: Size=%dx%d\n", iWidth, iHeight));1142 LogRel(("GUI: UIFrameBufferPrivate::performResize: Size=%dx%d\n", iWidth, iHeight)); 1143 1143 1144 1144 /* Make sure machine-view is assigned: */ … … 1158 1158 if (m_sourceBitmap.isNull()) 1159 1159 { 1160 LogRel((" UIFrameBufferPrivate::performResize: "1160 LogRel(("GUI: UIFrameBufferPrivate::performResize: " 1161 1161 "Using FALLBACK buffer due to source-bitmap is not provided..\n")); 1162 1162 … … 1172 1172 else 1173 1173 { 1174 LogRel((" UIFrameBufferPrivate::performResize: "1174 LogRel(("GUI: UIFrameBufferPrivate::performResize: " 1175 1175 "Directly using source-bitmap content\n")); 1176 1176 … … 1228 1228 1229 1229 /* And send async-signal to update asynchronous one: */ 1230 LogRel2((" UIFrameBufferPrivate::performResize: Rectangle count=%lu, Sending to async-handler\n",1230 LogRel2(("GUI: UIFrameBufferPrivate::performResize: Rectangle count=%lu, Sending to async-handler\n", 1231 1231 (unsigned long)m_syncVisibleRegion.rectCount())); 1232 1232 emit sigSetVisibleRegion(m_syncVisibleRegion); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineLogicNormal.cpp
r54459 r54805 65 65 void UIMachineLogicNormal::sltCheckForRequestedVisualStateType() 66 66 { 67 LogRel((" UIMachineLogicNormal::sltCheckForRequestedVisualStateType: Requested-state=%d, Machine-state=%d\n",67 LogRel(("GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: Requested-state=%d, Machine-state=%d\n", 68 68 uisession()->requestedVisualState(), uisession()->machineState())); 69 69 … … 81 81 if (uisession()->isGuestSupportsSeamless()) 82 82 { 83 LogRel((" UIMachineLogicNormal::sltCheckForRequestedVisualStateType: "83 LogRel(("GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: " 84 84 "Going 'seamless' as requested...\n")); 85 85 uisession()->setRequestedVisualState(UIVisualStateType_Invalid); … … 87 87 } 88 88 else 89 LogRel((" UIMachineLogicNormal::sltCheckForRequestedVisualStateType: "89 LogRel(("GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: " 90 90 "Rejecting 'seamless' as is it not yet supported...\n")); 91 91 break;
Note:
See TracChangeset
for help on using the changeset viewer.