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

Go to the source code of this file.

Functions

void _glfwAllocGammaArrays (GLFWgammaramp *ramp, unsigned int size)
 
_GLFWmonitor_glfwAllocMonitor (const char *name, int widthMM, int heightMM)
 
const GLFWvidmode_glfwChooseVideoMode (_GLFWmonitor *monitor, const GLFWvidmode *desired)
 
int _glfwCompareVideoModes (const GLFWvidmode *fm, const GLFWvidmode *sm)
 
void _glfwFreeGammaArrays (GLFWgammaramp *ramp)
 
void _glfwFreeMonitor (_GLFWmonitor *monitor)
 
void _glfwInputMonitor (_GLFWmonitor *monitor, int action, int placement)
 
void _glfwInputMonitorWindow (_GLFWmonitor *monitor, _GLFWwindow *window)
 
void _glfwSplitBPP (int bpp, int *red, int *green, int *blue)
 
static int compareVideoModes (const void *fp, const void *sp)
 
GLFWAPI const GLFWgammarampglfwGetGammaRamp (GLFWmonitor *handle)
 Returns the current gamma ramp for the specified monitor. More...
 
GLFWAPI void glfwGetMonitorContentScale (GLFWmonitor *handle, float *xscale, float *yscale)
 Retrieves the content scale for the specified monitor. More...
 
GLFWAPI const char * glfwGetMonitorName (GLFWmonitor *handle)
 Returns the name of the specified monitor. More...
 
GLFWAPI void glfwGetMonitorPhysicalSize (GLFWmonitor *handle, int *widthMM, int *heightMM)
 Returns the physical size of the monitor. More...
 
GLFWAPI void glfwGetMonitorPos (GLFWmonitor *handle, int *xpos, int *ypos)
 Returns the position of the monitor's viewport on the virtual screen. More...
 
GLFWAPI GLFWmonitor ** glfwGetMonitors (int *count)
 Returns the currently connected monitors. More...
 
GLFWAPI voidglfwGetMonitorUserPointer (GLFWmonitor *handle)
 Returns the user pointer of the specified monitor. More...
 
GLFWAPI GLFWmonitorglfwGetPrimaryMonitor (void)
 Returns the primary monitor. More...
 
GLFWAPI const GLFWvidmodeglfwGetVideoMode (GLFWmonitor *handle)
 Returns the current mode of the specified monitor. More...
 
GLFWAPI const GLFWvidmodeglfwGetVideoModes (GLFWmonitor *handle, int *count)
 Returns the available video modes for the specified monitor. More...
 
GLFWAPI void glfwSetGamma (GLFWmonitor *handle, float gamma)
 Generates a gamma ramp and sets it for the specified monitor. More...
 
GLFWAPI void glfwSetGammaRamp (GLFWmonitor *handle, const GLFWgammaramp *ramp)
 Sets the current gamma ramp for the specified monitor. More...
 
GLFWAPI GLFWmonitorfun glfwSetMonitorCallback (GLFWmonitorfun cbfun)
 Sets the monitor configuration callback. More...
 
GLFWAPI void glfwSetMonitorUserPointer (GLFWmonitor *handle, void *pointer)
 Sets the user pointer of the specified monitor. More...
 
static GLFWbool refreshVideoModes (_GLFWmonitor *monitor)
 

Function Documentation

void _glfwAllocGammaArrays ( GLFWgammaramp ramp,
unsigned int  size 
)

Definition at line 192 of file monitor.c.

_GLFWmonitor* _glfwAllocMonitor ( const char *  name,
int  widthMM,
int  heightMM 
)

Definition at line 161 of file monitor.c.

const GLFWvidmode* _glfwChooseVideoMode ( _GLFWmonitor monitor,
const GLFWvidmode desired 
)

Definition at line 213 of file monitor.c.

int _glfwCompareVideoModes ( const GLFWvidmode fm,
const GLFWvidmode sm 
)

Definition at line 265 of file monitor.c.

void _glfwFreeGammaArrays ( GLFWgammaramp ramp)

Definition at line 202 of file monitor.c.

void _glfwFreeMonitor ( _GLFWmonitor monitor)

Definition at line 175 of file monitor.c.

void _glfwInputMonitor ( _GLFWmonitor monitor,
int  action,
int  placement 
)

Definition at line 91 of file monitor.c.

void _glfwInputMonitorWindow ( _GLFWmonitor monitor,
_GLFWwindow window 
)

Definition at line 149 of file monitor.c.

void _glfwSplitBPP ( int  bpp,
int *  red,
int *  green,
int *  blue 
)

Definition at line 272 of file monitor.c.

static int compareVideoModes ( const void fp,
const void sp 
)
static

Definition at line 40 of file monitor.c.

static GLFWbool refreshVideoModes ( _GLFWmonitor monitor)
static

Definition at line 63 of file monitor.c.



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