Archived

This topic is now archived and is closed to further replies.

thread rendering

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites