Indirect Display Driver Model Overview
The Indirect Display driver model was designed to provide a simple user mode driver model to support monitors that are not connected to traditional GPU display outputs. For example, a dongle connected to the PC via USB that has a regular (VGA, DVI, HDMI, DP etc) monitor connected to it.
The Indirect Display driver model is implemented as a UMDF class extension. The driver is the UMDF driver for the device and uses the functionality exposed by the IddCx (Indirect Display Driver Class eXtension) to interface with the windows graphics sub-systems.
Indirect Display Driver Functionality
As the Indirect Display driver is the UMDF driver, it is responsible for all UMDF functionality like device communications, power management, plug and play etc. The IddCx provides an interface to the Indirect Display driver to interact with the Windows graphics sub-system in the following ways:
- Create the graphics adapter representing the Indirect Display device
- Report monitors being connected and disconnected from the system
- Provide descriptions of the monitors connected
- Provide available display modes
- Support other display functionality, like hardware mouse cursor, gamma, I2C communications and protected content
- Process the desktop images to display on the monitor Because the Indirect Display driver is a UMDF driver running in session 0, it does not have any component running in the user session so any driver instability will not affect the stability of the system as a whole.
User Mode Model
The Indirect Display driver is a user mode only model with no support for kernel mode components, hence the driver is able to use any DirectX API's in order to process the desktop image. In fact, the IddCx provides the desktop image to encode in a DirectX surface.
Note The Indirect Display driver should be built as a universal windows driver so it can be used on multiple Windows platforms.
At build time, the UMDF Indirect Display driver declares the version of IddCx it was built against and the OS ensures that the correct version of IddCx is loaded when the driver is loaded.
The following sections describe the Indirect Display Driver Model: