3 ms·
No, this works fine even on current versions of Windows that can only run with the compositor, as the DWM special-cases blits from a display DC or GetDC(0). It
by ack_complete 2y ago
No, this works fine even on current versions of Windows that can only run with the compositor, as the DWM special-cases blits from a display DC or GetDC(0). It will even switch windows out of independent flip if necessary to do this, which can be seen with PresentMon.
- BearOso 2y agoInteresting. When I think about this, of course Microsoft would go to those lengths to maintain backward compatibility.
- ack_complete 2y agoWell, it's more basic functionality than backwards compatibility. There was no other API to capture the screen from Vista to Windows 8, and not being able to programmatically take screenshots wouldn't have been viable. The newer DXGI Output Duplication API wasn't added until 8.1 and that still requires the DWM to change its composition strategy when active.