Support of direct rendering on windows.