• Advertisement
Sign in to follow this  

is GLUT Multithreaded?

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

Hi, I have noticed that GLUT applications usually out perform normal Windows GL and D3D applications when performing complex calculations such as physics and AI. Is this because GLUT is multithreaded? The only other explanation is that GLUT is more optimized than Windows GL and D3D. thanks in advance

Share this post


Link to post
Share on other sites
Advertisement
no they should all run roughly the same speed, are u comparing exactly the same glut program with a sdl or win32 one

Share this post


Link to post
Share on other sites
Hi,

Yeah I've compared one function in two different programs. I have made sure that the compiler settings are exactly the same apart from the fact that GLUT runs a console.
does glutPostRedisplay() call a WM_PAINT message?
The windows app is optimized for rendering so I think maybe it calls WM_PAINT too often.

Share this post


Link to post
Share on other sites
Quote:
glutPostRedisplay() call a WM_PAINT message

no, u can see in the lib directory of glut for its source code

Share this post


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

  • Advertisement