I'm trying to draw a WriteableBitmap on the screen without having to use a form. This is because I want to draw an overlay for an existing game. I've managed to do this by using a form with an Image in it where I draw the WriteableBitmap to, but a transparent form by itself already uses a lot of CPU causing the game's FPS to drop quite a bit. Would it be possible to create some kind of drawing layer or a custom Hwnd to draw on to prevent this?
Update
I'm still trying to figure this out. I noticed creating a custom Hwnd does not seem to be possible, but what about a DrawingContext? Could this be created without having a window?