Changeset 40845 in vbox for trunk/src/VBox/HostServices
- Timestamp:
- Apr 10, 2012 1:07:39 PM (13 years ago)
- Location:
- trunk/src/VBox/HostServices/SharedOpenGL
- Files:
-
- 1 added
- 1 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/Makefile.kmk
r39288 r40845 274 274 endif 275 275 276 LIBRARIES += VBoxOGLTest 277 VBoxOGLTest_TEMPLATE = VBOXR3STATIC 278 ifneq ($(KBUILD_TARGET),darwin) 279 VBoxOGLTest_SOURCES = OpenGLTest/OpenGLTest.cpp 280 endif 281 VBoxOGLTest_SOURCES.darwin = OpenGLTest/OpenGLTestDarwin.cpp 282 283 # 284 # VBoxTestOGL - OpenGL support test app. 285 # Note! Doesn't link with VBOX_WITH_DEBUG_VCC_CRT defined because it uses Qt. 286 # 287 if ( defined(VBOX_WITH_QTGUI) \ 288 && (defined(VBOX_WITH_CROGL) || defined(VBOX_WITH_VIDEOHWACCEL)) \ 289 && !defined(VBOX_WITH_DEBUG_VCC_CRT)) 290 ifneq ($(KBUILD_TARGET),darwin) 291 ifdef VBOX_WITH_VIDEOHWACCEL 292 USES += qt4 293 endif 294 PROGRAMS += VBoxTestOGL 295 VBoxTestOGL_TEMPLATE = $(if $(VBOX_WITH_VIDEOHWACCEL),$(if $(VBOX_WITH_HARDENING),VBOXQT4GUI,VBOXQT4GUIEXE),VBOXMAINEXE) 296 VBoxTestOGL_SOURCES = OpenGLTest/OpenGLTestApp.cpp 297 VBoxTestOGL_LIBS = \ 298 $(if $(VBOX_WITH_CROGL), \ 299 $(PATH_STAGE_LIB)/VBoxOGLhostspuload$(VBOX_SUFF_LIB) \ 300 $(VBOX_LIB_OGL_HOSTCRUTIL),) \ 301 $(if $(VBOX_WITH_VIDEOHWACCEL), $(PATH_STAGE_LIB)/VBoxOGL2D$(VBOX_SUFF_LIB),) \ 302 $(LIB_RUNTIME) 303 VBoxTestOGL_DEFS += \ 304 $(if $(VBOX_WITH_CROGL), VBOX_WITH_CROGL,) \ 305 $(if $(VBOX_WITH_VIDEOHWACCEL), VBOX_WITH_VIDEOHWACCEL,) \ 306 VBOX_BUILD_TARGET=\"$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)\" \ 307 $(if $(VBOX_BLEEDING_EDGE),VBOX_BLEEDING_EDGE=\"$(VBOX_BLEEDING_EDGE)\",) 308 ifdef VBOX_WITH_VIDEOHWACCEL 309 VBoxTestOGL_QT_MODULES += Core Gui OpenGL 310 VBoxTestOGL_LDFLAGS.darwin += -framework OpenGL 311 VBoxTestOGL_LIBS.win += $(PATH_SDK_WINPSDK_LIB)/Opengl32.lib 312 if1of ($(KBUILD_TARGET), solaris linux freebsd) 313 # must come after VBoxOGL2D, therefore don't set the arch-specific LIBS variable here! 314 VBoxTestOGL_LIBS += GL 315 endif 316 endif 317 VBoxTestOGL_LDFLAGS.win = /SUBSYSTEM:windows 318 endif 319 endif 320 276 321 include $(KBUILD_PATH)/subfooter.kmk 277 322 -
trunk/src/VBox/HostServices/SharedOpenGL/OpenGLTest/OpenGLTest.cpp
r40649 r40845 26 26 #include <iprt/thread.h> 27 27 28 bool is3DAccelerationSupported() 28 #include <VBox/VBoxOGLTest.h> 29 30 bool RTCALL VBoxOglIs3DAccelerationSupported() 29 31 { 30 32 static char pszVBoxPath[RTPATH_MAX]; -
trunk/src/VBox/HostServices/SharedOpenGL/OpenGLTest/OpenGLTestDarwin.cpp
r40649 r40845 26 26 #endif /* VBOX_WITH_COCOA_QT */ 27 27 28 bool is3DAccelerationSupported() 28 #include <VBox/VBoxOGLTest.h> 29 30 bool RTCALL VBoxOglIs3DAccelerationSupported() 29 31 { 30 32 CGDirectDisplayID display = CGMainDisplayID ();
Note:
See TracChangeset
for help on using the changeset viewer.