Changeset 34987 in vbox
- Timestamp:
- Dec 13, 2010 10:41:08 AM (14 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/Makefile.kmk
r34848 r34987 72 72 VBoxDispD3D_NOINST = true 73 73 endif 74 VBoxDispD3D_NAME.amd64 = VBoxDispD3D6475 74 VBoxDispD3D_TEMPLATE = VBOXGUESTR3DLL 76 75 VBoxDispD3D_DEFS = UNICODE _UNICODE VBOX_WITH_WDDM VBOXWDDMDISP LOG_TO_BACKDOOR … … 93 92 VBoxDispD3D_DEFS += VBOXWDDM_TEST_UHGSMI 94 93 endif 95 VBoxDispD3D_SOURCES.x86 = \96 wddm/VBoxDispD3D.def97 VBoxDispD3D_SOURCES.amd64 = \98 wddm/VBoxDispD3D64.def99 94 VBoxDispD3D_SOURCES = \ 100 95 wddm/VBoxDispD3D.cpp \ … … 104 99 wddm/VBoxScreen.cpp \ 105 100 wddm/VBoxDispMpTst.cpp \ 106 wddm/VBoxDispD3D.rc 101 wddm/VBoxDispD3D.rc \ 102 wddm/VBoxDispD3D.def 107 103 #ifdef VBOX_WITH_CRHGSMI 108 104 #VBoxDispD3D_SOURCES += \ … … 123 119 DLLS.amd64 += VBoxDispD3D-x86 124 120 VBoxDispD3D-x86_EXTENDS = VBoxDispD3D 125 VBoxDispD3D-x86_NAME = VBoxDispD3D 121 VBoxDispD3D-x86_NAME = VBoxDispD3D32 126 122 VBoxDispD3D-x86_BLD_TRG_ARCH = x86 127 123 VBoxDispD3D-x86_LIBS = \ -
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.rc
r32394 r34987 38 38 VALUE "FileDescription", "VirtualBox Video Usermode D3D 64bit Driver\0" 39 39 VALUE "FileVersion", VBOX_VERSION_MAJOR "." VBOX_VERSION_MINOR "." VBOX_VERSION_BUILD "." VBOX_SVN_REV "\0" 40 VALUE "InternalName", "VBoxDispD3D 64\0"40 VALUE "InternalName", "VBoxDispD3D\0" 41 41 VALUE "LegalCopyright", VBOX_RC_LEGAL_COPYRIGHT 42 VALUE "OriginalFilename", "VBoxDispD3D 64.dll\0"42 VALUE "OriginalFilename", "VBoxDispD3D.dll\0" 43 43 VALUE "ProductName", VBOX_PRODUCT " Guest Additions\0" 44 44 VALUE "ProductVersion", VBOX_VERSION_MAJOR "." VBOX_VERSION_MINOR "." VBOX_VERSION_BUILD ".r" VBOX_SVN_REV "\0" -
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxUhgsmiKmt.cpp
r34894 r34987 583 583 memset(&DDev, 0, sizeof (DDev)); 584 584 DDev.cb = sizeof (DDev); 585 586 *phDc = NULL; 585 587 586 588 for (int i = 0; ; ++i) … … 623 625 { 624 626 D3DKMT_OPENADAPTERFROMHDC OpenAdapterData = {0}; 625 OpenAdapterData.hDc = GetWindowDC(NULL);626 627 HRESULT hr = vboxDispKmtAdpHdcCreate(&OpenAdapterData.hDc); 627 if (OpenAdapterData.hDc) 628 { 628 if (hr == S_OK) 629 { 630 Assert(OpenAdapterData.hDc); 629 631 NTSTATUS Status = pCallbacks->pfnD3DKMTOpenAdapterFromHdc(&OpenAdapterData); 630 632 #ifdef DEBUG_misha -
trunk/src/VBox/Additions/WINNT/Graphics/Makefile.kmk
r34805 r34987 23 23 include $(PATH_SUB_CURRENT)/Display/Makefile.kmk 24 24 ifdef VBOX_WITH_CROGL 25 ifeq ($(KBUILD_TARGET_ARCH),x86) 26 include $(PATH_SUB_CURRENT)/Wine/Makefile.kmk 27 endif 25 include $(PATH_SUB_CURRENT)/Wine/Makefile.kmk 28 26 endif 29 27 … … 90 88 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D.dll 91 89 VBoxVideoWddm-inf_SOURCES.amd64 += \ 92 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D 64.dll90 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D32.dll 93 91 endif 94 92 … … 106 104 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu.dll 107 105 VBoxVideoWddm-inf_SOURCES.amd64 += \ 108 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL 64.dll \109 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9 64.dll \110 $(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3d 64.dll \111 $(PATH_TARGET)/VBoxVideoWddmCat.dir/libWine 64.dll \112 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu 64.dll \113 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil 64.dll \114 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu 64.dll \115 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu 64.dll \116 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu 64.dll \117 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu 64.dll106 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL32.dll \ 107 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9wddm32.dll \ 108 $(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3dwddm32.dll \ 109 $(PATH_TARGET)/VBoxVideoWddmCat.dir/libWine32.dll \ 110 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu32.dll \ 111 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil32.dll \ 112 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu32.dll \ 113 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu32.dll \ 114 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu32.dll \ 115 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu32.dll 118 116 endif 119 117 … … 134 132 135 133 ifdef VBOXWDDM_WITH_DISPD3D 136 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D.dll: $$(TARGET_VBoxDispD3D $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64",-x86,)) | $$(call DIRDEP,$$(@D))134 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D.dll: $$(TARGET_VBoxDispD3D) | $$(call DIRDEP,$$(@D)) 137 135 $(INSTALL) -m 644 $< $(@D) 138 136 139 137 ifeq ($(KBUILD_TARGET_ARCH),amd64) 140 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D 64.dll: $$(TARGET_VBoxDispD3D) | $$(call DIRDEP,$$(@D))138 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D32.dll: $$(TARGET_VBoxDispD3D-x86) | $$(call DIRDEP,$$(@D)) 141 139 $(INSTALL) -m 644 $< $(@D) 142 140 endif … … 181 179 $(INSTALL) -m 644 $< $(@D) 182 180 183 $(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3d 64.dll: $$(TARGET_wined3d64) | $$(call DIRDEP,$$(@D))181 $(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3dwddm32.dll: $$(TARGET_wined3dwddm32) | $$(call DIRDEP,$$(@D)) 184 182 $(INSTALL) -m 644 $< $(@D) 185 183 … … 211 209 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.sys \ 212 210 $(if $(VBOXWDDM_WITH_DISPD3D), $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D.dll, ) \ 213 $(if $(VBOXWDDM_WITH_DISPD3D), $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D 64.dll, ), ) \211 $(if $(VBOXWDDM_WITH_DISPD3D), $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D32.dll, ), ) \ 214 212 $(if $(VBOXWDDM_WITH_GL), $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL.dll \ 215 213 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9wddm.dll \ … … 223 221 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu.dll, ) \ 224 222 $(if $(VBOXWDDM_WITH_GL), $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", \ 225 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL 64.dll \226 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9 64.dll \227 $(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3d 64.dll \228 $(PATH_TARGET)/VBoxVideoWddmCat.dir/libWine 64.dll \229 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu 64.dll \230 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil 64.dll \231 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu 64.dll \232 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu 64.dll \233 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu 64.dll \234 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu 64.dll, ), )223 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL32.dll \ 224 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9wddm32.dll \ 225 $(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3dwddm32.dll \ 226 $(PATH_TARGET)/VBoxVideoWddmCat.dir/libWine32.dll \ 227 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu32.dll \ 228 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil32.dll \ 229 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu32.dll \ 230 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu32.dll \ 231 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu32.dll \ 232 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu32.dll, ), ) 235 233 $(call MSG_TOOL,Inf2Cat,VBoxVideoWddm-inf,$@,$<) 236 234 $(call VBOX_MAKE_CAT_FN, $(@D),$@) -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp
r34429 r34987 1259 1259 DXGK_DRIVERCAPS *pCaps = (DXGK_DRIVERCAPS*)pQueryAdapterInfo->pOutputData; 1260 1260 1261 pCaps->HighestAcceptableAddress.HighPart = 0x0; 1262 pCaps->HighestAcceptableAddress.LowPart = 0xffffffffUL; 1261 pCaps->HighestAcceptableAddress.QuadPart = ~((uintptr_t)0); 1263 1262 pCaps->MaxAllocationListSlotId = 16; 1264 1263 pCaps->ApertureSegmentCommitLimit = 0; -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.inf
r32408 r34987 49 49 VBoxVideoWddm.sys 50 50 51 ;x86 [VBoxVideo.Display] 52 ;amd64 [VBoxVideo.Display_wow64] 51 [VBoxVideo.Display] 53 52 ;dispd3d VBoxDispD3D.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME 54 53 55 ;amd64 [VBoxVideo.Display ]56 ;amd64 ;dispd3d VBoxDispD3D 64.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME54 ;amd64 [VBoxVideo.Display_wow64] 55 ;amd64 ;dispd3d VBoxDispD3D32.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME 57 56 58 ;x86 [VBoxVideo.GL] 59 ;amd64 [VBoxVideo.GL_wow64] 57 [VBoxVideo.GL] 60 58 ;gl VBoxOGL.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME 61 59 ;gl VBoxD3D9wddm.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME … … 69 67 ;gl VBoxOGLpassthroughspu.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME 70 68 71 ;amd64 [VBoxVideo.GL ]72 ;amd64 ;gl VBoxOGL 64.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME73 ;amd64 ;gl VBoxD3D9 64.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME74 ;amd64 ;gl wined3d 64.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME75 ;amd64 ;gl libWine 64.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME76 ;amd64 ;gl VBoxOGLarrayspu 64.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME77 ;amd64 ;gl VBoxOGLcrutil 64.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME78 ;amd64 ;gl VBoxOGLerrorspu 64.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME79 ;amd64 ;gl VBoxOGLfeedbackspu 64.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME80 ;amd64 ;gl VBoxOGLpackspu 64.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME81 ;amd64 ;gl VBoxOGLpassthroughspu 64.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME69 ;amd64 [VBoxVideo.GL_wow64] 70 ;amd64 ;gl VBoxOGL32.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME 71 ;amd64 ;gl VBoxD3D9wddm32.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME 72 ;amd64 ;gl wined3dwddm32.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME 73 ;amd64 ;gl libWine32.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME 74 ;amd64 ;gl VBoxOGLarrayspu32.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME 75 ;amd64 ;gl VBoxOGLcrutil32.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME 76 ;amd64 ;gl VBoxOGLerrorspu32.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME 77 ;amd64 ;gl VBoxOGLfeedbackspu32.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME 78 ;amd64 ;gl VBoxOGLpackspu32.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME 79 ;amd64 ;gl VBoxOGLpassthroughspu32.dll,,,0x00004000 ; COPYFLG_IN_USE_TRY_RENAME 82 80 83 81 [VBoxVideo_SoftwareDeviceSettings] 84 ;x86 ;dispd3d HKR,, InstalledDisplayDrivers, %REG_MULTI_SZ%, VBoxDispD3D 85 ;x86 ;dispd3d HKR,, UserModeDriverName, %REG_MULTI_SZ%, VBoxDispD3D.dll 86 ;amd64 ;dispd3d HKR,, InstalledDisplayDrivers, %REG_MULTI_SZ%, VBoxDispD3D64 VBoxDispD3D 87 ;amd64 ;dispd3d HKR,, UserModeDriverName, %REG_MULTI_SZ%, VBoxDispD3D64.dll 88 ;amd64 ;dispd3d HKR,, UserModeDriverNameWow, %REG_MULTI_SZ%, VBoxDispD3D.dll 89 ;x86 ;gl HKR,, OpenGLDriverName, %REG_MULTI_SZ%, VBoxOGL.dll 90 ;amd64 ;gl HKR,, OpenGLDriverName, %REG_MULTI_SZ%, VBoxOGL64.dll 91 ;amd64 ;gl HKR,, OpenGLDriverNameWoW, %REG_MULTI_SZ%, VBoxOGL.dll 82 ;dispd3d HKR,, InstalledDisplayDrivers, %REG_MULTI_SZ%, VBoxDispD3D 83 ;dispd3d HKR,, UserModeDriverName, %REG_MULTI_SZ%, VBoxDispD3D.dll 84 ;amd64 ;dispd3d HKR,, UserModeDriverNameWow, %REG_MULTI_SZ%, VBoxDispD3D32.dll 85 ;gl HKR,, OpenGLDriverName, %REG_MULTI_SZ%, VBoxOGL.dll 86 ;amd64 ;gl HKR,, OpenGLDriverNameWoW, %REG_MULTI_SZ%, VBoxOGL32.dll 92 87 ;gl HKR,, OpenGLFlags, %REG_DWORD%, 0x00000001 93 88 ;amd64 ;gl HKR,, OpenGLFlagsWoW, %REG_DWORD%, 0x00000001 … … 98 93 [VBoxVideo_RegisterDlls] 99 94 ;dispd3d 11,,VBoxDispD3D.dll,1 100 ;amd64 ;dispd3d 11,,VBoxDispD3D 64.dll,1101 ;amd64 ;gl 11,,VBoxOGL 64.dll,195 ;amd64 ;dispd3d 11,,VBoxDispD3D32.dll,1 96 ;amd64 ;gl 11,,VBoxOGL32.dll,1 102 97 ;gl 11,,VBoxOGL.dll,1 103 ;amd64 ;gl 11,,VBoxD3D9 64.dll,198 ;amd64 ;gl 11,,VBoxD3D9wddm32.dll,1 104 99 ;gl 11,,VBoxD3D9wddm.dll,1 105 ;amd64 ;gl 11,,wined3d 64.dll,1100 ;amd64 ;gl 11,,wined3dwddm32.dll,1 106 101 ;gl 11,,wined3dwddm.dll,1 107 ;amd64 ;gl 11,,libWine 64.dll,1102 ;amd64 ;gl 11,,libWine32.dll,1 108 103 ;gl 11,,libWine.dll,1 109 ;amd64 ;gl 11,,VBoxOGLarrayspu 64.dll,1104 ;amd64 ;gl 11,,VBoxOGLarrayspu32.dll,1 110 105 ;gl 11,,VBoxOGLarrayspu.dll,1 111 ;amd64 ;gl 11,,VBoxOGLcrutil 64.dll,1106 ;amd64 ;gl 11,,VBoxOGLcrutil32.dll,1 112 107 ;gl 11,,VBoxOGLcrutil.dll,1 113 ;amd64 ;gl 11,,VBoxOGLerrorspu 64.dll,1108 ;amd64 ;gl 11,,VBoxOGLerrorspu32.dll,1 114 109 ;gl 11,,VBoxOGLerrorspu.dll,1 115 ;amd64 ;gl 11,,VBoxOGLfeedbackspu 64.dll,1110 ;amd64 ;gl 11,,VBoxOGLfeedbackspu32.dll,1 116 111 ;gl 11,,VBoxOGLfeedbackspu.dll,1 117 ;amd64 ;gl 11,,VBoxOGLpackspu 64.dll,1112 ;amd64 ;gl 11,,VBoxOGLpackspu32.dll,1 118 113 ;gl 11,,VBoxOGLpackspu.dll,1 119 ;amd64 ;gl 11,,VBoxOGLpassthroughspu 64.dll,1114 ;amd64 ;gl 11,,VBoxOGLpassthroughspu32.dll,1 120 115 ;gl 11,,VBoxOGLpassthroughspu.dll,1 121 116 … … 143 138 [SourceDisksFiles] 144 139 VBoxVideoWddm.sys = 1 145 ;amd64 ;dispd3d VBoxDispD3D 64.dll = 1140 ;amd64 ;dispd3d VBoxDispD3D32.dll = 1 146 141 ;dispd3d VBoxDispD3D.dll = 1 147 ;amd64 ;gl VBoxOGL 64.dll = 1142 ;amd64 ;gl VBoxOGL32.dll = 1 148 143 ;gl VBoxOGL.dll = 1 149 ;amd64 ;gl VBoxD3D9 64.dll = 1144 ;amd64 ;gl VBoxD3D9wddm32.dll = 1 150 145 ;gl VBoxD3D9wddm.dll = 1 151 ;amd64 ;gl wined3d 64.dll = 1146 ;amd64 ;gl wined3dwddm32.dll = 1 152 147 ;gl wined3dwddm.dll = 1 153 ;amd64 ;gl libWine 64.dll = 1148 ;amd64 ;gl libWine32.dll = 1 154 149 ;gl libWine.dll = 1 155 ;amd64 ;gl VBoxOGLarrayspu 64.dll = 1150 ;amd64 ;gl VBoxOGLarrayspu32.dll = 1 156 151 ;gl VBoxOGLarrayspu.dll = 1 157 ;amd64 ;gl VBoxOGLcrutil 64.dll = 1152 ;amd64 ;gl VBoxOGLcrutil32.dll = 1 158 153 ;gl VBoxOGLcrutil.dll = 1 159 ;amd64 ;gl VBoxOGLerrorspu 64.dll = 1154 ;amd64 ;gl VBoxOGLerrorspu32.dll = 1 160 155 ;gl VBoxOGLerrorspu.dll = 1 161 ;amd64 ;gl VBoxOGLfeedbackspu 64.dll = 1156 ;amd64 ;gl VBoxOGLfeedbackspu32.dll = 1 162 157 ;gl VBoxOGLfeedbackspu.dll = 1 163 ;amd64 ;gl VBoxOGLpackspu 64.dll = 1158 ;amd64 ;gl VBoxOGLpackspu32.dll = 1 164 159 ;gl VBoxOGLpackspu.dll = 1 165 ;amd64 ;gl VBoxOGLpassthroughspu 64.dll = 1160 ;amd64 ;gl VBoxOGLpassthroughspu32.dll = 1 166 161 ;gl VBoxOGLpassthroughspu.dll = 1 167 162 -
trunk/src/VBox/Additions/WINNT/Graphics/Wine/Makefile.kmk
r32622 r34987 20 20 include $(KBUILD_PATH)/subheader.kmk 21 21 22 DLLS += libWine22 DLLS.x86 += libWine 23 23 24 24 libWine_TEMPLATE = VBOXGUESTR3NPDLL … … 118 118 libWine/version.c 119 119 120 DLLS += wined3d120 DLLS.x86 += wined3d 121 121 122 122 wined3d_TEMPLATE = VBOXGUESTR3NPDLL … … 129 129 LIB_TO_DATADIR=\"\" \ 130 130 BIN_TO_DATADIR=\"\" 131 if "$(KBUILD_TYPE)" != "debug" || defined( DEBUG_misha)131 if "$(KBUILD_TYPE)" != "debug" || defined(VBOX_WINE_NO_DEBUG_MSGS) 132 132 wined3d_DEFS += WINE_NO_DEBUG_MSGS 133 133 endif … … 178 178 wined3dwddm_NOINST.win.x86 = true 179 179 endif 180 wined3dwddm_DEFS += $(wined3d_DEFS) VBOX_WITH_WDDM 180 wined3dwddm_INCS = vbox/libWineStub/include 181 wined3dwddm_LIBS = $(NO_SUCH_VARIABLE) 182 wined3dwddm_DEFS = $(subst __i386__,,$(wined3d_DEFS)) VBOX_WITH_WDDM VBOX_WINE_WITHOUT_LIBWINE 181 183 wined3dwddm_SOURCES = $(subst wined3d.def,wined3dwddm.def,$(wined3d_SOURCES)) 182 endif 183 184 DLLS += VBoxD3D8 184 wined3dwddm_SOURCES += vbox/libWineStub/debug.c 185 wined3dwddm_SDKS = WINDDKWLH 186 187 DLLS.amd64 += wined3dwddm-x86 188 wined3dwddm-x86_EXTENDS = wined3dwddm 189 wined3dwddm-x86_NAME = wined3dwddm32 190 wined3dwddm-x86_BLD_TRG_ARCH = x86 191 #wined3dwddm-x86_LIBS = \ 192 $(VBOX_LIB_IPRT_GUEST_R3_X86) \ 193 $(VBOX_LIB_VBGL_R3_X86) 194 endif 195 196 DLLS.x86 += VBoxD3D8 185 197 186 198 VBoxD3D8_TEMPLATE = VBOXGUESTR3NPDLL … … 193 205 LIB_TO_DATADIR=\"\" \ 194 206 BIN_TO_DATADIR=\"\" 195 if "$(KBUILD_TYPE)" != "debug" || defined( DEBUG_misha)207 if "$(KBUILD_TYPE)" != "debug" || defined(VBOX_WINE_NO_DEBUG_MSGS) 196 208 VBoxD3D8_DEFS += WINE_NO_DEBUG_MSGS 197 209 endif … … 219 231 $(PATH_LIB)/libWine$(VBOX_SUFF_LIB) \ 220 232 $(PATH_LIB)/wined3d$(VBOX_SUFF_LIB) 221 DLLS += VBoxD3D9233 DLLS.x86 += VBoxD3D9 222 234 223 235 VBoxD3D9_TEMPLATE = VBOXGUESTR3NPDLL … … 230 242 LIB_TO_DATADIR=\"\" \ 231 243 BIN_TO_DATADIR=\"\" 232 if "$(KBUILD_TYPE)" != "debug" || defined( DEBUG_misha)244 if "$(KBUILD_TYPE)" != "debug" || defined(VBOX_WINE_NO_DEBUG_MSGS) 233 245 VBoxD3D9_DEFS += WINE_NO_DEBUG_MSGS 234 246 endif … … 262 274 VBoxD3D9wddm_NOINST.win.x86 = true 263 275 endif 264 VBoxD3D9wddm_DEFS += $(VBoxD3D9_DEFS) VBOX_WITH_WDDM IN_VBOXWINEEX 276 277 VBoxD3D9wddm_INCS = vbox/libWineStub/include 278 VBoxD3D9wddm_LIBS = $(NO_SUCH_VARIABLE) 279 VBoxD3D9wddm_DEFS += $(subst __i386__,,$(VBoxD3D9_DEFS)) VBOX_WITH_WDDM VBOX_WINE_WITHOUT_LIBWINE IN_VBOXWINEEX 265 280 VBoxD3D9wddm_SOURCES = $(subst d3d9.def,d3d9wddm.def,$(VBoxD3D9_SOURCES)) 266 VBoxD3D9wddm_LIBS = $(subst wined3d$(VBOX_SUFF_LIB),wined3dwddm$(VBOX_SUFF_LIB),$(VBoxD3D9_LIBS)) 267 endif 268 269 DLLS += d3d8 281 VBoxD3D9wddm_SOURCES += vbox/libWineStub/debug.c 282 VBoxD3D9wddm_LIBS = $(PATH_LIB)/wined3dwddm$(VBOX_SUFF_LIB) 283 VBoxD3D9wddm_SDKS = WINDDKWLH 284 285 DLLS.amd64 += VBoxD3D9wddm-x86 286 VBoxD3D9wddm-x86_EXTENDS = VBoxD3D9wddm 287 VBoxD3D9wddm-x86_NAME = VBoxD3D9wddm32 288 VBoxD3D9wddm-x86_BLD_TRG_ARCH = x86 289 VBoxD3D9wddm-x86_LIBS = $(PATH_LIB)/wined3dwddm32$(VBOX_SUFF_LIB) 290 #VBoxD3D9wddm-x86_LIBS += \ 291 $(VBOX_LIB_IPRT_GUEST_R3_X86) \ 292 $(VBOX_LIB_VBGL_R3_X86) 293 endif 294 295 DLLS.x86 += d3d8 270 296 d3d8_TEMPLATE = VBOXGUESTR3NPDLL 271 297 d3d8_DEFS = __i386__ … … 277 303 switcher/d3d8.rc 278 304 279 DLLS += d3d9305 DLLS.x86 += d3d9 280 306 d3d9_TEMPLATE = VBOXGUESTR3NPDLL 281 307 d3d9_DEFS = __i386__ -
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/vboxsharedrc.h
r32184 r34987 37 37 #ifdef DEBUG_misha 38 38 /* just for simplicity */ 39 #ifdef RT_ARCH_X86 39 40 #define AssertBreakpoint() do { __asm {int 3} } while (0) 41 #else 42 #define AssertBreakpoint() do { /* @todo */ } while (0) 43 #endif 40 44 #define Assert(_expr) do { \ 41 45 if (!(_expr)) AssertBreakpoint(); \ -
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/wined3d_private.h
r33836 r34987 40 40 #define NONAMELESSSTRUCT 41 41 #define COBJMACROS 42 #ifndef VBOX_WINE_WITHOUT_LIBWINE 42 43 #include "windef.h" 43 44 #include "winbase.h" … … 45 46 #include "wingdi.h" 46 47 #include "winuser.h" 48 #else 49 #include <windows.h> 50 #endif 47 51 #include "wine/debug.h" 48 52 #include "wine/unicode.h" 49 53 54 #ifndef VBOX_WINE_WITHOUT_LIBWINE 50 55 #include "objbase.h" 56 #endif 51 57 #include "wine/wined3d.h" 52 58 #include "wined3d_gl.h"
Note:
See TracChangeset
for help on using the changeset viewer.