Lines Matching defs:window
44 GLFWwindow* window;
57 static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods)
60 glfwSetWindowShouldClose(window, GLFW_TRUE);
67 glfwMakeContextCurrent(thread->window);
76 glfwSwapBuffers(thread->window);
104 threads[i].window = glfwCreateWindow(200, 200,
107 if (!threads[i].window)
113 glfwSetKeyCallback(threads[i].window, key_callback);
116 glfwMakeContextCurrent(threads[0].window);
138 if (glfwWindowShouldClose(threads[i].window))
144 glfwHideWindow(threads[i].window);