桌面窗口管理器:修订间差异

添加5字节 、​ 2025 年 4 月 20 日 (星期日)
第 22 行: 第 22 行:
从 Windows 7 开始,DWM 使用 Direct3D 10.1(如果可用)来提高性能,且 WDDM 1.1 再次支持某些 GDI 硬件加速。在 [[Windows 8]] 中,桌面窗口管理器现在始终为[[“开始”屏幕]]界面运行,在正常情况下无法禁用。此外,桌面窗口管理器的效果能够从 [[Windows 8 Build 7880.0.fbl_grfx_dev1.101110-1700|Build 7880]] 开始通过软件呈现,而非依赖硬件加速。
从 Windows 7 开始,DWM 使用 Direct3D 10.1(如果可用)来提高性能,且 WDDM 1.1 再次支持某些 GDI 硬件加速。在 [[Windows 8]] 中,桌面窗口管理器现在始终为[[“开始”屏幕]]界面运行,在正常情况下无法禁用。此外,桌面窗口管理器的效果能够从 [[Windows 8 Build 7880.0.fbl_grfx_dev1.101110-1700|Build 7880]] 开始通过软件呈现,而非依赖硬件加速。


==Enabling the Desktop Compositing Engine==
== 启用 Desktop Compositing Engine(桌面合成引擎或桌面组合引擎) ==
It is to be noted that a compatible Direct3D graphics driver with hardware acceleration has to be installed and running properly prior to starting Desktop Compositing Engine; otherwise, either nothing happens or the desktop compositor will either crash or produce major graphical artifacts.<ref>https://longhorn.ms/desktop-compositing/</ref> On some builds, the [[VMware]] graphics stack has a bug where there is no alpha masking or multiply support when DCE is enabled.
需要注意的是,在启动桌面合成引擎之前,必须安装并正确运行具有硬件加速功能的兼容 Direct3D 图形驱动程序;否则,要么什么都不做,要么 Desktop Compositor(桌面合成器)会崩溃或产生主要的图形伪影。<ref>https://longhorn.ms/desktop-compositing/</ref>在某些版本中,[[VMware]] 图形堆栈存在 bug,即启用 DCE 时不支持 alpha 掩码或乘法。
[[File:3683-DCEDemo.png|thumb|DCE in build 3683|300x300px]]
[[文件:3683-DCEDemo.png|thumb|Build 3683 中的 DCE|300x300px]]


===Windows Longhorn build 3683===
===Windows Longhorn build 3683===