Functions
x11_monitor.c File Reference
#include "internal.h"
#include <limits.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for x11_monitor.c:

Go to the source code of this file.

Functions

void _glfwPlatformFreeMonitor (_GLFWmonitor *monitor)
 
GLFWbool _glfwPlatformGetGammaRamp (_GLFWmonitor *monitor, GLFWgammaramp *ramp)
 
void _glfwPlatformGetMonitorContentScale (_GLFWmonitor *monitor, float *xscale, float *yscale)
 
void _glfwPlatformGetMonitorPos (_GLFWmonitor *monitor, int *xpos, int *ypos)
 
void _glfwPlatformGetVideoMode (_GLFWmonitor *monitor, GLFWvidmode *mode)
 
GLFWvidmode_glfwPlatformGetVideoModes (_GLFWmonitor *monitor, int *count)
 
void _glfwPlatformSetGammaRamp (_GLFWmonitor *monitor, const GLFWgammaramp *ramp)
 
void _glfwPollMonitorsX11 (void)
 
void _glfwRestoreVideoModeX11 (_GLFWmonitor *monitor)
 
void _glfwSetVideoModeX11 (_GLFWmonitor *monitor, const GLFWvidmode *desired)
 
static int calculateRefreshRate (const XRRModeInfo *mi)
 
static const XRRModeInfo * getModeInfo (const XRRScreenResources *sr, RRMode id)
 
GLFWAPI RRCrtc glfwGetX11Adapter (GLFWmonitor *handle)
 
GLFWAPI RROutput glfwGetX11Monitor (GLFWmonitor *handle)
 
static GLFWbool modeIsGood (const XRRModeInfo *mi)
 
static GLFWvidmode vidmodeFromModeInfo (const XRRModeInfo *mi, const XRRCrtcInfo *ci)
 

Function Documentation

◆ _glfwPlatformFreeMonitor()

void _glfwPlatformFreeMonitor ( _GLFWmonitor monitor)

Definition at line 311 of file x11_monitor.c.

◆ _glfwPlatformGetGammaRamp()

GLFWbool _glfwPlatformGetGammaRamp ( _GLFWmonitor monitor,
GLFWgammaramp ramp 
)

Definition at line 425 of file x11_monitor.c.

◆ _glfwPlatformGetMonitorContentScale()

void _glfwPlatformGetMonitorContentScale ( _GLFWmonitor monitor,
float *  xscale,
float *  yscale 
)

Definition at line 335 of file x11_monitor.c.

◆ _glfwPlatformGetMonitorPos()

void _glfwPlatformGetMonitorPos ( _GLFWmonitor monitor,
int *  xpos,
int *  ypos 
)

Definition at line 315 of file x11_monitor.c.

◆ _glfwPlatformGetVideoMode()

void _glfwPlatformGetVideoMode ( _GLFWmonitor monitor,
GLFWvidmode mode 
)

Definition at line 399 of file x11_monitor.c.

◆ _glfwPlatformGetVideoModes()

GLFWvidmode* _glfwPlatformGetVideoModes ( _GLFWmonitor monitor,
int *  count 
)

Definition at line 344 of file x11_monitor.c.

◆ _glfwPlatformSetGammaRamp()

void _glfwPlatformSetGammaRamp ( _GLFWmonitor monitor,
const GLFWgammaramp ramp 
)

Definition at line 463 of file x11_monitor.c.

◆ _glfwPollMonitorsX11()

void _glfwPollMonitorsX11 ( void  )

Definition at line 100 of file x11_monitor.c.

◆ _glfwRestoreVideoModeX11()

void _glfwRestoreVideoModeX11 ( _GLFWmonitor monitor)

Definition at line 277 of file x11_monitor.c.

◆ _glfwSetVideoModeX11()

void _glfwSetVideoModeX11 ( _GLFWmonitor monitor,
const GLFWvidmode desired 
)

Definition at line 219 of file x11_monitor.c.

◆ calculateRefreshRate()

static int calculateRefreshRate ( const XRRModeInfo *  mi)
static

Definition at line 44 of file x11_monitor.c.

◆ getModeInfo()

static const XRRModeInfo* getModeInfo ( const XRRScreenResources *  sr,
RRMode  id 
)
static

Definition at line 54 of file x11_monitor.c.

◆ glfwGetX11Adapter()

GLFWAPI RRCrtc glfwGetX11Adapter ( GLFWmonitor handle)

Definition at line 504 of file x11_monitor.c.

◆ glfwGetX11Monitor()

GLFWAPI RROutput glfwGetX11Monitor ( GLFWmonitor handle)

Definition at line 511 of file x11_monitor.c.

◆ modeIsGood()

static GLFWbool modeIsGood ( const XRRModeInfo *  mi)
static

Definition at line 37 of file x11_monitor.c.

◆ vidmodeFromModeInfo()

static GLFWvidmode vidmodeFromModeInfo ( const XRRModeInfo *  mi,
const XRRCrtcInfo *  ci 
)
static

Definition at line 69 of file x11_monitor.c.



mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:22