Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is OpenGL inherently slower when used with MFC?

inherently MFC OpenGL slower Used
0
10 Posted

Is OpenGL inherently slower when used with MFC?

0

Nothing in MFC guarantees a slow-running OpenGL application. However, some poorly written MFC applications might run slowly. This is a possibility in any development environment and is not specific to OpenGL. Here are some things to look out for: • Build the application as Release instead of Debug. Disable the TRACE debugging feature. • Avoid MFC classes such as CArray, CMap, and CList that perform inefficient data copies. • You may be able to improve performance by avoiding the WM_PAINT message. See the question above for example source that does this. • MFC classes are general purpose. For maximum performance, write a tuned implementation of an MFC class. • Use standard efficient programming techniques such as avoiding redundant calls, etc.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123