Lines Matching refs:monitor
26 // This test prints monitor and video mode information or verifies video
95 static void list_modes(GLFWmonitor* monitor)
101 const GLFWvidmode* mode = glfwGetVideoMode(monitor);
102 const GLFWvidmode* modes = glfwGetVideoModes(monitor, &count);
104 glfwGetMonitorPos(monitor, &x, &y);
105 glfwGetMonitorPhysicalSize(monitor, &width_mm, &height_mm);
106 glfwGetMonitorContentScale(monitor, &xscale, &yscale);
107 glfwGetMonitorWorkarea(monitor, &workarea_x, &workarea_y, &workarea_width, &workarea_height);
110 glfwGetMonitorName(monitor),
111 glfwGetPrimaryMonitor() == monitor ? "primary" : "secondary");
134 static void test_modes(GLFWmonitor* monitor)
138 const GLFWvidmode* modes = glfwGetVideoModes(monitor, &count);
150 printf("Testing mode %u on monitor %s: %s\n",
152 glfwGetMonitorName(monitor),