VirtualBox

Ignore:
Timestamp:
Jul 9, 2012 12:44:47 PM (12 years ago)
Author:
vboxsync
Message:

wddm: basics for win8 display-only miniport driver

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/Makefile.kmk

    r41477 r42054  
    8686VBoxVideoWddm-inf_SOURCES.amd64 += \
    8787 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D-x86.dll
    88 endif
     88endif # VBOXWDDM_WITH_DISPD3D
    8989
    9090ifdef VBOXWDDM_WITH_GL
     
    109109 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu-x86.dll \
    110110 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu-x86.dll
    111 endif
     111endif # VBOXWDDM_WITH_GL
    112112
    113113endif # signing
     
    133133$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D-x86.dll: $$(VBoxDispD3D-x86_1_TARGET) | $$(dir $$@)
    134134        $(INSTALL) -m 644 $< $(@D)
    135  endif
    136 endif
     135 endif # ($(KBUILD_TARGET_ARCH), amd64)
     136endif # VBOXWDDM_WITH_DISPD3D
    137137
    138138ifdef VBOXWDDM_WITH_GL
     
    191191$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu-x86.dll: $$(VBoxOGLpassthroughspu-x86_1_TARGET) | $$(dir $$@)
    192192        $(INSTALL) -m 644 $< $(@D)
    193  endif
    194 endif
     193 endif # ($(KBUILD_TARGET_ARCH), amd64)
     194endif # VBOXWDDM_WITH_GL
    195195
    196196$(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.cat: \
     
    220220        $(call MSG_TOOL,Inf2Cat,VBoxVideoWddm-inf,$@,$<)
    221221        $(call VBOX_MAKE_CAT_FN, $(@D),$@)
    222 endif
     222       
     223 ifdef VBOX_WDDM_WIN8
     224# VBOXWDDMW8_WITH_DISPD3D = 1
     225 ifdef VBOX_WITH_CROGL
     226#  VBOXWDDMW8_WITH_GL = 1
     227 endif
     228 
     229 
     230INSTALLS += VBoxVideoW8-inf
     231VBoxVideoW8-inf_INST = $(INST_ADDITIONS)
     232VBoxVideoW8-inf_MODE = a+r,u+w
     233VBoxVideoW8-inf_SOURCES = \
     234    $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.inf
     235ifdef VBOX_SIGN_ADDITIONS
     236VBoxVideoW8-inf_SOURCES += \
     237    $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.sys \
     238    $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.cat
     239
     240ifdef VBOXWDDMW8_WITH_DISPD3D
     241VBoxVideoW8-inf_SOURCES += \
     242 $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxDispD3D.dll
     243VBoxVideoW8-inf_SOURCES.amd64 += \
     244 $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxDispD3D-x86.dll
     245endif # VBOXWDDMW8_WITH_DISPD3D
     246
     247ifdef VBOXWDDMW8_WITH_GL
     248VBoxVideoW8-inf_SOURCES += \
     249 $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL.dll \
     250 $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm.dll \
     251 $(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm.dll \
     252 $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu.dll \
     253 $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil.dll \
     254 $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu.dll \
     255 $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu.dll \
     256 $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu.dll \
     257 $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu.dll
     258VBoxVideoW8-inf_SOURCES.amd64 += \
     259 $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL-x86.dll \
     260 $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm-x86.dll \
     261 $(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm-x86.dll \
     262 $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu-x86.dll \
     263 $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil-x86.dll \
     264 $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu-x86.dll \
     265 $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu-x86.dll \
     266 $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu-x86.dll \
     267 $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu-x86.dll
     268endif # VBOXWDDMW8_WITH_GL
     269
     270endif # signing
     271VBoxVideoW8-inf_CLEAN = $(VBoxVideoW8-inf_SOURCES)
     272VBoxVideoW8-inf_BLDDIRS = \
     273    $(PATH_TARGET)/VBoxVideoW8Cat.dir
     274
     275VBOXWDDMW8_EDIT_INF_DISPD3D_FN_ARG = $(if $(VBOXWDDMW8_WITH_DISPD3D),-e 's/^;dispd3d  *//', -e '/^;dispd3d /d')
     276VBOXWDDMW8_EDIT_INF_GL_FN_ARG      = $(if $(VBOXWDDMW8_WITH_GL),-e 's/^;gl  *//', -e '/^;gl /d')
     277
     278$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.inf: $(PATH_SUB_CURRENT)/mp/wddm/VBoxVideoW8.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
     279        $(call MSG_GENERATE,VBoxVideoW8-inf,$@,$<)
     280        $(call VBOX_EDIT_INF_FN,$<,$@ $(VBOXWDDMW8_EDIT_INF_DISPD3D_FN_ARG) $(VBOXWDDMW8_EDIT_INF_GL_FN_ARG))
     281
     282$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.sys: $$(VBoxVideoW8_1_TARGET) | $$(dir $$@)
     283        $(INSTALL) -m 644 $< $(@D)
     284
     285ifdef VBOXWDDMW8_WITH_DISPD3D
     286$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxDispD3D.dll: $$(VBoxDispD3D_1_TARGET) | $$(dir $$@)
     287        $(INSTALL) -m 644 $< $(@D)
     288
     289 ifeq ($(KBUILD_TARGET_ARCH),amd64)
     290$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxDispD3D-x86.dll: $$(VBoxDispD3D-x86_1_TARGET) | $$(dir $$@)
     291        $(INSTALL) -m 644 $< $(@D)
     292 endif # ($(KBUILD_TARGET_ARCH), amd64)
     293endif # VBOXWDDMW8_WITH_DISPD3D
     294
     295ifdef VBOXWDDMW8_WITH_GL
     296$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL.dll: $$(VBoxOGL_1_TARGET) | $$(dir $$@)
     297        $(INSTALL) -m 644 $< $(@D)
     298
     299$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm.dll: $$(VBoxD3D9wddm_1_TARGET) | $$(dir $$@)
     300        $(INSTALL) -m 644 $< $(@D)
     301
     302$(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm.dll: $$(wined3dwddm_1_TARGET) | $$(dir $$@)
     303        $(INSTALL) -m 644 $< $(@D)
     304
     305$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu.dll: $$(VBoxOGLarrayspu_1_TARGET) | $$(dir $$@)
     306        $(INSTALL) -m 644 $< $(@D)
     307
     308$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil.dll: $$(VBoxOGLcrutil_1_TARGET) | $$(dir $$@)
     309        $(INSTALL) -m 644 $< $(@D)
     310
     311$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu.dll: $$(VBoxOGLerrorspu_1_TARGET) | $$(dir $$@)
     312        $(INSTALL) -m 644 $< $(@D)
     313
     314$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu.dll: $$(VBoxOGLfeedbackspu_1_TARGET) | $$(dir $$@)
     315        $(INSTALL) -m 644 $< $(@D)
     316
     317$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu.dll: $$(VBoxOGLpackspu_1_TARGET) | $$(dir $$@)
     318        $(INSTALL) -m 644 $< $(@D)
     319
     320$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu.dll: $$(VBoxOGLpassthroughspu_1_TARGET) | $$(dir $$@)
     321        $(INSTALL) -m 644 $< $(@D)
     322
     323 ifeq ($(KBUILD_TARGET_ARCH), amd64)
     324$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL-x86.dll: $$(VBoxOGL-x86_1_TARGET) | $$(dir $$@)
     325        $(INSTALL) -m 644 $< $(@D)
     326
     327$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm-x86.dll: $$(VBoxD3D9wddm-x86_1_TARGET) | $$(dir $$@)
     328        $(INSTALL) -m 644 $< $(@D)
     329
     330$(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm-x86.dll: $$(wined3dwddm-x86_1_TARGET) | $$(dir $$@)
     331        $(INSTALL) -m 644 $< $(@D)
     332
     333$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu-x86.dll: $$(VBoxOGLarrayspu-x86_1_TARGET) | $$(dir $$@)
     334        $(INSTALL) -m 644 $< $(@D)
     335
     336$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil-x86.dll: $$(VBoxOGLcrutil-x86_1_TARGET) | $$(dir $$@)
     337        $(INSTALL) -m 644 $< $(@D)
     338
     339$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu-x86.dll: $$(VBoxOGLerrorspu-x86_1_TARGET) | $$(dir $$@)
     340        $(INSTALL) -m 644 $< $(@D)
     341
     342$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu-x86.dll: $$(VBoxOGLfeedbackspu-x86_1_TARGET) | $$(dir $$@)
     343        $(INSTALL) -m 644 $< $(@D)
     344
     345$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu-x86.dll: $$(VBoxOGLpackspu-x86_1_TARGET) | $$(dir $$@)
     346        $(INSTALL) -m 644 $< $(@D)
     347
     348$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu-x86.dll: $$(VBoxOGLpassthroughspu-x86_1_TARGET) | $$(dir $$@)
     349        $(INSTALL) -m 644 $< $(@D)
     350 endif # ($(KBUILD_TARGET_ARCH), amd64)
     351endif # VBOXWDDMW8_WITH_GL
     352
     353$(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.cat: \
     354        $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.inf \
     355        $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.sys \
     356        $(if $(VBOXWDDMW8_WITH_DISPD3D), $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxDispD3D.dll, ) \
     357        $(if $(VBOXWDDMW8_WITH_DISPD3D), $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxDispD3D-x86.dll, ), ) \
     358        $(if $(VBOXWDDMW8_WITH_GL),  $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL.dll \
     359                       $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm.dll \
     360                       $(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm.dll \
     361                       $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu.dll \
     362                       $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil.dll \
     363                       $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu.dll \
     364                       $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu.dll \
     365                       $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu.dll \
     366                       $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu.dll, ) \
     367        $(if $(VBOXWDDMW8_WITH_GL), $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", \
     368                       $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL-x86.dll \
     369                       $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm-x86.dll \
     370                       $(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm-x86.dll \
     371                       $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu-x86.dll \
     372                       $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil-x86.dll \
     373                       $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu-x86.dll \
     374                       $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu-x86.dll \
     375                       $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu-x86.dll \
     376                       $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu-x86.dll, ), )
     377        $(call MSG_TOOL,Inf2Cat,VBoxVideoW8-inf,$@,$<)
     378        $(call VBOX_MAKE_CAT_FN, $(@D),$@)
     379 endif # VBOX_WDDM_WIN8
     380endif # VBOX_WITH_WDDM
    223381
    224382include $(FILE_KBUILD_SUB_FOOTER)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette