Lines Matching refs:monitors
92 _GLFWmonitor** monitors = _glfw.monitors; in _glfwInputMonitorChange() local
94 _glfw.monitors = _glfwPlatformGetMonitors(&_glfw.monitorCount); in _glfwInputMonitorChange()
102 if (_glfwPlatformIsSameMonitor(_glfw.monitors[i], monitors[j])) in _glfwInputMonitorChange()
104 _glfwFreeMonitor(_glfw.monitors[i]); in _glfwInputMonitorChange()
105 _glfw.monitors[i] = monitors[j]; in _glfwInputMonitorChange()
119 if (monitors[i] == _glfw.monitors[j]) in _glfwInputMonitorChange()
128 if (window->monitor == monitors[i]) in _glfwInputMonitorChange()
137 _glfw.callbacks.monitor((GLFWmonitor*) monitors[i], GLFW_DISCONNECTED); in _glfwInputMonitorChange()
148 if (_glfw.monitors[i] == monitors[j]) in _glfwInputMonitorChange()
150 monitors[j] = NULL; in _glfwInputMonitorChange()
159 _glfw.callbacks.monitor((GLFWmonitor*) _glfw.monitors[i], GLFW_CONNECTED); in _glfwInputMonitorChange()
162 _glfwFreeMonitors(monitors, monitorCount); in _glfwInputMonitorChange()
215 void _glfwFreeMonitors(_GLFWmonitor** monitors, int count) in _glfwFreeMonitors() argument
220 _glfwFreeMonitor(monitors[i]); in _glfwFreeMonitors()
222 free(monitors); in _glfwFreeMonitors()
312 return (GLFWmonitor**) _glfw.monitors; in glfwGetMonitors()
322 return (GLFWmonitor*) _glfw.monitors[0]; in glfwGetPrimaryMonitor()