Input and rendering in different threads?

Using GLFW
sYn pHrEAk
2005-03-12
2012-11-08
  • sYn pHrEAk

    sYn pHrEAk - 2005-03-12

    Is it safe to check input and render in seperate threads? If I disable GLFW_AUTO_POLL_EVENTS and only call Input related functions (glfwPollEvents, glfwGetKey, etc) in a thread other than the one calling Rendering functions, is that thread safe?

    If this is OK, would I need to call glfwInit() in each thread or just the first one that I create?

    BTW, Glad to find a recently updated crossplatform OpenGL library! Good job!

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks