Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: Can I make multithread program with glut?

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2002
    Posts
    8

    Can I make multithread program with glut?

    Can I make multithread program with glut?

  2. #2
    Member Regular Contributor nickels's Avatar
    Join Date
    Feb 2000
    Location
    Colorado
    Posts
    298

    Re: Can I make multithread program with glut?

    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.

  3. #3
    Guest

    Re: Can I make multithread program with glut?

    I do not think GLUT is thread-safe if that is your question?

  4. #4
    Advanced Member Frequent Contributor marcus256's Avatar
    Join Date
    Aug 2001
    Location
    Sweden
    Posts
    853

    Re: Can I make multithread program with glut?

    GLUT by itself does not support threads. GLFW does (in a portable way).

  5. #5
    Intern Contributor
    Join Date
    Mar 2002
    Location
    France
    Posts
    53

    Re: Can I make multithread program with glut?

    if i remember correctly, glut uses thread internally for rendering, input (as keyboard, mouse, refresh...).

    sorry for such a little post.
    Je suis celui qui failli qui trépasse et se lasse, je suis celui qu'on abuse à vider de sa face

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •