Advertisement

thread rendering

Started by February 20, 2002 01:59 PM
0 comments, last by DMTSC 23 years ago
I have an opengl program that has an mfc splitter window showing two different opengl contexts. I was wondering if changing the rendering code to render each opengl pane in a different thread would show a performance advantage. It would take a fairly long time to implement so I am loathed to spent time if anyone knows it definitely won''t speed things up. Any opinions? cheers
Unless you are running a multi cpu platform it is likely that it will actually reduce the performance of your application.
Making it multi threaded in your case is only useful if it simplifies or clarifies your design and implementation - eg main thread handling windows GUI and background worker threads handling game logic or OpenGL rendering.
BTW, multi-threading in MFC can be a royal pain in the arse too if you don''t know what you''re doing.



Slightly shrimpy smell == unsafe breadbin
Slightly shrimpy smell == unsafe breadbin

This topic is closed to new replies.

Advertisement