• Home
  • Raw
  • Download

Lines Matching refs:_glfw

87     _glfwSplitBPP(DefaultDepth(_glfw.x11.display, _glfw.x11.screen),  in vidmodeFromModeInfo()
102 if (_glfw.x11.randr.available && !_glfw.x11.randr.monitorBroken) in _glfwSetVideoModeX11()
117 sr = XRRGetScreenResources(_glfw.x11.display, _glfw.x11.root); in _glfwSetVideoModeX11()
118 ci = XRRGetCrtcInfo(_glfw.x11.display, sr, monitor->x11.crtc); in _glfwSetVideoModeX11()
119 oi = XRRGetOutputInfo(_glfw.x11.display, sr, monitor->x11.output); in _glfwSetVideoModeX11()
140 XRRSetCrtcConfig(_glfw.x11.display, in _glfwSetVideoModeX11()
169 if (_glfw.x11.randr.available && !_glfw.x11.randr.monitorBroken) in _glfwRestoreVideoModeX11()
177 sr = XRRGetScreenResources(_glfw.x11.display, _glfw.x11.root); in _glfwRestoreVideoModeX11()
178 ci = XRRGetCrtcInfo(_glfw.x11.display, sr, monitor->x11.crtc); in _glfwRestoreVideoModeX11()
180 XRRSetCrtcConfig(_glfw.x11.display, in _glfwRestoreVideoModeX11()
208 if (_glfw.x11.randr.available) in _glfwPlatformGetMonitors()
212 XRRScreenResources* sr = XRRGetScreenResources(_glfw.x11.display, in _glfwPlatformGetMonitors()
213 _glfw.x11.root); in _glfwPlatformGetMonitors()
214 RROutput primary = XRRGetOutputPrimary(_glfw.x11.display, in _glfwPlatformGetMonitors()
215 _glfw.x11.root); in _glfwPlatformGetMonitors()
219 if (_glfw.x11.xinerama.available) in _glfwPlatformGetMonitors()
220 screens = XineramaQueryScreens(_glfw.x11.display, &screenCount); in _glfwPlatformGetMonitors()
224 XRRCrtcInfo* ci = XRRGetCrtcInfo(_glfw.x11.display, in _glfwPlatformGetMonitors()
231 XRROutputInfo* oi = XRRGetOutputInfo(_glfw.x11.display, in _glfwPlatformGetMonitors()
288 _glfw.x11.randr.monitorBroken = GLFW_TRUE; in _glfwPlatformGetMonitors()
298 DisplayWidthMM(_glfw.x11.display, in _glfwPlatformGetMonitors()
299 _glfw.x11.screen), in _glfwPlatformGetMonitors()
300 DisplayHeightMM(_glfw.x11.display, in _glfwPlatformGetMonitors()
301 _glfw.x11.screen)); in _glfwPlatformGetMonitors()
316 if (_glfw.x11.randr.available && !_glfw.x11.randr.monitorBroken) in _glfwPlatformGetMonitorPos()
321 sr = XRRGetScreenResourcesCurrent(_glfw.x11.display, _glfw.x11.root); in _glfwPlatformGetMonitorPos()
322 ci = XRRGetCrtcInfo(_glfw.x11.display, sr, monitor->x11.crtc); in _glfwPlatformGetMonitorPos()
340 if (_glfw.x11.randr.available && !_glfw.x11.randr.monitorBroken) in _glfwPlatformGetVideoModes()
347 sr = XRRGetScreenResourcesCurrent(_glfw.x11.display, _glfw.x11.root); in _glfwPlatformGetVideoModes()
348 ci = XRRGetCrtcInfo(_glfw.x11.display, sr, monitor->x11.crtc); in _glfwPlatformGetVideoModes()
349 oi = XRRGetOutputInfo(_glfw.x11.display, sr, monitor->x11.output); in _glfwPlatformGetVideoModes()
391 if (_glfw.x11.randr.available && !_glfw.x11.randr.monitorBroken) in _glfwPlatformGetVideoMode()
396 sr = XRRGetScreenResourcesCurrent(_glfw.x11.display, _glfw.x11.root); in _glfwPlatformGetVideoMode()
397 ci = XRRGetCrtcInfo(_glfw.x11.display, sr, monitor->x11.crtc); in _glfwPlatformGetVideoMode()
406 mode->width = DisplayWidth(_glfw.x11.display, _glfw.x11.screen); in _glfwPlatformGetVideoMode()
407 mode->height = DisplayHeight(_glfw.x11.display, _glfw.x11.screen); in _glfwPlatformGetVideoMode()
410 _glfwSplitBPP(DefaultDepth(_glfw.x11.display, _glfw.x11.screen), in _glfwPlatformGetVideoMode()
417 if (_glfw.x11.randr.available && !_glfw.x11.randr.gammaBroken) in _glfwPlatformGetGammaRamp()
419 const size_t size = XRRGetCrtcGammaSize(_glfw.x11.display, in _glfwPlatformGetGammaRamp()
421 XRRCrtcGamma* gamma = XRRGetCrtcGamma(_glfw.x11.display, in _glfwPlatformGetGammaRamp()
433 else if (_glfw.x11.vidmode.available) in _glfwPlatformGetGammaRamp()
436 XF86VidModeGetGammaRampSize(_glfw.x11.display, _glfw.x11.screen, &size); in _glfwPlatformGetGammaRamp()
440 XF86VidModeGetGammaRamp(_glfw.x11.display, in _glfwPlatformGetGammaRamp()
441 _glfw.x11.screen, in _glfwPlatformGetGammaRamp()
449 if (_glfw.x11.randr.available && !_glfw.x11.randr.gammaBroken) in _glfwPlatformSetGammaRamp()
457 XRRSetCrtcGamma(_glfw.x11.display, monitor->x11.crtc, gamma); in _glfwPlatformSetGammaRamp()
461 else if (_glfw.x11.vidmode.available) in _glfwPlatformSetGammaRamp()
463 XF86VidModeSetGammaRamp(_glfw.x11.display, in _glfwPlatformSetGammaRamp()
464 _glfw.x11.screen, in _glfwPlatformSetGammaRamp()