Jump to content
  • Advertisement
Sign in to follow this  
prophet tx-7

Direct2D, MFC and V-Sync

This topic is 2521 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello,

I'm working on visualization software (like Milkdrop in WinAmp) and I've decided to go with MFC (since I need some nice GUI) and Direct2D.
I know I could use regular Direct2D, however MFC has its own approach (AFX_WM_DRAW2D message and it's own classes for brushes etc...) and I find it more elegant. The questions are:

1) Is it possible to turn off validating rect in each draw, so I can get continuous redrawing (like in games)?
2) Is it possible to turn off the V-Sync?

It would be really nice, however I'm afraid the classical Direct2D approach will have to satisfy my needs.

Thanks

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!