PDA

View Full Version : Can I make multithread program with glut?



jasc
03-12-2002, 07:26 AM
Can I make multithread program with glut?

nickels
03-14-2002, 01:28 PM
You can certainly write using threads. If you want to make opengl calls from more than the main thread, however, things get tricky.
If you can isolate opengl to the main thread, you can do whatever you wish in the others.

03-16-2002, 01:18 AM
I do not think GLUT is thread-safe if that is your question?

marcus256
03-20-2002, 11:19 PM
GLUT by itself does not support threads. GLFW does (in a portable way).

saian
03-21-2002, 02:20 AM
if i remember correctly, glut uses thread internally for rendering, input (as keyboard, mouse, refresh...).

sorry for such a little post.