After several months, I'm finally able to do this. The basic idea has been posted previously, that is use layered window and create a render target which I'm able to get the DC from. Then render everything on this target, then use UpdateLayeredWindow instead of Present to draw the backbuffer.
I have performance penalty but for a small window, it is acceptable.
The last thing I have to deal with is to slow down the FPS. This may relate to the unique way the layered window processes the messages.
Friday, May 14, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment