Functions
monitor.c File Reference
#include "internal.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)
 Allocates and returns a monitor object with the specified name and dimensions.
const GLFWvidmode_glfwChooseVideoMode (_GLFWmonitor *monitor, const GLFWvidmode *desired)
int _glfwCompareVideoModes (const GLFWvidmode *first, const GLFWvidmode *second)
 Performs lexical comparison between two GLFWvidmode structures.
void _glfwFreeGammaArrays (GLFWgammaramp *ramp)
void _glfwFreeMonitor (_GLFWmonitor *monitor)
 Frees a monitor object and any data associated with it.
void _glfwFreeMonitors (_GLFWmonitor **monitors, int count)
void _glfwInputMonitorChange (void)
void _glfwSplitBPP (int bpp, int *red, int *green, int *blue)
 Splits a color depth into red, green and blue bit depths.
static int compareVideoModes (const void *firstPtr, const void *secondPtr)
GLFWAPI const GLFWgammarampglfwGetGammaRamp (GLFWmonitor *handle)
 Returns the current gamma ramp for the specified monitor.
GLFWAPI const char * glfwGetMonitorName (GLFWmonitor *handle)
 Returns the name of the specified monitor.
GLFWAPI void glfwGetMonitorPhysicalSize (GLFWmonitor *handle, int *widthMM, int *heightMM)
 Returns the physical size of the monitor.
GLFWAPI void glfwGetMonitorPos (GLFWmonitor *handle, int *xpos, int *ypos)
 Returns the position of the monitor's viewport on the virtual screen.
GLFWAPI GLFWmonitor ** glfwGetMonitors (int *count)
 Returns the currently connected monitors.
GLFWAPI GLFWmonitorglfwGetPrimaryMonitor (void)
 Returns the primary monitor.
GLFWAPI const GLFWvidmodeglfwGetVideoMode (GLFWmonitor *handle)
 Returns the current mode of the specified monitor.
GLFWAPI const GLFWvidmodeglfwGetVideoModes (GLFWmonitor *handle, int *count)
 Returns the available video modes for the specified monitor.
GLFWAPI void glfwSetGamma (GLFWmonitor *handle, float gamma)
 Generates a gamma ramp and sets it for the specified monitor.
GLFWAPI void glfwSetGammaRamp (GLFWmonitor *handle, const GLFWgammaramp *ramp)
 Sets the current gamma ramp for the specified monitor.
GLFWAPI GLFWmonitorfun glfwSetMonitorCallback (GLFWmonitorfun cbfun)
 Sets the monitor configuration callback.
static int refreshVideoModes (_GLFWmonitor *monitor)

Function Documentation

static int compareVideoModes ( const void firstPtr,
const void secondPtr 
) [static]

Definition at line 39 of file monitor.c.

static int refreshVideoModes ( _GLFWmonitor monitor) [static]

Definition at line 63 of file monitor.c.



librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Tue Jun 25 2019 19:54:40