[WIN32] implemented test pattern for DirectX
Merge pull request #3756 from wsoltys/testpattern

[WIN32] implemented test pattern for DirectX