Lines Matching full:monitor
34 // The the sole (fake) video mode of our (sole) fake monitor
56 _GLFWmonitor* monitor = _glfwAllocMonitor("Null SuperNoop 0", in _glfwPollMonitorsNull() local
59 _glfwInputMonitor(monitor, GLFW_CONNECTED, _GLFW_INSERT_FIRST); in _glfwPollMonitorsNull()
66 void _glfwFreeMonitorNull(_GLFWmonitor* monitor) in _glfwFreeMonitorNull() argument
68 _glfwFreeGammaArrays(&monitor->null.ramp); in _glfwFreeMonitorNull()
71 void _glfwGetMonitorPosNull(_GLFWmonitor* monitor, int* xpos, int* ypos) in _glfwGetMonitorPosNull() argument
79 void _glfwGetMonitorContentScaleNull(_GLFWmonitor* monitor, in _glfwGetMonitorContentScaleNull() argument
88 void _glfwGetMonitorWorkareaNull(_GLFWmonitor* monitor, in _glfwGetMonitorWorkareaNull() argument
104 GLFWvidmode* _glfwGetVideoModesNull(_GLFWmonitor* monitor, int* found) in _glfwGetVideoModesNull() argument
112 GLFWbool _glfwGetVideoModeNull(_GLFWmonitor* monitor, GLFWvidmode* mode) in _glfwGetVideoModeNull() argument
118 GLFWbool _glfwGetGammaRampNull(_GLFWmonitor* monitor, GLFWgammaramp* ramp) in _glfwGetGammaRampNull() argument
120 if (!monitor->null.ramp.size) in _glfwGetGammaRampNull()
124 _glfwAllocGammaArrays(&monitor->null.ramp, 256); in _glfwGetGammaRampNull()
126 for (i = 0; i < monitor->null.ramp.size; i++) in _glfwGetGammaRampNull()
130 value = i / (float) (monitor->null.ramp.size - 1); in _glfwGetGammaRampNull()
134 monitor->null.ramp.red[i] = (unsigned short) value; in _glfwGetGammaRampNull()
135 monitor->null.ramp.green[i] = (unsigned short) value; in _glfwGetGammaRampNull()
136 monitor->null.ramp.blue[i] = (unsigned short) value; in _glfwGetGammaRampNull()
140 _glfwAllocGammaArrays(ramp, monitor->null.ramp.size); in _glfwGetGammaRampNull()
141 memcpy(ramp->red, monitor->null.ramp.red, sizeof(short) * ramp->size); in _glfwGetGammaRampNull()
142 memcpy(ramp->green, monitor->null.ramp.green, sizeof(short) * ramp->size); in _glfwGetGammaRampNull()
143 memcpy(ramp->blue, monitor->null.ramp.blue, sizeof(short) * ramp->size); in _glfwGetGammaRampNull()
147 void _glfwSetGammaRampNull(_GLFWmonitor* monitor, const GLFWgammaramp* ramp) in _glfwSetGammaRampNull() argument
149 if (monitor->null.ramp.size != ramp->size) in _glfwSetGammaRampNull()
156 memcpy(monitor->null.ramp.red, ramp->red, sizeof(short) * ramp->size); in _glfwSetGammaRampNull()
157 memcpy(monitor->null.ramp.green, ramp->green, sizeof(short) * ramp->size); in _glfwSetGammaRampNull()
158 memcpy(monitor->null.ramp.blue, ramp->blue, sizeof(short) * ramp->size); in _glfwSetGammaRampNull()