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)
 
void _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

void _glfwPlatformFreeMonitor ( _GLFWmonitor monitor)

Definition at line 311 of file x11_monitor.c.

void _glfwPlatformGetGammaRamp ( _GLFWmonitor monitor,
GLFWgammaramp ramp 
)

Definition at line 425 of file x11_monitor.c.

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

Definition at line 335 of file x11_monitor.c.

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

Definition at line 315 of file x11_monitor.c.

void _glfwPlatformGetVideoMode ( _GLFWmonitor monitor,
GLFWvidmode mode 
)

Definition at line 399 of file x11_monitor.c.

GLFWvidmode* _glfwPlatformGetVideoModes ( _GLFWmonitor monitor,
int *  count 
)

Definition at line 344 of file x11_monitor.c.

void _glfwPlatformSetGammaRamp ( _GLFWmonitor monitor,
const GLFWgammaramp ramp 
)

Definition at line 455 of file x11_monitor.c.

void _glfwPollMonitorsX11 ( void  )

Definition at line 100 of file x11_monitor.c.

void _glfwRestoreVideoModeX11 ( _GLFWmonitor monitor)

Definition at line 277 of file x11_monitor.c.

void _glfwSetVideoModeX11 ( _GLFWmonitor monitor,
const GLFWvidmode desired 
)

Definition at line 219 of file x11_monitor.c.

static int calculateRefreshRate ( const XRRModeInfo *  mi)
static

Definition at line 44 of file x11_monitor.c.

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

Definition at line 54 of file x11_monitor.c.

GLFWAPI RRCrtc glfwGetX11Adapter ( GLFWmonitor handle)

Definition at line 491 of file x11_monitor.c.

GLFWAPI RROutput glfwGetX11Monitor ( GLFWmonitor handle)

Definition at line 498 of file x11_monitor.c.

static GLFWbool modeIsGood ( const XRRModeInfo *  mi)
static

Definition at line 37 of file x11_monitor.c.

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

Definition at line 69 of file x11_monitor.c.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:31