Skip to content

d2d1: Compile shaders on device creation instead of device context creation.

Some applications generate many device contexts each render frame. Thus, compling these shaders each time this happens might make them laggy.

Merge request reports

Loading