Functions | Variables
wl_monitor.c File Reference
#include "internal.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
Include dependency graph for wl_monitor.c:

Go to the source code of this file.

Functions

void _glfwAddOutputWayland (uint32_t name, uint32_t version)
 
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 *found)
 
void _glfwPlatformSetGammaRamp (_GLFWmonitor *monitor, const GLFWgammaramp *ramp)
 
GLFWAPI struct wl_output * glfwGetWaylandMonitor (GLFWmonitor *handle)
 
static void outputHandleDone (void *data, struct wl_output *output)
 
static void outputHandleGeometry (void *data, struct wl_output *output, int32_t x, int32_t y, int32_t physicalWidth, int32_t physicalHeight, int32_t subpixel, const char *make, const char *model, int32_t transform)
 
static void outputHandleMode (void *data, struct wl_output *output, uint32_t flags, int32_t width, int32_t height, int32_t refresh)
 
static void outputHandleScale (void *data, struct wl_output *output, int32_t factor)
 

Variables

static const struct wl_output_listener outputListener
 

Function Documentation

void _glfwAddOutputWayland ( uint32_t  name,
uint32_t  version 
)

Definition at line 112 of file wl_monitor.c.

void _glfwPlatformFreeMonitor ( _GLFWmonitor monitor)

Definition at line 149 of file wl_monitor.c.

void _glfwPlatformGetGammaRamp ( _GLFWmonitor monitor,
GLFWgammaramp ramp 
)

Definition at line 183 of file wl_monitor.c.

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

Definition at line 163 of file wl_monitor.c.

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

Definition at line 155 of file wl_monitor.c.

void _glfwPlatformGetVideoMode ( _GLFWmonitor monitor,
GLFWvidmode mode 
)

Definition at line 178 of file wl_monitor.c.

GLFWvidmode* _glfwPlatformGetVideoModes ( _GLFWmonitor monitor,
int *  found 
)

Definition at line 172 of file wl_monitor.c.

void _glfwPlatformSetGammaRamp ( _GLFWmonitor monitor,
const GLFWgammaramp ramp 
)

Definition at line 190 of file wl_monitor.c.

GLFWAPI struct wl_output* glfwGetWaylandMonitor ( GLFWmonitor handle)

Definition at line 203 of file wl_monitor.c.

static void outputHandleDone ( void data,
struct wl_output *  output 
)
static

Definition at line 84 of file wl_monitor.c.

static void outputHandleGeometry ( void data,
struct wl_output *  output,
int32_t  x,
int32_t  y,
int32_t  physicalWidth,
int32_t  physicalHeight,
int32_t  subpixel,
const char *  make,
const char *  model,
int32_t  transform 
)
static

Definition at line 35 of file wl_monitor.c.

static void outputHandleMode ( void data,
struct wl_output *  output,
uint32_t  flags,
int32_t  width,
int32_t  height,
int32_t  refresh 
)
static

Definition at line 58 of file wl_monitor.c.

static void outputHandleScale ( void data,
struct wl_output *  output,
int32_t  factor 
)
static

Definition at line 91 of file wl_monitor.c.

Variable Documentation

const struct wl_output_listener outputListener
static
Initial value:
= {
}
static void outputHandleGeometry(void *data, struct wl_output *output, int32_t x, int32_t y, int32_t physicalWidth, int32_t physicalHeight, int32_t subpixel, const char *make, const char *model, int32_t transform)
Definition: wl_monitor.c:35
static void outputHandleDone(void *data, struct wl_output *output)
Definition: wl_monitor.c:84
static void outputHandleScale(void *data, struct wl_output *output, int32_t factor)
Definition: wl_monitor.c:91
static void outputHandleMode(void *data, struct wl_output *output, uint32_t flags, int32_t width, int32_t height, int32_t refresh)
Definition: wl_monitor.c:58

Definition at line 100 of file wl_monitor.c.



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