- Timestamp:
- May 6, 2019 9:31:01 PM (6 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 deleted
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/Makefile.kmk
r78340 r78408 105 105 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGL.dll \ 106 106 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxD3D9wddm.dll \ 107 $(PATH_TARGET)/VBoxWddmCat.dir/wined3dwddm.dll \ 108 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLcrutil.dll \ 109 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLerrorspu.dll \ 110 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLfeedbackspu.dll \ 111 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLpackspu.dll \ 112 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLpassthroughspu.dll 107 $(PATH_TARGET)/VBoxWddmCat.dir/wined3dwddm.dll 113 108 VBoxWddm-inf_SOURCES.amd64 += \ 114 109 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGL-x86.dll \ 115 110 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxD3D9wddm-x86.dll \ 116 $(PATH_TARGET)/VBoxWddmCat.dir/wined3dwddm-x86.dll \ 117 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLcrutil-x86.dll \ 118 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLerrorspu-x86.dll \ 119 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLfeedbackspu-x86.dll \ 120 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLpackspu-x86.dll \ 121 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLpassthroughspu-x86.dll 111 $(PATH_TARGET)/VBoxWddmCat.dir/wined3dwddm-x86.dll 122 112 endif # VBOXWDDM_WITH_GL 123 113 endif # VBOX_SIGN_ADDITIONS … … 183 173 $(INSTALL) -m 644 $< $(@D) 184 174 185 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLcrutil.dll: $(PATH_OBJ)/VBoxOGLcrutil/VBoxOGLcrutil.dll | $$(dir $$@)186 $(INSTALL) -m 644 $< $(@D)187 188 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLerrorspu.dll: $(PATH_OBJ)/VBoxOGLerrorspu/VBoxOGLerrorspu.dll | $$(dir $$@)189 $(INSTALL) -m 644 $< $(@D)190 191 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLfeedbackspu.dll: $(PATH_OBJ)/VBoxOGLfeedbackspu/VBoxOGLfeedbackspu.dll | $$(dir $$@)192 $(INSTALL) -m 644 $< $(@D)193 194 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLpackspu.dll: $(PATH_OBJ)/VBoxOGLpackspu/VBoxOGLpackspu.dll | $$(dir $$@)195 $(INSTALL) -m 644 $< $(@D)196 197 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLpassthroughspu.dll: $(PATH_OBJ)/VBoxOGLpassthroughspu/VBoxOGLpassthroughspu.dll | $$(dir $$@)198 $(INSTALL) -m 644 $< $(@D)199 200 175 ifeq ($(KBUILD_TARGET_ARCH),amd64) 201 176 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGL-x86.dll: $(PATH_OBJ)/VBoxOGL-x86/VBoxOGL-x86.dll | $$(dir $$@) … … 208 183 $(INSTALL) -m 644 $< $(@D) 209 184 210 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLcrutil-x86.dll: $(PATH_OBJ)/VBoxOGLcrutil-x86/VBoxOGLcrutil-x86.dll | $$(dir $$@)211 $(INSTALL) -m 644 $< $(@D)212 213 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLerrorspu-x86.dll: $(PATH_OBJ)/VBoxOGLerrorspu-x86/VBoxOGLerrorspu-x86.dll | $$(dir $$@)214 $(INSTALL) -m 644 $< $(@D)215 216 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLfeedbackspu-x86.dll: $(PATH_OBJ)/VBoxOGLfeedbackspu-x86/VBoxOGLfeedbackspu-x86.dll | $$(dir $$@)217 $(INSTALL) -m 644 $< $(@D)218 219 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLpackspu-x86.dll: $(PATH_OBJ)/VBoxOGLpackspu-x86/VBoxOGLpackspu-x86.dll | $$(dir $$@)220 $(INSTALL) -m 644 $< $(@D)221 222 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLpassthroughspu-x86.dll: $(PATH_OBJ)/VBoxOGLpassthroughspu-x86/VBoxOGLpassthroughspu-x86.dll | $$(dir $$@)223 $(INSTALL) -m 644 $< $(@D)224 185 endif # ($(KBUILD_TARGET_ARCH), amd64) 225 186 endif # VBOXWDDM_WITH_GL … … 242 203 $(if $(VBOXWDDM_WITH_GL), $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGL.dll \ 243 204 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxD3D9wddm.dll \ 244 $(PATH_TARGET)/VBoxWddmCat.dir/wined3dwddm.dll \ 245 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLcrutil.dll \ 246 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLerrorspu.dll \ 247 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLfeedbackspu.dll \ 248 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLpackspu.dll \ 249 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLpassthroughspu.dll, ) \ 205 $(PATH_TARGET)/VBoxWddmCat.dir/wined3dwddm.dll, ) \ 250 206 $(if $(VBOXWDDM_WITH_GL), $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", \ 251 207 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGL-x86.dll \ 252 208 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxD3D9wddm-x86.dll \ 253 $(PATH_TARGET)/VBoxWddmCat.dir/wined3dwddm-x86.dll \ 254 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLcrutil-x86.dll \ 255 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLerrorspu-x86.dll \ 256 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLfeedbackspu-x86.dll \ 257 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLpackspu-x86.dll \ 258 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxOGLpassthroughspu-x86.dll, ), ) 209 $(PATH_TARGET)/VBoxWddmCat.dir/wined3dwddm-x86.dll, ), ) 259 210 $(call MSG_TOOL,Inf2Cat,VBoxWddm-inf,$@,$<) 260 211 $(call VBOX_MAKE_CAT_FN, $(@D),$@) -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxWddm.inf
r78340 r78408 71 71 ;gl VBoxD3D9wddm.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME 72 72 ;gl wined3dwddm.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME 73 ;gl VBoxOGLcrutil.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME74 ;gl VBoxOGLerrorspu.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME75 ;gl VBoxOGLfeedbackspu.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME76 ;gl VBoxOGLpackspu.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME77 ;gl VBoxOGLpassthroughspu.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME78 73 79 74 ;amd64 [VBoxVideo.GL_wow64] … … 81 76 ;amd64 ;gl VBoxD3D9wddm-x86.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME 82 77 ;amd64 ;gl wined3dwddm-x86.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME 83 ;amd64 ;gl VBoxOGLcrutil-x86.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME84 ;amd64 ;gl VBoxOGLerrorspu-x86.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME85 ;amd64 ;gl VBoxOGLfeedbackspu-x86.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME86 ;amd64 ;gl VBoxOGLpackspu-x86.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME87 ;amd64 ;gl VBoxOGLpassthroughspu-x86.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME88 78 89 79 [VBoxVideo_SoftwareDeviceSettings] … … 140 130 ;amd64 ;gl wined3dwddm-x86.dll = 1 141 131 ;gl wined3dwddm.dll = 1 142 ;amd64 ;gl VBoxOGLcrutil-x86.dll = 1143 ;gl VBoxOGLcrutil.dll = 1144 ;amd64 ;gl VBoxOGLerrorspu-x86.dll = 1145 ;gl VBoxOGLerrorspu.dll = 1146 ;amd64 ;gl VBoxOGLfeedbackspu-x86.dll = 1147 ;gl VBoxOGLfeedbackspu.dll = 1148 ;amd64 ;gl VBoxOGLpackspu-x86.dll = 1149 ;gl VBoxOGLpackspu.dll = 1150 ;amd64 ;gl VBoxOGLpassthroughspu-x86.dll = 1151 ;gl VBoxOGLpassthroughspu.dll = 1152 132 153 133 [Strings] -
trunk/src/VBox/Additions/WINNT/Installer/Makefile.kmk
r78388 r78408 102 102 ifdef VBOX_WITH_CROGL 103 103 DRIVER_FILES += \ 104 $(PATH_STAGE_BIN)/additions/VBoxOGLcrutil.dll \105 $(PATH_STAGE_BIN)/additions/VBoxOGLerrorspu.dll \106 $(PATH_STAGE_BIN)/additions/VBoxOGLpackspu.dll \107 $(PATH_STAGE_BIN)/additions/VBoxOGLpassthroughspu.dll \108 $(PATH_STAGE_BIN)/additions/VBoxOGLfeedbackspu.dll \109 104 $(PATH_STAGE_BIN)/additions/VBoxOGL.dll \ 110 105 $(PATH_STAGE_BIN)/additions/wined3d.dll \ … … 115 110 # running 32-bit OpenGL apps on that. 116 111 DRIVER_FILES += \ 117 $(VBOX_PATH_ADDITIONS.win.x86)/VBoxOGLcrutil.dll \118 $(VBOX_PATH_ADDITIONS.win.x86)/VBoxOGLerrorspu.dll \119 $(VBOX_PATH_ADDITIONS.win.x86)/VBoxOGLpackspu.dll \120 $(VBOX_PATH_ADDITIONS.win.x86)/VBoxOGLpassthroughspu.dll \121 $(VBOX_PATH_ADDITIONS.win.x86)/VBoxOGLfeedbackspu.dll \122 112 $(VBOX_PATH_ADDITIONS.win.x86)/VBoxOGL.dll \ 123 113 $(VBOX_PATH_ADDITIONS.win.x86)/wined3d.dll \ 124 114 $(VBOX_PATH_ADDITIONS.win.x86)/VBoxD3D9.dll \ 125 115 $(VBOX_PATH_ADDITIONS.win.x86)/VBoxD3D8.dll 126 127 116 endif 128 117 endif … … 162 151 $(PATH_STAGE_BIN)/additions/wined3dwddm-x86.dll \ 163 152 $(PATH_STAGE_BIN)/additions/VBoxD3D9wddm-x86.dll \ 164 $(PATH_STAGE_BIN)/additions/VBoxOGL-x86.dll \ 165 $(PATH_STAGE_BIN)/additions/VBoxOGLcrutil-x86.dll \ 166 $(PATH_STAGE_BIN)/additions/VBoxOGLerrorspu-x86.dll \ 167 $(PATH_STAGE_BIN)/additions/VBoxOGLfeedbackspu-x86.dll \ 168 $(PATH_STAGE_BIN)/additions/VBoxOGLpackspu-x86.dll \ 169 $(PATH_STAGE_BIN)/additions/VBoxOGLpassthroughspu-x86.dll 153 $(PATH_STAGE_BIN)/additions/VBoxOGL-x86.dll 170 154 endif 171 155 endif 172 156 endif 173 174 157 VB_WIN_ADD_NSIS_ENV := \ 175 158 -E 'PATH_OUT=$(subst /,\,$(PATH_OUT))' \ -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh
r78340 r78408 64 64 !if $%VBOX_WITH_CROGL% == "1" 65 65 ; crOpenGL 66 FILE "$%PATH_OUT%\bin\additions\VBoxOGLcrutil.dll"67 FILE "$%PATH_OUT%\bin\additions\VBoxOGLerrorspu.dll"68 FILE "$%PATH_OUT%\bin\additions\VBoxOGLpackspu.dll"69 FILE "$%PATH_OUT%\bin\additions\VBoxOGLpassthroughspu.dll"70 FILE "$%PATH_OUT%\bin\additions\VBoxOGLfeedbackspu.dll"71 66 FILE "$%PATH_OUT%\bin\additions\VBoxOGL.dll" 72 67 … … 83 78 FILE "$%VBOX_PATH_ADDITIONS_WIN_X86%\d3d8.dll" 84 79 FILE "$%VBOX_PATH_ADDITIONS_WIN_X86%\d3d9.dll" 85 FILE "$%VBOX_PATH_ADDITIONS_WIN_X86%\VBoxOGLcrutil.dll"86 FILE "$%VBOX_PATH_ADDITIONS_WIN_X86%\VBoxOGLerrorspu.dll"87 FILE "$%VBOX_PATH_ADDITIONS_WIN_X86%\VBoxOGLpackspu.dll"88 FILE "$%VBOX_PATH_ADDITIONS_WIN_X86%\VBoxOGLpassthroughspu.dll"89 FILE "$%VBOX_PATH_ADDITIONS_WIN_X86%\VBoxOGLfeedbackspu.dll"90 80 FILE "$%VBOX_PATH_ADDITIONS_WIN_X86%\VBoxOGL.dll" 91 81 FILE "$%VBOX_PATH_ADDITIONS_WIN_X86%\VBoxD3D8.dll" … … 113 103 114 104 !if $%VBOX_WITH_CROGL% == "1" 115 FILE "$%PATH_OUT%\bin\additions\VBoxOGLcrutil.dll"116 FILE "$%PATH_OUT%\bin\additions\VBoxOGLerrorspu.dll"117 FILE "$%PATH_OUT%\bin\additions\VBoxOGLpackspu.dll"118 FILE "$%PATH_OUT%\bin\additions\VBoxOGLpassthroughspu.dll"119 FILE "$%PATH_OUT%\bin\additions\VBoxOGLfeedbackspu.dll"120 105 FILE "$%PATH_OUT%\bin\additions\VBoxOGL.dll" 121 106 … … 134 119 135 120 !if $%VBOX_WITH_CROGL% == "1" 136 FILE "$%PATH_OUT%\bin\additions\VBoxOGLcrutil-x86.dll"137 FILE "$%PATH_OUT%\bin\additions\VBoxOGLerrorspu-x86.dll"138 FILE "$%PATH_OUT%\bin\additions\VBoxOGLpackspu-x86.dll"139 FILE "$%PATH_OUT%\bin\additions\VBoxOGLpassthroughspu-x86.dll"140 FILE "$%PATH_OUT%\bin\additions\VBoxOGLfeedbackspu-x86.dll"141 121 FILE "$%PATH_OUT%\bin\additions\VBoxOGL-x86.dll" 142 122 -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh
r78389 r78408 248 248 249 249 !if $%VBOX_WITH_CROGL% == "1" 250 FILE "$%PATH_OUT%\bin\additions\VBoxOGLcrutil.dll"251 FILE "$%PATH_OUT%\bin\additions\VBoxOGLerrorspu.dll"252 FILE "$%PATH_OUT%\bin\additions\VBoxOGLpackspu.dll"253 FILE "$%PATH_OUT%\bin\additions\VBoxOGLpassthroughspu.dll"254 FILE "$%PATH_OUT%\bin\additions\VBoxOGLfeedbackspu.dll"255 250 FILE "$%PATH_OUT%\bin\additions\VBoxOGL.dll" 256 251 … … 269 264 270 265 !if $%VBOX_WITH_CROGL% == "1" 271 FILE "$%PATH_OUT%\bin\additions\VBoxOGLcrutil-x86.dll"272 FILE "$%PATH_OUT%\bin\additions\VBoxOGLerrorspu-x86.dll"273 FILE "$%PATH_OUT%\bin\additions\VBoxOGLpackspu-x86.dll"274 FILE "$%PATH_OUT%\bin\additions\VBoxOGLpassthroughspu-x86.dll"275 FILE "$%PATH_OUT%\bin\additions\VBoxOGLfeedbackspu-x86.dll"276 266 FILE "$%PATH_OUT%\bin\additions\VBoxOGL-x86.dll" 277 267 … … 292 282 StrCpy $0 "$TEMP\VBoxGuestAdditions\VBoxOGL" 293 283 CreateDirectory "$0" 294 !insertmacro InstallLib DLL NOTSHARED REBOOT_PROTECTED "$%PATH_OUT%\bin\additions\VBoxOGLcrutil.dll" "$g_strSystemDir\VBoxOGLcrutil.dll" "$0"295 !insertmacro InstallLib DLL NOTSHARED REBOOT_PROTECTED "$%PATH_OUT%\bin\additions\VBoxOGLerrorspu.dll" "$g_strSystemDir\VBoxOGLerrorspu.dll" "$0"296 !insertmacro InstallLib DLL NOTSHARED REBOOT_PROTECTED "$%PATH_OUT%\bin\additions\VBoxOGLpackspu.dll" "$g_strSystemDir\VBoxOGLpackspu.dll" "$0"297 !insertmacro InstallLib DLL NOTSHARED REBOOT_PROTECTED "$%PATH_OUT%\bin\additions\VBoxOGLpassthroughspu.dll" "$g_strSystemDir\VBoxOGLpassthroughspu.dll" "$0"298 !insertmacro InstallLib DLL NOTSHARED REBOOT_PROTECTED "$%PATH_OUT%\bin\additions\VBoxOGLfeedbackspu.dll" "$g_strSystemDir\VBoxOGLfeedbackspu.dll" "$0"299 284 !insertmacro InstallLib DLL NOTSHARED REBOOT_PROTECTED "$%PATH_OUT%\bin\additions\VBoxOGL.dll" "$g_strSystemDir\VBoxOGL.dll" "$0" 300 285 !if $%BUILD_TARGET_ARCH% == "amd64" … … 309 294 ; path after calling EnableX64FSRedirection 310 295 ${EnableX64FSRedirection} 311 !insertmacro InstallLib DLL NOTSHARED REBOOT_PROTECTED "$%VBOX_PATH_ADDITIONS_WIN_X86%\VBoxOGLcrutil.dll" "$SYSDIR\VBoxOGLcrutil.dll" "$0"312 !insertmacro InstallLib DLL NOTSHARED REBOOT_PROTECTED "$%VBOX_PATH_ADDITIONS_WIN_X86%\VBoxOGLerrorspu.dll" "$SYSDIR\VBoxOGLerrorspu.dll" "$0"313 !insertmacro InstallLib DLL NOTSHARED REBOOT_PROTECTED "$%VBOX_PATH_ADDITIONS_WIN_X86%\VBoxOGLpackspu.dll" "$SYSDIR\VBoxOGLpackspu.dll" "$0"314 !insertmacro InstallLib DLL NOTSHARED REBOOT_PROTECTED "$%VBOX_PATH_ADDITIONS_WIN_X86%\VBoxOGLpassthroughspu.dll" "$SYSDIR\VBoxOGLpassthroughspu.dll" "$0"315 !insertmacro InstallLib DLL NOTSHARED REBOOT_PROTECTED "$%VBOX_PATH_ADDITIONS_WIN_X86%\VBoxOGLfeedbackspu.dll" "$SYSDIR\VBoxOGLfeedbackspu.dll" "$0"316 296 !insertmacro InstallLib DLL NOTSHARED REBOOT_PROTECTED "$%VBOX_PATH_ADDITIONS_WIN_X86%\VBoxOGL.dll" "$SYSDIR\VBoxOGL.dll" "$0" 317 297 ${DisableX64FSRedirection} … … 540 520 !endif 541 521 522 ; Obsolete files begin (they were merged into VBoxOGL.dll) 542 523 Delete /REBOOTOK "$INSTDIR\VBoxOGLcrutil.dll" 543 524 Delete /REBOOTOK "$INSTDIR\VBoxOGLarrayspu.dll" … … 546 527 Delete /REBOOTOK "$INSTDIR\VBoxOGLpassthroughspu.dll" 547 528 Delete /REBOOTOK "$INSTDIR\VBoxOGLfeedbackspu.dll" 529 ; Obsolete files end 530 548 531 Delete /REBOOTOK "$INSTDIR\VBoxOGL.dll" 549 532 … … 562 545 !endif 563 546 547 ; Obsolete files begin (they were merged into VBoxOGL-x86.dll) 564 548 Delete /REBOOTOK "$INSTDIR\VBoxOGLcrutil-x86.dll" 565 549 Delete /REBOOTOK "$INSTDIR\VBoxOGLarrayspu-x86.dll" … … 568 552 Delete /REBOOTOK "$INSTDIR\VBoxOGLpassthroughspu-x86.dll" 569 553 Delete /REBOOTOK "$INSTDIR\VBoxOGLfeedbackspu-x86.dll" 554 ; Obsolete files end 555 570 556 Delete /REBOOTOK "$INSTDIR\VBoxOGL-x86.dll" 571 557 … … 661 647 ${EndIf} 662 648 649 ; Obsolete files begin (they were merged into VBoxOGL.dll) 663 650 Delete /REBOOTOK "$g_strSystemDir\VBoxOGLcrutil.dll" 664 651 Delete /REBOOTOK "$g_strSystemDir\VBoxOGLarrayspu.dll" … … 667 654 Delete /REBOOTOK "$g_strSystemDir\VBoxOGLpassthroughspu.dll" 668 655 Delete /REBOOTOK "$g_strSystemDir\VBoxOGLfeedbackspu.dll" 656 ; Obsolete files end 657 669 658 Delete /REBOOTOK "$g_strSystemDir\VBoxOGL.dll" 670 659 … … 698 687 !if $%BUILD_TARGET_ARCH% == "amd64" 699 688 ; Only 64-bit installer: Also remove 32-bit DLLs on 64-bit target arch in Wow64 node 689 ; Obsolete files begin (they were merged into VBoxOGL-x86.dll) 700 690 Delete /REBOOTOK "$g_strSysWow64\VBoxOGLcrutil-x86.dll" 701 691 Delete /REBOOTOK "$g_strSysWow64\VBoxOGLarrayspu-x86.dll" … … 704 694 Delete /REBOOTOK "$g_strSysWow64\VBoxOGLpassthroughspu-x86.dll" 705 695 Delete /REBOOTOK "$g_strSysWow64\VBoxOGLfeedbackspu-x86.dll" 696 ; Obsolete files end 697 706 698 Delete /REBOOTOK "$g_strSysWow64\VBoxOGL-x86.dll" 707 699 -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo-win.cpp
r78340 r78408 1347 1347 So just enumerate the 32-bit files in the SYSWOW directory. */ 1348 1348 #ifdef RT_ARCH_AMD64 1349 { szSysWowDir, "VBoxOGLcrutil.dll" }, 1350 { szSysWowDir, "VBoxOGLerrorspu.dll" }, 1351 { szSysWowDir, "VBoxOGLpackspu.dll" }, 1352 { szSysWowDir, "VBoxOGLpassthroughspu.dll" }, 1353 { szSysWowDir, "VBoxOGLfeedbackspu.dll" }, 1354 { szSysWowDir, "VBoxOGL.dll" }, 1349 { szSysWowDir, "VBoxOGL-x86.dll" }, 1355 1350 #else /* !RT_ARCH_AMD64 */ 1356 { szSysDir, "VBoxOGLcrutil.dll" },1357 { szSysDir, "VBoxOGLerrorspu.dll" },1358 { szSysDir, "VBoxOGLpackspu.dll" },1359 { szSysDir, "VBoxOGLpassthroughspu.dll" },1360 { szSysDir, "VBoxOGLfeedbackspu.dll" },1361 1351 { szSysDir, "VBoxOGL.dll" }, 1362 1352 #endif /* !RT_ARCH_AMD64 */ -
trunk/src/VBox/Additions/common/crOpenGL/Makefile.kmk
r78340 r78408 27 27 if1of ($(KBUILD_TARGET), win linux solaris freebsd) 28 28 DLLS += \ 29 VBoxOGL \ 29 VBoxOGL 30 31 LIBRARIES += \ 30 32 VBoxOGLpassthroughspu \ 31 33 VBoxOGLpackspu \ … … 34 36 35 37 VBOX_OGL_X86_GUEST_DLLS = \ 36 VBoxOGL-x86 \ 38 VBoxOGL-x86 39 40 VBOX_OGL_X86_GUEST_LIBRARIES = \ 37 41 VBoxOGLpassthroughspu-x86 \ 38 42 VBoxOGLpackspu-x86 \ … … 41 45 ifdef VBOX_WITH_WDDM 42 46 DLLS.win.amd64 += $(VBOX_OGL_X86_GUEST_DLLS) 47 LIBRARIES.win.amd64 += $(VBOX_OGL_X86_GUEST_LIBRARIES) 43 48 endif 44 49 … … 202 207 endif 203 208 endif 204 # VBoxOGL_LIBS = \ # VBOX_LIB_OGL_CRUTIL includes these and caused an interesting conflict.205 # $(VBOX_LIB_IPRT_GUEST_R3_SHARED) \206 # $(VBOX_LIB_VBGL_R3_SHARED) \207 208 209 VBoxOGL_LIBS = \ 210 $(VBOX_LIB_IPRT_GUEST_R3_SHARED) \ 211 $(VBOX_LIB_VBGL_R3_SHARED) \ 209 212 $(VBOX_LIB_OGL_CRUTIL) \ 210 $(PATH_STAGE_LIB)/additions/VBoxOGLspuload$(VBOX_SUFF_LIB) 213 $(PATH_STAGE_LIB)/additions/VBoxOGLspuload$(VBOX_SUFF_LIB) \ 214 $(PATH_STAGE_LIB)/additions/VBoxOGLcrstate$(VBOX_SUFF_LIB) \ 215 $(PATH_STAGE_LIB)/additions/VBoxOGLcrpacker$(VBOX_SUFF_LIB) \ 216 $(PATH_STAGE_LIB)/additions/VBoxOGLfeedbackspu$(VBOX_SUFF_LIB) \ 217 $(PATH_STAGE_LIB)/additions/VBoxOGLpassthroughspu$(VBOX_SUFF_LIB) \ 218 $(PATH_STAGE_LIB)/additions/VBoxOGLpackspu$(VBOX_SUFF_LIB) \ 219 $(PATH_STAGE_LIB)/additions/VBoxOGLerrorspu$(VBOX_SUFF_LIB) 211 220 212 221 VBoxOGL_LIBS.win += \ … … 256 265 $(VBOX_LIB_VBGL_R3_SHARED_X86) \ 257 266 $(VBOX_LIB_OGL_CRUTIL_X86) \ 258 $(PATH_STAGE_LIB)/additions/VBoxOGLspuload-x86$(VBOX_SUFF_LIB) 267 $(PATH_STAGE_LIB)/additions/VBoxOGLspuload-x86$(VBOX_SUFF_LIB) \ 268 $(PATH_STAGE_LIB)/additions/VBoxOGLcrstate-x86$(VBOX_SUFF_LIB) \ 269 $(PATH_STAGE_LIB)/additions/VBoxOGLcrpacker-x86$(VBOX_SUFF_LIB) \ 270 $(PATH_STAGE_LIB)/additions/VBoxOGLfeedbackspu-x86$(VBOX_SUFF_LIB) \ 271 $(PATH_STAGE_LIB)/additions/VBoxOGLpassthroughspu-x86$(VBOX_SUFF_LIB) \ 272 $(PATH_STAGE_LIB)/additions/VBoxOGLpackspu-x86$(VBOX_SUFF_LIB) \ 273 $(PATH_STAGE_LIB)/additions/VBoxOGLerrorspu-x86$(VBOX_SUFF_LIB) 259 274 260 275 VBoxOGL-x86_LIBS.win += \ … … 448 463 # VBoxOGLpassthroughspu 449 464 # 450 VBoxOGLpassthroughspu_TEMPLATE = VBOXCROGLR3GUEST DLL465 VBoxOGLpassthroughspu_TEMPLATE = VBOXCROGLR3GUESTLIB 451 466 VBoxOGLpassthroughspu_INCS = \ 452 467 passthrough \ … … 456 471 $(VBOX_GL_INCS) 457 472 endif 458 if defined(VBOX_SIGNING_MODE) && defined(VBOX_WITH_WDDM)459 VBoxOGLpassthroughspu_INSTTYPE.win = none460 VBoxOGLpassthroughspu_DEBUG_INSTTYPE.win = both461 endif462 473 VBoxOGLpassthroughspu_SOURCES = \ 463 474 passthrough/passthroughspu_init.c \ 464 475 $(VBOX_PATH_CROGL_GENFILES)/passthroughspu.c 465 VBoxOGLpassthroughspu_SOURCES.win = \466 passthrough/passthrough.def \467 passthrough/passthroughspu.rc468 476 VBoxOGLpassthroughspu_CLEAN = \ 469 477 $(VBOX_PATH_CROGL_GENFILES)/passthroughspu.c 470 VBoxOGLpassthroughspu_LIBS = \471 $(VBOX_LIB_OGL_CRUTIL)472 478 ifdef VBOX_WITH_CRHGSMI 473 479 VBoxOGLpassthroughspu_DEFS.win += VBOX_WITH_CRHGSMI … … 497 503 # VBoxOGLpackspu 498 504 # 499 VBoxOGLpackspu_TEMPLATE = VBOXCROGLR3GUEST DLL505 VBoxOGLpackspu_TEMPLATE = VBOXCROGLR3GUESTLIB 500 506 VBoxOGLpackspu_DEFS = TRACKS_STATE=1 PACKS=1 501 507 VBoxOGLpackspu_INCS = \ … … 505 511 VBoxOGLpackspu_INCS += \ 506 512 $(VBOX_GL_INCS) 507 endif508 if defined(VBOX_SIGNING_MODE) && defined(VBOX_WITH_WDDM)509 VBoxOGLpackspu_INSTTYPE.win = none510 VBoxOGLpackspu_DEBUG_INSTTYPE.win = both511 513 endif 512 514 VBoxOGLpackspu_INTERMEDIATES = \ … … 532 534 $(VBOX_PATH_CROGL_GENFILES)/packspu_flush.c \ 533 535 $(VBOX_PATH_CROGL_GENFILES)/packspu_beginend.c 534 VBoxOGLpackspu_SOURCES.win = \535 pack/pack.def \536 pack/packspu.rc537 536 VBoxOGLpackspu_CLEAN = \ 538 537 $(VBOX_PATH_CROGL_GENFILES)/packspu_proto.h \ … … 541 540 $(VBOX_PATH_CROGL_GENFILES)/packspu_flush.c \ 542 541 $(VBOX_PATH_CROGL_GENFILES)/packspu_beginend.c 543 VBoxOGLpackspu_LIBS = \544 $(VBOX_LIB_OGL_CRUTIL) \545 $(PATH_STAGE_LIB)/additions/VBoxOGLspuload$(VBOX_SUFF_LIB) \546 $(PATH_STAGE_LIB)/additions/VBoxOGLcrstate$(VBOX_SUFF_LIB) \547 $(PATH_STAGE_LIB)/additions/VBoxOGLcrpacker$(VBOX_SUFF_LIB)548 542 VBoxOGLpackspu_LIBS.win += \ 549 543 $(PATH_STAGE_LIB)/additions/VBoxDispMpLogger$(VBOX_SUFF_LIB) \ … … 570 564 VBoxOGLpackspu-x86_EXTENDS = VBoxOGLpackspu 571 565 VBoxOGLpackspu-x86_BLD_TRG_ARCH = x86 572 VBoxOGLpackspu-x86_LIBS = $(VBOX_LIB_OGL_CRUTIL_X86) \573 $(PATH_STAGE_LIB)/additions/VBoxOGLspuload-x86$(VBOX_SUFF_LIB) \574 $(PATH_STAGE_LIB)/additions/VBoxOGLcrstate-x86$(VBOX_SUFF_LIB) \575 $(PATH_STAGE_LIB)/additions/VBoxOGLcrpacker-x86$(VBOX_SUFF_LIB)576 566 VBoxOGLpackspu-x86_LIBS.win += \ 577 567 $(PATH_STAGE_LIB)/additions/VBoxDispMpLogger-x86$(VBOX_SUFF_LIB) \ … … 607 597 # VBoxOGLfeedbackspu 608 598 # 609 VBoxOGLfeedbackspu_TEMPLATE = VBOXCROGLR3GUEST DLL599 VBoxOGLfeedbackspu_TEMPLATE = VBOXCROGLR3GUESTLIB 610 600 VBoxOGLfeedbackspu_INCS = \ 611 601 feedback \ … … 614 604 VBoxOGLfeedbackspu_INCS += \ 615 605 $(VBOX_GL_INCS) 616 endif617 if defined(VBOX_SIGNING_MODE) && defined(VBOX_WITH_WDDM)618 VBoxOGLfeedbackspu_INSTTYPE.win = none619 VBoxOGLfeedbackspu_DEBUG_INSTTYPE.win = both620 606 endif 621 607 VBoxOGLfeedbackspu_INTERMEDIATES = \ … … 627 613 $(VBOX_PATH_CROGL_GENFILES)/feedbackspu.c \ 628 614 $(VBOX_PATH_CROGL_GENFILES)/feedbackspu_state.c 629 VBoxOGLfeedbackspu_SOURCES.win = \630 feedback/feedback.def \631 feedback/feedbackspu.rc632 615 VBoxOGLfeedbackspu_CLEAN = \ 633 616 $(VBOX_PATH_CROGL_GENFILES)/feedbackspu_proto.h \ … … 635 618 $(VBOX_PATH_CROGL_GENFILES)/feedbackspu_state.c 636 619 VBoxOGLfeedbackspu_LIBS = \ 637 $(VBOX_LIB_OGL_CRUTIL) \638 $(PATH_STAGE_LIB)/additions/VBoxOGLspuload$(VBOX_SUFF_LIB) \639 620 $(PATH_STAGE_LIB)/additions/VBoxOGLcrstate$(VBOX_SUFF_LIB) 640 621 ifdef VBOX_WITH_CRHGSMI … … 651 632 VBoxOGLfeedbackspu-x86_EXTENDS = VBoxOGLfeedbackspu 652 633 VBoxOGLfeedbackspu-x86_BLD_TRG_ARCH = x86 653 VBoxOGLfeedbackspu-x86_LIBS = $(VBOX_LIB_OGL_CRUTIL_X86) \654 $(PATH_STAGE_LIB)/additions/VBoxOGLspuload-x86$(VBOX_SUFF_LIB) \655 $(PATH_STAGE_LIB)/additions/VBoxOGLcrstate-x86$(VBOX_SUFF_LIB)656 634 VBoxOGLfeedbackspu-x86_DEFS = $(VBoxOGLfeedbackspu_DEFS) VBOX_WDDM_WOW64 657 635 endif -
trunk/src/VBox/Additions/common/crOpenGL/feedback/feedbackspu_init.c
r78375 r78408 67 67 } 68 68 69 int SPULoad( char **name, char **super, SPUInitFuncPtr *init, 70 SPUSelfDispatchFuncPtr *self, SPUCleanupFuncPtr *cleanup, 71 int *flags ) 69 DECLHIDDEN(const SPUREG) g_FeedbackSpuReg = 72 70 { 73 *name = "feedback"; 74 *super = "passthrough"; 75 *init = feedbackSPUInit; 76 *self = feedbackSPUSelfDispatch; 77 *cleanup = feedbackSPUCleanup; 78 *flags = (SPU_NO_PACKER|SPU_NOT_TERMINAL|SPU_MAX_SERVERS_ZERO); 79 80 return 1; 81 } 71 /** pszName. */ 72 "feedback", 73 /** pszSuperName. */ 74 "passthrough", 75 /** fFlags. */ 76 SPU_NO_PACKER | SPU_NOT_TERMINAL | SPU_MAX_SERVERS_ZERO, 77 /** pfnInit. */ 78 feedbackSPUInit, 79 /** pfnDispatch. */ 80 feedbackSPUSelfDispatch, 81 /** pfnCleanup. */ 82 feedbackSPUCleanup 83 }; -
trunk/src/VBox/Additions/common/crOpenGL/load.c
r78341 r78408 27 27 # include <unistd.h> 28 28 #endif 29 30 #include "VBox/VBoxGuestLib.h" 29 31 30 32 #ifdef VBOX_WITH_WDDM … … 782 784 783 785 char response[1024]; 784 char **spuchain; 785 int num_spus; 786 int *spu_ids; 787 char **spu_names; 786 int aSpuIds[] = {0, 1}; 787 const char *apszSpuNames[] = {"feedback", "pack"}; 788 PCSPUREG apSpuReg[] = { &g_ErrorSpuReg, &g_FeedbackSpuReg, &g_PassthroughSpuReg,&g_PackSpuReg}; 788 789 const char *app_id; 789 int i;790 790 int disable_sync = 0; 791 791 #if defined(WINDOWS) && defined(VBOX_WITH_WDDM) … … 840 840 } 841 841 #endif 842 843 strcpy(response, "2 0 feedback 1 pack");844 spuchain = crStrSplit( response, " " );845 num_spus = crStrToInt( spuchain[0] );846 spu_ids = (int *) crAlloc( num_spus * sizeof( *spu_ids ) );847 spu_names = (char **) crAlloc( num_spus * sizeof( *spu_names ) );848 for (i = 0 ; i < num_spus ; i++)849 {850 spu_ids[i] = crStrToInt( spuchain[2*i+1] );851 spu_names[i] = crStrdup( spuchain[2*i+2] );852 crDebug( "SPU %d/%d: (%d) \"%s\"", i+1, num_spus, spu_ids[i], spu_names[i] );853 }854 842 855 843 stubSetDefaultConfigurationOptions(); … … 876 864 #endif 877 865 878 stub.spu = crSPULoadChain( num_spus, spu_ids, spu_names, stub.spu_dir, NULL ); 879 880 crFree( spuchain ); 881 crFree( spu_ids ); 882 for (i = 0; i < num_spus; ++i) 883 crFree(spu_names[i]); 884 crFree( spu_names ); 866 stub.spu = crSPUInitChainFromReg(RT_ELEMENTS(aSpuIds), &aSpuIds[0], &apszSpuNames[0], NULL, &apSpuReg[0]); 885 867 886 868 // spu chain load failed somewhere … … 1182 1164 GetModuleFileNameA(hDLLInst, aName, RT_ELEMENTS(aName)); 1183 1165 crDbgCmdSymLoadPrint(aName, hDLLInst); 1184 1185 hCrUtil = GetModuleHandleA("VBoxOGLcrutil.dll"); 1186 Assert(hCrUtil);1187 crDbgCmdSymLoadPrint("VBoxOGLcrutil.dll", hCrUtil);1188 #endif 1166 #endif 1167 1168 int rc = RTR3InitDll(RTR3INIT_FLAGS_UNOBTRUSIVE); CRASSERT(rc==0); 1169 rc = VbglR3Init(); 1170 1189 1171 crInitTSD(&g_stubCurrentContextTSD); 1190 1172 crInitMutex(&stub_init_mutex); … … 1335 1317 vboxVDbgVEHandlerUnregister(); 1336 1318 #endif 1319 VbglR3Term(); 1337 1320 break; 1338 1321 } -
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_init.c
r78375 r78408 57 57 (void) self; 58 58 59 #if !defined(WINDOWS)60 59 crInitMutex(&_PackMutex); 61 #endif62 60 63 61 crInitTSD(&_PackerTSD); … … 122 120 crFreeTSD(&_PackTSD); 123 121 crUnlockMutex(&_PackMutex); 124 #ifndef WINDOWS125 122 crFreeMutex(&_PackMutex); 126 #endif 123 crNetTearDown(); /** @todo Why here? */ 127 124 return 1; 128 125 } 129 126 130 int SPULoad( char **name, char **super, SPUInitFuncPtr *init, 131 SPUSelfDispatchFuncPtr *self, SPUCleanupFuncPtr *cleanup, 132 int *flags ) 133 { 134 *name = "pack"; 135 *super = NULL; 136 *init = packSPUInit; 137 *self = packSPUSelfDispatch; 138 *cleanup = packSPUCleanup; 139 *flags = (SPU_HAS_PACKER|SPU_IS_TERMINAL|SPU_MAX_SERVERS_ONE); 140 141 return 1; 142 } 127 DECLHIDDEN(const SPUREG) g_PackSpuReg = 128 { 129 /** pszName. */ 130 "pack", 131 /** pszSuperName. */ 132 NULL, 133 /** fFlags. */ 134 SPU_HAS_PACKER | SPU_IS_TERMINAL | SPU_MAX_SERVERS_ONE, 135 /** pfnInit. */ 136 packSPUInit, 137 /** pfnDispatch. */ 138 packSPUSelfDispatch, 139 /** pfnCleanup. */ 140 packSPUCleanup 141 }; -
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_misc.c
r78375 r78408 704 704 } 705 705 706 #ifdef WINDOWS707 #define WIN32_LEAN_AND_MEAN708 #include <windows.h>709 BOOL WINAPI DllMain(HINSTANCE hDLLInst, DWORD fdwReason, LPVOID lpvReserved)710 {711 (void) lpvReserved;712 713 switch (fdwReason)714 {715 case DLL_PROCESS_ATTACH:716 {717 crInitMutex(&_PackMutex);718 break;719 }720 721 case DLL_PROCESS_DETACH:722 {723 crFreeMutex(&_PackMutex);724 crNetTearDown();725 break;726 }727 728 case DLL_THREAD_ATTACH:729 case DLL_THREAD_DETACH:730 default:731 break;732 }733 734 return TRUE;735 }736 #endif737 738 706 void PACKSPU_APIENTRY packspu_VBoxPresentComposition(GLint win, const struct VBOXVR_SCR_COMPOSITOR * pCompositor, 739 707 const struct VBOXVR_SCR_COMPOSITOR_ENTRY *pChangedEntry) -
trunk/src/VBox/Additions/common/crOpenGL/passthrough/passthroughspu_init.c
r78190 r78408 45 45 46 46 47 int SPULoad( char **name, char **super, SPUInitFuncPtr *init, 48 SPUSelfDispatchFuncPtr *self, SPUCleanupFuncPtr *cleanup, 49 int *flags ) 47 DECLHIDDEN(const SPUREG) g_PassthroughSpuReg = 50 48 { 51 *name = "passthrough"; 52 *super = NULL; 53 *init = passthroughSPUInit; 54 *self = passthroughSPUSelfDispatch; 55 *cleanup = passthroughSPUCleanup; 56 *flags = (SPU_NO_PACKER|SPU_NOT_TERMINAL|SPU_MAX_SERVERS_ZERO); 57 58 return 1; 59 } 49 /** pszName. */ 50 "passthrough", 51 /** pszSuperName. */ 52 NULL, 53 /** fFlags. */ 54 SPU_NO_PACKER | SPU_NOT_TERMINAL | SPU_MAX_SERVERS_ZERO, 55 /** pfnInit. */ 56 passthroughSPUInit, 57 /** pfnDispatch. */ 58 passthroughSPUSelfDispatch, 59 /** pfnCleanup. */ 60 passthroughSPUCleanup 61 }; -
trunk/src/VBox/Additions/freebsd/Makefile.kmk
r78340 r78408 68 68 vboxvideo_drv_16.so \ 69 69 vboxvideo_drv_17.so \ 70 VBoxOGLcrutil.so \71 VBoxOGLerrorspu.so \72 VBoxOGLfeedbackspu.so \73 VBoxOGLpackspu.so \74 VBoxOGLpassthroughspu.so \75 70 VBoxOGL.so 76 71 -
trunk/src/VBox/Additions/linux/Makefile.kmk
r78340 r78408 125 125 ifdef VBOX_WITH_CROGL 126 126 VBOX_LNX_ADD_STRIP_LIB += \ 127 VBoxOGLcrutil.so \128 VBoxOGLerrorspu.so \129 VBoxOGLfeedbackspu.so \130 VBoxOGLpackspu.so \131 VBoxOGLpassthroughspu.so \132 127 VBoxOGL.so \ 133 128 VBoxEGL.so -
trunk/src/VBox/Additions/solaris/Makefile.kmk
r78340 r78408 170 170 171 171 SOLARIS_ADD_SYSLIBS = \ 172 VBoxOGL.so \ 173 VBoxOGLcrutil.so \ 174 VBoxOGLfeedbackspu.so \ 175 VBoxOGLpassthroughspu.so \ 176 VBoxOGLerrorspu.so \ 177 VBoxOGLpackspu.so 172 VBoxOGL.so 178 173 179 174 SOLARIS_ADD_DRIVERS = \ -
trunk/src/VBox/GuestHost/OpenGL/Makefile.kmk
r78190 r78408 34 34 35 35 ifdef VBOX_WITH_CROGL_ADDITIONS 36 DLLS += VBoxOGLcrutil VBoxOGLerrorspu 37 LIBRARIES += VBoxOGLcrpacker VBoxOGLspuload VBoxOGLcrstate 36 LIBRARIES += VBoxOGLcrpacker VBoxOGLspuload VBoxOGLcrstate VBoxOGLcrutil VBoxOGLerrorspu 38 37 endif 39 38 40 39 ifndef VBOX_ONLY_ADDITIONS 41 DLLS += VBoxOGLhostcrutil VBoxOGLhosterrorspu 42 LIBRARIES += VBoxOGLhostcrpacker VBoxOGLhostspuload VBoxOGLhostcrstate 40 LIBRARIES += VBoxOGLhostcrpacker VBoxOGLhostspuload VBoxOGLhostcrstate VBoxOGLhostcrutil VBoxOGLhosterrorspu 43 41 endif 44 42 … … 46 44 # VBoxOGLcrutil 47 45 # 48 VBoxOGLcrutil_TEMPLATE = VBOXCROGLR3GUEST DLL46 VBoxOGLcrutil_TEMPLATE = VBOXCROGLR3GUESTLIB 49 47 if defined(VBOX_SIGNING_MODE) && defined(VBOX_WITH_WDDM) 50 48 VBoxOGLcrutil_INSTTYPE.win = none … … 77 75 util/bmpscale.cpp \ 78 76 util/vboxhgcm.c 79 VBoxOGLcrutil_SOURCES.win = \80 util/VBoxOGLcrutil.rc81 VBoxOGLcrutil_SOURCES.win.x86 = \82 util/util.def83 77 VBoxOGLcrutil_LIBS.win = \ 84 78 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \ … … 120 114 # VBoxOGLcrutil-x86 - x86 VBoxOGLcrutil version built for amd64 build 121 115 # 122 DLLS.win.amd64 += VBoxOGLcrutil-x86123 VBoxOGLcrutil-x86_TEMPLATE = VBOXCROGLR3GUEST DLL116 LIBRARIES.win.amd64 += VBoxOGLcrutil-x86 117 VBoxOGLcrutil-x86_TEMPLATE = VBOXCROGLR3GUESTLIB 124 118 VBoxOGLcrutil-x86_EXTENDS = VBoxOGLcrutil 125 119 VBoxOGLcrutil-x86_BLD_TRG_ARCH = x86 … … 150 144 # 151 145 VBoxOGLhostcrutil_EXTENDS = VBoxOGLcrutil 152 VBoxOGLhostcrutil_TEMPLATE = VBOXCROGLR3HOST DLL146 VBoxOGLhostcrutil_TEMPLATE = VBOXCROGLR3HOSTLIB 153 147 if defined(VBOX_SIGNING_MODE) && defined(VBOX_WITH_WDDM) 154 148 VBoxOGLhostcrutil_INSTTYPE.win = both … … 157 151 VBoxOGLhostcrutil_LDFLAGS = $(NO_SUCH_VARIABLE) 158 152 endif 159 VBoxOGLhostcrutil_LDFLAGS.darwin = $(VBoxOGLcrutil_LDFLAGS.darwin) \160 -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxOGLhostcrutil.dylib161 153 VBoxOGLhostcrutil_LIBS.win = \ 162 154 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \ … … 470 462 ifdef VBOX_WITH_CRDUMPER 471 463 VBoxOGLcrstate_DEFS += VBOX_WITH_CRDUMPER 472 #VBoxOGLcrutil_LIBS += \473 $(PATH_STAGE_LIB)/additions/VBoxOGLcrstate$(VBOX_SUFF_LIB) \474 $(PATH_STAGE_LIB)/additions/VBoxOGLspuload$(VBOX_SUFF_LIB)475 464 endif 476 465 … … 567 556 # and glu.h intermediate files on darwin. 568 557 # 569 VBoxOGLerrorspu_TEMPLATE = VBOXCROGLR3GUESTDLL 570 if defined(VBOX_SIGNING_MODE) && defined(VBOX_WITH_WDDM) 571 VBoxOGLerrorspu_INSTTYPE.win = none 572 VBoxOGLerrorspu_DEBUG_INSTTYPE.win = both 573 endif 558 VBoxOGLerrorspu_TEMPLATE = VBOXCROGLR3GUESTLIB 574 559 VBoxOGLerrorspu_INTERMEDIATES = \ 575 560 $(VBOX_PATH_CROGL_GENFILES)/spu_dispatch_table.h … … 583 568 $(VBOX_PATH_CROGL_GENFILES)/errorspu.c \ 584 569 error/errorspu_init.c 585 VBoxOGLerrorspu_SOURCES.win = \586 error/VBoxOGLerrorspu.rc587 VBoxOGLerrorspu_SOURCES.win.x86 = \588 error/error.def589 570 VBoxOGLerrorspu_CLEAN = \ 590 571 $(VBOX_PATH_CROGL_GENFILES)/errorspu.c … … 603 584 # VBoxOGLerrorspu-x86 - x86 VBoxOGLerrorspu version built for amd64 build 604 585 # 605 DLLS.win.amd64 += VBoxOGLerrorspu-x86606 VBoxOGLerrorspu-x86_TEMPLATE = VBOXCROGLR3GUEST DLL586 LIBRARIES.win.amd64 += VBoxOGLerrorspu-x86 587 VBoxOGLerrorspu-x86_TEMPLATE = VBOXCROGLR3GUESTLIB 607 588 VBoxOGLerrorspu-x86_EXTENDS = VBoxOGLerrorspu 608 589 VBoxOGLerrorspu-x86_BLD_TRG_ARCH = x86 … … 616 597 # 617 598 VBoxOGLhosterrorspu_EXTENDS = VBoxOGLerrorspu 618 VBoxOGLhosterrorspu_TEMPLATE = VBOXCROGLR3HOST DLL599 VBoxOGLhosterrorspu_TEMPLATE = VBOXCROGLR3HOSTLIB 619 600 if defined(VBOX_SIGNING_MODE) && defined(VBOX_WITH_WDDM) 620 601 VBoxOGLhosterrorspu_INSTTYPE.win = both 621 602 endif 622 VBoxOGLhosterrorspu_LDFLAGS.darwin += $(VBoxOGLerrorspu_LDFLAGS.darwin) \623 -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxOGLhosterrorspu.dylib624 VBoxOGLhosterrorspu_LIBS = \625 $(VBOX_LIB_OGL_HOSTCRUTIL) \626 $(LIB_RUNTIME)627 603 628 604 # -
trunk/src/VBox/GuestHost/OpenGL/error/errorspu_init.c
r78190 r78408 39 39 40 40 41 int SPULoad( char **name, char **super, SPUInitFuncPtr *init, 42 SPUSelfDispatchFuncPtr *self, SPUCleanupFuncPtr *cleanup, 43 int *flags ) 41 DECLHIDDEN(const SPUREG) g_ErrorSpuReg = 44 42 { 43 /** pszName. */ 45 44 #ifdef IN_GUEST 46 *name = "error";45 "error", 47 46 #else 48 *name = "hosterror";47 "hosterror", 49 48 #endif 50 *super = NULL; 51 *init = errorSPUInit; 52 *self = errorSPUSelfDispatch; 53 *cleanup = errorSPUCleanup; 54 *flags = (SPU_NO_PACKER|SPU_NOT_TERMINAL|SPU_MAX_SERVERS_ZERO); 55 56 return 1; 57 } 49 /** pszSuperName. */ 50 NULL, 51 /** fFlags. */ 52 SPU_NO_PACKER | SPU_NOT_TERMINAL | SPU_MAX_SERVERS_ZERO, 53 /** pfnInit. */ 54 errorSPUInit, 55 /** pfnDispatch. */ 56 errorSPUSelfDispatch, 57 /** pfnCleanup. */ 58 errorSPUCleanup 59 }; -
trunk/src/VBox/GuestHost/OpenGL/include/cr_spu.h
r78263 r78408 76 76 #define SPU_MAX_SERVERS_UNLIMITED 0x8 77 77 78 /** 79 * SPU registration restructure. 80 */ 81 typedef struct SPUREG 82 { 83 /** SPU name. */ 84 const char *pszName; 85 /** Name of the SPU super class. */ 86 const char *pszSuperName; 87 /** SPU flags. */ 88 uint32_t fFlags; 89 /** Init function. */ 90 SPUInitFuncPtr pfnInit; 91 /** Dispatch function. */ 92 SPUSelfDispatchFuncPtr pfnDispatch; 93 /** Cleanup function. */ 94 SPUCleanupFuncPtr pfnCleanup; 95 } SPUREG; 96 /** Pointer to a SPU registration structure. */ 97 typedef SPUREG *PSPUREG; 98 /** Pointer to a const SPU registration structure. */ 99 typedef const SPUREG *PCSPUREG; 78 100 79 101 /** … … 346 368 DECLEXPORT(void) crSPUUnloadChain(SPU *headSPU); 347 369 370 DECLEXPORT(SPU *) crSPUInitFromReg(SPU *pSpuChild, int iId, const char *pszName, void *pvServer, PCSPUREG *papSpuReg); 371 DECLEXPORT(SPU *) crSPUInitChainFromReg(int cSpus, int *paIds, const char * const *papszNames, void *server, PCSPUREG *papSpuReg); 372 348 373 DECLEXPORT(void) crSPUInitDispatchTable( SPUDispatchTable *table ); 349 374 DECLEXPORT(void) crSPUCopyDispatchTable( SPUDispatchTable *dst, SPUDispatchTable *src ); … … 378 403 #endif 379 404 405 extern DECLHIDDEN(const SPUREG) g_ErrorSpuReg; 406 #ifdef IN_GUEST 407 extern DECLHIDDEN(const SPUREG) g_FeedbackSpuReg; 408 extern DECLHIDDEN(const SPUREG) g_PassthroughSpuReg; 409 extern DECLHIDDEN(const SPUREG) g_PackSpuReg; 410 #else 411 extern DECLHIDDEN(const SPUREG) g_RenderSpuReg; 412 #endif 413 380 414 #ifdef __cplusplus 381 415 } -
trunk/src/VBox/GuestHost/OpenGL/include/cr_threads.h
r69474 r78408 110 110 #define VBoxTlsRefSetImpl(_tls, _val) (crSetTSD((CRtsd*)(_tls), (_val))) 111 111 #define VBoxTlsRefAssertImpl CRASSERT 112 #include <VBox Video3D.h>112 #include <VBox/Graphics/VBoxVideo3D.h> 113 113 114 114 #ifdef __cplusplus -
trunk/src/VBox/GuestHost/OpenGL/spu_loader/spuload.c
r78190 r78408 220 220 221 221 222 /** 223 * Returns the SPU registration record for the given name. 224 * 225 * @returns Pointer to the SPU registration record on success or NULL if not found. 226 * @param pszName The name to look for. 227 * @param papSpuReg Pointer to the NULL terminated array of builtin SPU registration record pointers. 228 */ 229 PCSPUREG crSPUGetRegFromName(const char *pszName, PCSPUREG *papSpuReg) 230 { 231 while (*papSpuReg) 232 { 233 if (!RTStrCmp(pszName, (*papSpuReg)->pszName)) 234 return *papSpuReg; 235 papSpuReg++; 236 } 237 238 return NULL; 239 } 240 241 242 /** 243 * Creates a SPU chain from the given SPU registration structure (VBox only). 244 * 245 * @returns Pointer to the SPU head in the chain on success. 246 * @param pSpuChild Pointer to the child SPU if any. 247 * @param iId ID to assign to the head SPU. 248 * @param pszName Name of the SPU to initialize. 249 * @param pvServer The server owning the SPU chain. 250 * @param papSpuReg Pointer to the NULL terminated array of builtin SPU registration record pointers. 251 */ 252 SPU * crSPUInitFromReg(SPU *pSpuChild, int iId, const char *pszName, void *pvServer, PCSPUREG *papSpuReg) 253 { 254 SPU *pSpu; 255 bool fNeedSuperSPU = false; 256 PCSPUREG pSpuReg = crSPUGetRegFromName(pszName, papSpuReg); 257 AssertPtrReturn(pSpuReg, NULL); 258 259 pSpu = (SPU*)crAlloc(sizeof(*pSpu)); 260 crMemset(pSpu, 0, sizeof (*pSpu)); 261 pSpu->id = iId; 262 pSpu->privatePtr = NULL; 263 264 /* Init the SPU structure from the SPU registration record. */ 265 pSpu->name = (char *)pSpuReg->pszName; 266 pSpu->super_name = (char *)pSpuReg->pszSuperName; 267 pSpu->init = pSpuReg->pfnInit; 268 pSpu->self = pSpuReg->pfnDispatch; 269 pSpu->cleanup = pSpuReg->pfnCleanup; 270 pSpu->spu_flags = pSpuReg->fFlags; 271 272 #ifdef IN_GUEST 273 if (crStrcmp(pSpu->name,"error")) 274 { 275 /* the default super/base class for an SPU is the error SPU */ 276 if (pSpu->super_name == NULL) 277 pSpu->super_name = "error"; 278 279 pSpu->superSPU = crSPUInitFromReg(pSpuChild, iId, pSpu->super_name, pvServer, papSpuReg); 280 fNeedSuperSPU = true; 281 } 282 #else 283 if (crStrcmp(pSpu->name,"hosterror")) 284 { 285 /* the default super/base class for an SPU is the error SPU */ 286 if (pSpu->super_name == NULL) 287 pSpu->super_name = "hosterror"; 288 289 pSpu->superSPU = crSPUInitFromReg(pSpuChild, iId, pSpu->super_name, pvServer, papSpuReg); 290 fNeedSuperSPU = true; 291 } 292 #endif 293 else 294 pSpu->superSPU = NULL; 295 296 if (fNeedSuperSPU && !pSpu->superSPU) 297 { 298 crError( "Unable to load super SPU \"%s\" of \"%s\"!", pSpu->super_name, pSpuReg->pszName); 299 crSPUUnloadChain(pSpu); 300 return NULL; 301 } 302 crDebug("Initializing %s SPU", pSpuReg->pszName); 303 pSpu->function_table = pSpu->init(iId, pSpuChild, pSpu, 0, 1); 304 if (!pSpu->function_table) { 305 crDebug("Failed to init %s SPU", pSpuReg->pszName); 306 crSPUUnloadChain(pSpu); 307 return NULL; 308 } 309 __buildDispatch( pSpu ); 310 /*crDebug( "initializing dispatch table %p (for SPU %s)", (void*)&(pSpu->dispatch_table), name );*/ 311 crSPUInitDispatchTable( &(pSpu->dispatch_table) ); 312 /*crDebug( "Done initializing the dispatch table for SPU %s, calling the self function", name );*/ 313 314 pSpu->dispatch_table.server = pvServer; 315 pSpu->self( &(pSpu->dispatch_table) ); 316 /*crDebug( "Done with the self function" );*/ 317 318 return pSpu; 319 } 320 321 322 /** 323 * Initializes a give nchain of SPUs from the builtin SPU registration descriptors (VBox only). 324 * 325 * @returns Pointer to the Head SPU on success or NULL on failure. 326 * @param cSpus The number of SPUs to initialize. 327 * @param paIds Pointer to the array of IDs. 328 * @param papszNames Pointer to the array of SPU names to initalize. 329 * @param pvServer The server owning the SPU chain. 330 * @param papSpuReg Pointer to the NULL terminated array of builtin SPU registration record pointers. 331 */ 332 SPU *crSPUInitChainFromReg(int cSpus, int *paIds, const char * const *papszNames, void *pvServer, PCSPUREG *papSpuReg) 333 { 334 int i = 0; 335 SPU *pSpuChild = NULL; 336 CRASSERT( cSpus > 0 ); 337 338 for (i = cSpus - 1; i >= 0; i--) 339 { 340 int idSpu = paIds[i]; 341 const char *pszSpuName = papszNames[i]; 342 343 /* 344 * This call passes the previous version of spu, which is the SPU's 345 * "child" in this chain. 346 */ 347 SPU *pSpu = crSPUInitFromReg( pSpuChild, idSpu, pszSpuName, pvServer, papSpuReg); 348 if (!pSpu) 349 return NULL; /** @todo Proper rollback. */ 350 351 if (pSpuChild != NULL) 352 { 353 SPU *pTmp; 354 355 /* keep track of this so that people can pass functions through but 356 * still get updated when API's change on the fly. */ 357 for (pTmp = pSpu ; pTmp ; pTmp = pTmp->superSPU ) 358 { 359 struct _copy_list_node *node = (struct _copy_list_node *) crAlloc( sizeof( *node ) ); 360 node->copy = &(pTmp->dispatch_table); 361 node->next = pSpuChild->dispatch_table.copyList; 362 pSpuChild->dispatch_table.copyList = node; 363 } 364 } 365 pSpuChild = pSpu; 366 } 367 368 return pSpuChild; 369 } 370 371 222 372 #if 00 223 373 /* XXXX experimental code - not used at this time */ … … 282 432 283 433 next_spu = the_spu->superSPU; 284 crDLLClose(the_spu->dll); 434 if (the_spu->dll != NULL) 435 crDLLClose(the_spu->dll); 285 436 crFree(the_spu); 286 437 the_spu = next_spu; -
trunk/src/VBox/GuestHost/OpenGL/util/error.c
r78190 r78408 31 31 #ifdef RT_OS_WINDOWS 32 32 # include <iprt/win/windows.h> 33 # include "cr_error.h"34 # include "VBox/VBoxGuestLib.h"35 # include "iprt/initterm.h"36 #else37 # include "cr_error.h"38 33 #endif 34 #include "cr_error.h" 39 35 40 36 #include <signal.h> … … 179 175 } 180 176 } 181 182 #if defined(RT_OS_WINDOWS)183 BOOL WINAPI DllMain(HINSTANCE hDLLInst, DWORD fdwReason, LPVOID lpvReserved)184 {185 (void) lpvReserved; (void) hDLLInst;186 187 switch (fdwReason)188 {189 case DLL_PROCESS_ATTACH:190 {191 int rc;192 rc = RTR3InitDll(RTR3INIT_FLAGS_UNOBTRUSIVE); CRASSERT(rc==0);193 # ifdef IN_GUEST194 rc = VbglR3Init();195 # endif196 LogRel(("crUtil DLL loaded.\n"));197 # if defined(DEBUG_misha)198 char aName[MAX_PATH];199 GetModuleFileNameA(hDLLInst, aName, RT_ELEMENTS(aName));200 crDbgCmdSymLoadPrint(aName, hDLLInst);201 # endif202 break;203 }204 205 case DLL_PROCESS_DETACH:206 {207 LogRel(("crUtil DLL unloaded."));208 # ifdef IN_GUEST209 VbglR3Term();210 # endif211 }212 213 default:214 break;215 }216 217 return TRUE;218 }219 #endif220 -
trunk/src/VBox/HostServices/SharedOpenGL/Makefile.kmk
r78192 r78408 24 24 # 25 25 ifdef VBOX_WITH_MAIN 26 DLLS += VBoxSharedCrOpenGL VBoxOGLrenderspu27 LIBRARIES += VBoxOGLcrserverlib VBoxOGLcrunpacker 26 DLLS += VBoxSharedCrOpenGL 27 LIBRARIES += VBoxOGLcrserverlib VBoxOGLcrunpacker VBoxOGLrenderspu 28 28 BLDDIRS += \ 29 29 $(VBOX_PATH_CROGL_GENFILES)/ … … 72 72 $(PATH_STAGE_LIB)/VBoxOGLhostcrpacker$(VBOX_SUFF_LIB) \ 73 73 $(PATH_STAGE_LIB)/VBoxOGLhostspuload$(VBOX_SUFF_LIB) \ 74 $(VBOX_LIB_OGL_HOSTCRUTIL) \ 74 $(PATH_STAGE_LIB)/VBoxOGLhostcrutil$(VBOX_SUFF_LIB) \ 75 $(PATH_STAGE_LIB)/VBoxOGLhostspuload$(VBOX_SUFF_LIB) \ 76 $(PATH_STAGE_LIB)/VBoxOGLrenderspu$(VBOX_SUFF_LIB) \ 77 $(PATH_STAGE_LIB)/VBoxOGLhosterrorspu$(VBOX_SUFF_LIB) \ 75 78 $(PATH_STAGE_LIB)/VBoxCOM$(VBOX_SUFF_LIB) \ 76 79 $(LIB_RUNTIME) \ … … 78 81 VBoxSharedCrOpenGL_LIBS.darwin = \ 79 82 $(LIB_REM) 80 ifeq ($(KBUILD_TARGET),win)81 VBoxSharedCrOpenGL_LIBS += \82 $(PATH_OBJ)/VBoxOGLrenderspu/VBoxOGLrenderspu$(VBOX_SUFF_LIB)83 else84 VBoxSharedCrOpenGL_LIBS += \85 $(PATH_STAGE_BIN)/VBoxOGLrenderspu$(VBOX_SUFF_DLL)86 endif87 83 ifdef VBOX_WITH_XPCOM 88 84 VBoxSharedCrOpenGL_LIBS += \ … … 260 256 # VBoxOGLrenderspu 261 257 # 262 VBoxOGLrenderspu_TEMPLATE = VBOXCROGLR3HOST DLL258 VBoxOGLrenderspu_TEMPLATE = VBOXCROGLR3HOSTLIB 263 259 VBoxOGLrenderspu_INTERMEDIATES = \ 264 260 $(VBOX_PATH_CROGL_GENFILES)/state/cr_currentpointers.h \ … … 270 266 render/renderspu_init.c 271 267 VBoxOGLrenderspu_SOURCES.win = \ 272 render/renderspu_wgl.c \ 273 render/render.def \ 274 render/VBoxOGLrenderspu.rc 268 render/renderspu_wgl.c 275 269 VBoxOGLrenderspu_SOURCES.linux = render/renderspu_glx.c 276 270 VBoxOGLrenderspu_SOURCES.solaris = render/renderspu_glx.c … … 287 281 VBoxOGLrenderspu_DEFS += VBOX_WITH_VDMA 288 282 endif 289 VBoxOGLrenderspu_LDFLAGS.darwin += -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxOGLrenderspu.dylib -framework IOKit290 VBoxOGLrenderspu_LIBS = \291 $(PATH_STAGE_LIB)/VBoxOGLhostspuload$(VBOX_SUFF_LIB) \292 $(VBOX_LIB_OGL_HOSTCRUTIL) \293 $(LIB_RUNTIME)294 283 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # the X11 gang 295 284 VBoxOGLrenderspu_LIBS += \ … … 321 310 PROGRAMS += VBoxTestOGL 322 311 VBoxTestOGL_TEMPLATE = $(if $(VBOX_WITH_VIDEOHWACCEL),$(if $(VBOX_WITH_HARDENING),VBOXQTGUI,VBOXQTGUIEXE),VBOXMAINEXE) 312 VBoxTestOGL_INCS += $(VBOX_PATH_CROGL_INCLUDE) $(VBOX_PATH_CROGL_GENFILES) 313 VBoxTestOGL_DEFS.win = _WIN32_WINNT=0x0500 WINDOWS=1 314 VBoxTestOGL_DEFS.linux = Linux=1 _GNU_SOURCE 315 VBoxTestOGL_DEFS.solaris = SunOS=1 _GNU_SOURCE #GLEXT_64_TYPES_DEFINED 316 VBoxTestOGL_DEFS.darwin = DARWIN=1 GL_GLEXT_LEGACY _GNU_SOURCE 317 VBoxTestOGL_DEFS.freebsd = FreeBSD=1 _GNU_SOURCE 323 318 VBoxTestOGL_SOURCES = OpenGLTest/OpenGLTestApp.cpp 324 319 VBoxTestOGL_SOURCES.win = OpenGLTest/VBoxTestOGL.rc … … 326 321 $(if $(VBOX_WITH_CROGL), \ 327 322 $(PATH_STAGE_LIB)/VBoxOGLhostspuload$(VBOX_SUFF_LIB) \ 328 $(VBOX_LIB_OGL_HOSTCRUTIL),) \ 323 $(PATH_STAGE_LIB)/VBoxOGLhosterrorspu$(VBOX_SUFF_LIB) \ 324 $(PATH_STAGE_LIB)/VBoxOGLrenderspu$(VBOX_SUFF_LIB) \ 325 $(PATH_STAGE_LIB)/VBoxOGLhostcrutil$(VBOX_SUFF_LIB),) \ 329 326 $(if $(VBOX_WITH_VIDEOHWACCEL), $(PATH_STAGE_LIB)/VBoxOGL2D$(VBOX_SUFF_LIB),) \ 330 327 $(LIB_RUNTIME) -
trunk/src/VBox/HostServices/SharedOpenGL/OpenGLTest/OpenGLTestApp.cpp
r77557 r78408 51 51 #ifdef VBOX_WITH_CROGL 52 52 53 extern "C" 54 { 55 extern void * crSPULoad(void *, int, char *, char *, void *); 56 extern void crSPUUnloadChain(void *); 57 } 58 53 #include <cr_spu.h> 59 54 60 55 static int vboxCheck3DAccelerationSupported() 61 56 { 62 57 LogRel(("Testing 3D Support:\n")); 63 void *spu = crSPULoad(NULL, 0, (char*)"render", NULL, NULL); 58 PCSPUREG aSpuRegs[] = { &g_RenderSpuReg, &g_ErrorSpuReg, NULL}; 59 SPU *spu = crSPUInitFromReg(NULL, 0, "render", NULL, &aSpuRegs[0]); 64 60 if (spu) 65 61 { -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_config.cpp
r78190 r78408 99 99 { 100 100 CRMuralInfo *defaultMural; 101 102 int spu_ids[1] = {0};103 char *spu_names[1] = {"render"};104 char *spu_dir = NULL;105 101 int i; 106 102 GLint dims[4]; … … 114 110 setDefaults(); 115 111 116 /* Load the SPUs */ 117 cr_server.head_spu = crSPULoadChain(1, spu_ids, spu_names, spu_dir, &cr_server);118 112 /* Load the SPUs */ 113 PCSPUREG aSpuRegs[] = { &g_RenderSpuReg, &g_ErrorSpuReg, NULL}; 114 cr_server.head_spu = crSPUInitFromReg(NULL, 0, "render", &cr_server, &aSpuRegs[0]); 119 115 if (!cr_server.head_spu) 120 116 return; -
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu.h
r78341 r78408 411 411 extern "C" { 412 412 #endif 413 DECL EXPORT(void) renderspuSetWindowId(uint64_t winId);413 DECLHIDDEN(void) renderspuSetWindowId(uint64_t winId); 414 414 DECLEXPORT(void) renderspuReparentWindow(GLint window); 415 415 DECLEXPORT(void) renderspuSetUnscaledHiDPI(bool fEnable); -
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_init.c
r78341 r78408 498 498 499 499 500 int SPULoad( char **name, char **super, SPUInitFuncPtr *init, 501 SPUSelfDispatchFuncPtr *self, SPUCleanupFuncPtr *cleanup, 502 int *flags ) 503 { 504 *name = "render"; 505 *super = NULL; 506 *init = renderSPUInit; 507 *self = renderSPUSelfDispatch; 508 *cleanup = renderSPUCleanup; 509 *flags = (SPU_NO_PACKER|SPU_IS_TERMINAL|SPU_MAX_SERVERS_ZERO); 510 511 return 1; 512 } 513 514 DECLEXPORT(void) renderspuSetWindowId(uint64_t winId) 500 DECLHIDDEN(void) renderspuSetWindowId(uint64_t winId) 515 501 { 516 502 render_spu_parent_window_id = winId; 517 503 crDebug("Set new parent window %p (no actual reparent performed)", winId); 518 504 } 505 506 DECLHIDDEN(const SPUREG) g_RenderSpuReg = 507 { 508 /** pszName. */ 509 "render", 510 /** pszSuperName. */ 511 NULL, 512 /** fFlags. */ 513 SPU_NO_PACKER | SPU_IS_TERMINAL | SPU_MAX_SERVERS_ZERO, 514 /** pfnInit. */ 515 renderSPUInit, 516 /** pfnDispatch. */ 517 renderSPUSelfDispatch, 518 /** pfnCleanup. */ 519 renderSPUCleanup 520 }; -
trunk/src/VBox/Installer/darwin/Makefile.kmk
r77769 r78408 391 391 ifdef VBOX_WITH_CROGL 392 392 VBOX_DI_VBAPP_DYLIBS += \ 393 MacOS/VBoxOGLhostcrutil.dylib \394 MacOS/VBoxOGLhosterrorspu.dylib \395 MacOS/VBoxOGLrenderspu.dylib \396 393 MacOS/VBoxSharedCrOpenGL.dylib 397 398 ifdef VBOX_WITH_CR_DISPLAY_LISTS399 VBOX_DI_VBAPP_DYLIBS += \400 MacOS/VBoxOGLexpandospu.dylib401 endif402 394 endif 403 395 ifdef VBOX_WITH_DEBUGGER_GUI -
trunk/src/VBox/Installer/freebsd/Makefile.kmk
r76553 r78408 105 105 components/VBoxC.so,) \ 106 106 $(if $(VBOX_WITH_CROGL),\ 107 VBoxOGLhostcrutil.so \108 VBoxOGLhosterrorspu.so \109 VBoxOGLrenderspu.so \110 107 VBoxTestOGL \ 111 108 VBoxSharedCrOpenGL.so,) \ -
trunk/src/VBox/Installer/linux/Makefile.kmk
r76818 r78408 168 168 components/VBoxC.so,) \ 169 169 $(if $(VBOX_WITH_CROGL),\ 170 VBoxOGLhostcrutil.so \171 VBoxOGLhosterrorspu.so \172 VBoxOGLrenderspu.so \173 170 $(if $(VBOX_WITH_QTGUI),VBoxTestOGL,) \ 174 171 VBoxSharedCrOpenGL.so,) \ -
trunk/src/VBox/Installer/solaris/Makefile.kmk
r76818 r78408 336 336 $(if $(VBOX_WITH_DEBUGGER_GUI),VBoxDbg.so DbgPlugInDiggers.so,) \ 337 337 $(if $(VBOX_WITH_CROGL),\ 338 VBoxOGLhostcrutil.so \339 VBoxOGLhosterrorspu.so \340 VBoxOGLrenderspu.so \341 338 VBoxSharedCrOpenGL.so) \ 342 339 components/VBoxC.so \ -
trunk/src/VBox/Installer/win/VBoxMergeApp.wxi
r76818 r78408 409 409 <?if $(env.VBOX_WITH_CROGL) = "yes" ?> 410 410 <Component Id="cp_VBoxCROpenGL" Guid="874A1297-835A-491D-8A9D-7E723BC29EE7" Win64="$(var.Property_Win64)"> 411 <File Id="file_VBoxOGLhostcrutil.dll" Name="VBoxOGLhostcrutil.dll"412 Source="$(env.PATH_OUT)\bin\VBoxOGLhostcrutil.dll" />413 <File Id="file_VBoxOGLhosterrorspu.dll" Name="VBoxOGLhosterrorspu.dll"414 Source="$(env.PATH_OUT)\bin\VBoxOGLhosterrorspu.dll" />415 <File Id="file_VBoxOGLrenderspu.dll" Name="VBoxOGLrenderspu.dll"416 Source="$(env.PATH_OUT)\bin\VBoxOGLrenderspu.dll" />417 411 <File Id="file_VBoxSharedCrOpenGL.dll" Name="VBoxSharedCrOpenGL.dll" 418 412 Source="$(env.PATH_OUT)\bin\VBoxSharedCrOpenGL.dll" />
Note:
See TracChangeset
for help on using the changeset viewer.