RetroArch
Classes | Functions | Variables
dispserv_x11.c File Reference
#include <compat/strl.h>
#include <sys/types.h>
#include <unistd.h>
#include "../../config.h"
#include "../video_display_server.h"
#include "../common/x11_common.h"
#include "../../configuration.h"
#include "../video_driver.h"
#include "../video_crt_switch.h"
Include dependency graph for dispserv_x11.c:

Classes

struct  dispserv_x11_t
 

Functions

static voidx11_display_server_init (void)
 
static void x11_display_server_destroy (void *data)
 
static bool x11_display_server_set_window_opacity (void *data, unsigned opacity)
 
static bool x11_display_server_set_window_decorations (void *data, bool on)
 
static bool x11_display_server_set_resolution (void *data, unsigned width, unsigned height, int int_hz, float hz, int center)
 
const char * x11_display_server_get_output_options (void *data)
 

Variables

static unsigned orig_width = 0
 
static unsigned orig_height = 0
 
static char old_mode [250] = {0}
 
static char new_mode [250] = {0}
 
static char xrandr [250] = {0}
 
static char fbset [150] = {0}
 
static char output [500] = {0}
 
static bool crt_en = false
 
const video_display_server_t dispserv_x11
 

Function Documentation

◆ x11_display_server_destroy()

static void x11_display_server_destroy ( void data)
static
Here is the call graph for this function:

◆ x11_display_server_get_output_options()

const char* x11_display_server_get_output_options ( void data)

◆ x11_display_server_init()

static void* x11_display_server_init ( void  )
static

◆ x11_display_server_set_resolution()

static bool x11_display_server_set_resolution ( void data,
unsigned  width,
unsigned  height,
int  int_hz,
float  hz,
int  center 
)
static
Here is the call graph for this function:

◆ x11_display_server_set_window_decorations()

static bool x11_display_server_set_window_decorations ( void data,
bool  on 
)
static

◆ x11_display_server_set_window_opacity()

static bool x11_display_server_set_window_opacity ( void data,
unsigned  opacity 
)
static

Variable Documentation

◆ crt_en

bool crt_en = false
static

◆ dispserv_x11

Initial value:
= {
NULL,
NULL,
"x11"
}
static void * x11_display_server_init(void)
Definition: dispserv_x11.c:50
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static bool x11_display_server_set_window_decorations(void *data, bool on)
Definition: dispserv_x11.c:115
static void x11_display_server_destroy(void *data)
Definition: dispserv_x11.c:60
static bool x11_display_server_set_resolution(void *data, unsigned width, unsigned height, int int_hz, float hz, int center)
Definition: dispserv_x11.c:128
const char * x11_display_server_get_output_options(void *data)
Definition: dispserv_x11.c:294
static bool x11_display_server_set_window_opacity(void *data, unsigned opacity)
Definition: dispserv_x11.c:96

◆ fbset

char fbset[150] = {0}
static

◆ new_mode

char new_mode[250] = {0}
static

◆ old_mode

char old_mode[250] = {0}
static

◆ orig_height

unsigned orig_height = 0
static

◆ orig_width

unsigned orig_width = 0
static

◆ output

char output[500] = {0}
static

◆ xrandr

char xrandr[250] = {0}
static