issue #4: port most code to Direct2D. Only remaining GDI code is RiftWindow::CaptureScreen, which is very complicated to write in newer APIs.