Enumerations | Functions
monitors.c File Reference
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "getopt.h"
Include dependency graph for monitors.c:

Go to the source code of this file.

Enumerations

enum  Mode { LIST_MODE, TEST_MODE }
 

Functions

static void error_callback (int error, const char *description)
 
static int euclid (int a, int b)
 
static const char * format_mode (const GLFWvidmode *mode)
 
static void framebuffer_size_callback (GLFWwindow *window, int width, int height)
 
static void key_callback (GLFWwindow *window, int key, int scancode, int action, int mods)
 
static void list_modes (GLFWmonitor *monitor)
 
int main (int argc, char **argv)
 
static void test_modes (GLFWmonitor *monitor)
 
static void usage (void)
 

Enumeration Type Documentation

enum Mode
Enumerator
LIST_MODE 
TEST_MODE 

Definition at line 40 of file monitors.c.

Function Documentation

static void error_callback ( int  error,
const char *  description 
)
static

Definition at line 75 of file monitors.c.

static int euclid ( int  a,
int  b 
)
static

Definition at line 52 of file monitors.c.

static const char* format_mode ( const GLFWvidmode mode)
static

Definition at line 57 of file monitors.c.

static void framebuffer_size_callback ( GLFWwindow window,
int  width,
int  height 
)
static

Definition at line 80 of file monitors.c.

static void key_callback ( GLFWwindow window,
int  key,
int  scancode,
int  action,
int  mods 
)
static

Definition at line 87 of file monitors.c.

static void list_modes ( GLFWmonitor monitor)
static

Definition at line 93 of file monitors.c.

int main ( int  argc,
char **  argv 
)

Definition at line 215 of file monitors.c.

static void test_modes ( GLFWmonitor monitor)
static

Definition at line 127 of file monitors.c.

static void usage ( void  )
static

Definition at line 46 of file monitors.c.



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