Comment by modeless
WDDM is one of the best and most underappreciated parts of Windows IMO. GPU drivers work better on Windows than on any other platform (including macOS with third party GPUs). An embarrassingly large percentage of my problems with Linux over the years can be traced to graphics driver problems that a better driver model could have fixed.
DWM is also an unsung hero of the Windows graphics stack that isn't equalled elsewhere.
This is true.
Microsoft and GPU companies (nvidia, amd, intel mostly, but there obviously were many others) collectively spent literally billions (not a typo - think about the engineer-hours on these multi-million-LOC code bases) on getting the windows graphics driver model mostly right. The amount of tooling is staggering and the fact that a crash in the driver most of the time just causes the screen to blink for a second instead of a bsod is amazing.