Is OpenGL inherently slower when used with MFC?
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.