儲存庫 vbox 的更動 63305
圖例:
- 未更動
- 新增
- 刪除
-
trunk/Config.kmk
r63304 r63305 5704 5704 QT_DLL _CRT_SECURE_NO_DEPRECATE \ 5705 5705 $(QMAKE_PRL_DEFINES) 5706 TEMPLATE_VBOXQTGUIEXE_CXXFLAGS = -nologo -Zm200 -MD -Zi -EHsc -Zc:wchar_t- -W3 5706 TEMPLATE_VBOXQTGUIEXE_CXXFLAGS = -nologo -Zm200 -MD -Zi -EHsc -Zc:wchar_t- 5707 ifdef VBOX_WITH_MASOCHISTIC_WARNINGS 5708 # -wd4481: nonstandard extension used: override specifier 'override' 5709 # -wd4625: 'QRubberBand' : copy constructor could not be generated because a base class copy constructor is inaccessible 5710 # -wd4626: 'QRubberBand' : assignment operator could not be generated because a base class assignment operator is inaccessible 5711 # -wd4640: qmetatype.h(2210): warning C4640: 'f' : construction of local static object is not thread-safe [too bad] 5712 TEMPLATE_VBOXQTGUIEXE_CXXFLAGS += $(VBOX_VCC_WARN_ALL) -wd4481 -wd4625 -wd4626 -wd4640 $(VBOX_VCC_WERR) 5713 else 5714 TEMPLATE_VBOXQTGUIEXE_CXXFLAGS += -W3 5715 endif 5707 5716 TEMPLATE_VBOXQTGUIEXE_CXXFLAGS.debug = -RTCsu 5708 5717 TEMPLATE_VBOXQTGUIEXE_CXXFLAGS.dbgopt = $(NO_SUCH_VARIABLE) -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp
r62493 r63305 24 24 25 25 /* Qt includes: */ 26 # ifdef RT_OS_WINDOWS 27 # include <iprt/win/windows.h> /* QGLWidget drags in Windows.h; -Wall forces us to use wrapper. */ 28 # include <iprt/stdint.h> /* QGLWidget drags in stdint.h; -Wall forces us to use wrapper. */ 29 # endif 26 30 # include <QGLWidget> 27 31 # include <QFile> … … 630 634 VBoxVHWAGlProgram(VBoxVHWAGlShader ** apShaders, int acShaders); 631 635 632 ~VBoxVHWAGlProgram();636 virtual ~VBoxVHWAGlProgram(); 633 637 634 638 virtual int init(); … … 3780 3784 3781 3785 VBOXQGLLOG(("resizing: fmt=%d, vram=%p, bpp=%d, bpl=%d, width=%d, height=%d\n", 3782 3783 3784 3786 size.pixelFormat(), size.VRAM(), 3787 size.bitsPerPixel(), size.bytesPerLine(), 3788 size.width(), size.height())); 3785 3789 3786 3790 /* clean the old values first */ 3787 3791 3788 ulong bytesPerLine; 3789 uint32_t bitsPerPixel; 3790 uint32_t b = 0xff, g = 0xff00, r = 0xff0000; 3791 bool bUsesGuestVram; 3792 ulong bytesPerLine = 0; /* Shut up MSC. */ 3793 uint32_t bitsPerPixel = 0; /* Shut up MSC. */ 3794 uint32_t b = 0xff; 3795 uint32_t g = 0xff00; 3796 uint32_t r = 0xff0000; 3797 bool fUsesGuestVram = false; /* Shut up MSC. */ 3792 3798 3793 3799 /* check if we support the pixel format and can use the guest VRAM directly */ … … 3849 3855 { 3850 3856 // ulong virtWdt = bitsPerLine / size.bitsPerPixel(); 3851 bUsesGuestVram = true;3857 fUsesGuestVram = true; 3852 3858 } 3853 3859 } … … 3868 3874 g = 0xff00; 3869 3875 r = 0xff0000; 3870 bytesPerLine = size.width() *bitsPerPixel/8;3871 bUsesGuestVram = false;3876 bytesPerLine = size.width() * bitsPerPixel / 8; 3877 fUsesGuestVram = false; 3872 3878 } 3873 3879 … … 3909 3915 #endif 3910 3916 0 /* VBOXVHWAIMG_TYPE fFlags */); 3911 pDisplay->init(NULL, bUsesGuestVram ? size.VRAM() : NULL);3917 pDisplay->init(NULL, fUsesGuestVram ? size.VRAM() : NULL); 3912 3918 mDisplay.setVGA(pDisplay); 3913 3919 // VBOXQGLLOG(("\n\n*******\n\n viewport size is: (%d):(%d)\n\n*******\n\n", size().width(), size().height())); -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.h
-
屬性 svn:keywords
設為
Author Date Id Revision
r62493 r63305 1 /* $Id :$ */1 /* $Id$ */ 2 2 /** @file 3 3 * VBox Qt GUI - VBoxFrameBuffer Overly classes declarations. … … 17 17 #ifndef __VBoxFBOverlay_h__ 18 18 #define __VBoxFBOverlay_h__ 19 #if defined (VBOX_GUI_USE_QGL) || defined(VBOX_WITH_VIDEOHWACCEL) 19 20 #if defined(VBOX_GUI_USE_QGL) || defined(VBOX_WITH_VIDEOHWACCEL) 20 21 21 22 /* Defines: */ … … 26 27 27 28 /* Qt includes: */ 29 #ifdef RT_OS_WINDOWS 30 # include <iprt/win/windows.h> /* QGLWidget drags in Windows.h; -Wall forces us to use wrapper. */ 31 # include <iprt/stdint.h> /* QGLWidget drags in stdint.h; -Wall forces us to use wrapper. */ 32 #endif 28 33 #include <QGLWidget> 29 34 … … 1840 1845 }; 1841 1846 1842 #endif 1847 #endif /* defined(VBOX_GUI_USE_QGL) || defined(VBOX_WITH_VIDEOHWACCEL) */ 1843 1848 1844 1849 #endif /* #ifndef __VBoxFBOverlay_h__ */ -
屬性 svn:keywords
設為
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGLSupportInfo.cpp
r62493 r63305 20 20 #else /* !VBOX_WITH_PRECOMPILED_HEADERS */ 21 21 22 # ifdef RT_OS_WINDOWS 23 # include <iprt/win/windows.h> /* QGLWidget drags in Windows.h; -Wall forces us to use wrapper. */ 24 # include <iprt/stdint.h> /* QGLWidget drags in stdint.h; -Wall forces us to use wrapper. */ 25 # endif 22 26 # include <QGLWidget> 23 27 -
trunk/src/VBox/Frontends/VirtualBox/src/main.cpp
r62493 r63305 239 239 # ifndef VBOX_WS_X11 240 240 NOREF(strMessage); 241 # endif /* !VBOX_WS_X11 */241 # endif 242 242 switch (type) 243 243 { … … 250 250 /* Needed for instance for the message ``cannot connect to X server'': */ 251 251 RTStrmPrintf(g_pStdErr, "Qt WARNING: %s\n", strMessage.toUtf8().constData()); 252 # endif /* VBOX_WS_X11 */252 # endif 253 253 break; 254 254 case QtCriticalMsg: … … 257 257 /* Needed for instance for the message ``cannot connect to X server'': */ 258 258 RTStrmPrintf(g_pStdErr, "Qt CRITICAL: %s\n", strMessage.toUtf8().constData()); 259 # endif /* VBOX_WS_X11 */259 # endif 260 260 break; 261 261 case QtFatalMsg: … … 264 264 /* Needed for instance for the message ``cannot connect to X server'': */ 265 265 RTStrmPrintf(g_pStdErr, "Qt FATAL: %s\n", strMessage.toUtf8().constData()); 266 # endif /* VBOX_WS_X11 */ 266 # endif 267 case QtInfoMsg: 268 /* ignore? */ 269 break; 267 270 } 268 271 } … … 738 741 # endif /* !RT_OS_LINUX */ 739 742 break; 740 # ifdef RT_OS_LINUX741 743 case kSupInitOp_IPRT: 742 744 case kSupInitOp_Misc: 743 if (rc == VERR_NO_MEMORY) 745 if (rc == VERR_VM_DRIVER_VERSION_MISMATCH) 746 # ifndef RT_OS_LINUX 747 strText += g_QStrHintOtherWrongDriverVersion; 748 # else 749 strText += g_QStrHintLinuxWrongDriverVersion; 750 else if (rc == VERR_NO_MEMORY) 744 751 strText += g_QStrHintLinuxNoMemory; 745 else 746 # endif /* RT_OS_LINUX */ 747 if (rc == VERR_VM_DRIVER_VERSION_MISMATCH) 748 # ifdef RT_OS_LINUX 749 strText += g_QStrHintLinuxWrongDriverVersion; 750 # else /* RT_OS_LINUX */ 751 strText += g_QStrHintOtherWrongDriverVersion; 752 # endif /* !RT_OS_LINUX */ 752 # endif 753 753 else 754 754 strText += g_QStrHintReinstall;
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器