support rendering to memory device contexts on Windows

Change-Id: I91fdd429663fae76bfe17d37de86d118621cf160
use the new virtual device support in OpenGL for win backend

Change-Id: Icd67dd7bad1399c861db41c418095c2b6b1d6d78