Advertisement Jump to content
Sign in to follow this  

OpenGL Drawing to Bitmap /GDI Vs OpenGL Performance Question

This topic is 4920 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

I have a question regarding drawing a 2D image. I was using Windows GDI with VC++. I would draw data points to a bitmap and then display the bitmap in my window. As new data came in, I would simply draw to the bitmap. Hence, the bitmap/window would display new and old data. I switched to OpenGL thinking I would get better performance. I looked around and it seems that I can do something similar with OpenGL. In fact, it uses many native GDI calls to accomplish this. Does OpenGL provide a better native means to do this? I don't want to store my points inside a massive OpenGL object list and redraw all my points (new and old) every time new data points come in. Did I waste my time by switching to OpenGL? The GDI provides simple draw routines as well. It lacks the advance transforms and such that OpenGL does. Thanks for any advice.

Share this post

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

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. 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!