FreeRDP
uwac-output.c File Reference
#include "uwac-priv.h"
#include "uwac-utils.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>

Macros

#define TARGET_OUTPUT_INTERFACE   2U
 

Functions

static bool dupstr (char **dst, const char *src)
 
static void output_handle_geometry (void *data, struct wl_output *wl_output, int x, int y, int physical_width, int physical_height, int subpixel, const char *make, const char *model, int transform)
 
static void output_handle_done (void *data, struct wl_output *wl_output)
 
static void output_handle_scale (void *data, struct wl_output *wl_output, int32_t scale)
 
static void output_handle_name (void *data, struct wl_output *wl_output, const char *name)
 
static void output_handle_description (void *data, struct wl_output *wl_output, const char *description)
 
static void output_handle_mode (void *data, struct wl_output *wl_output, uint32_t flags, int width, int height, int refresh)
 
UwacOutput * UwacCreateOutput (UwacDisplay *d, uint32_t id, uint32_t version)
 
int UwacDestroyOutput (UwacOutput *output)
 

Variables

static const struct wl_output_listener output_listener
 

Macro Definition Documentation

◆ TARGET_OUTPUT_INTERFACE

#define TARGET_OUTPUT_INTERFACE   2U

Function Documentation

◆ dupstr()

static bool dupstr ( char **  dst,
const char *  src 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ output_handle_description()

static void output_handle_description ( void *  data,
struct wl_output *  wl_output,
const char *  description 
)
static
Here is the call graph for this function:

◆ output_handle_done()

static void output_handle_done ( void *  data,
struct wl_output *  wl_output 
)
static

◆ output_handle_geometry()

static void output_handle_geometry ( void *  data,
struct wl_output *  wl_output,
int  x,
int  y,
int  physical_width,
int  physical_height,
int  subpixel,
const char *  make,
const char *  model,
int  transform 
)
static
Here is the call graph for this function:

◆ output_handle_mode()

static void output_handle_mode ( void *  data,
struct wl_output *  wl_output,
uint32_t  flags,
int  width,
int  height,
int  refresh 
)
static

◆ output_handle_name()

static void output_handle_name ( void *  data,
struct wl_output *  wl_output,
const char *  name 
)
static
Here is the call graph for this function:

◆ output_handle_scale()

static void output_handle_scale ( void *  data,
struct wl_output *  wl_output,
int32_t  scale 
)
static

◆ UwacCreateOutput()

UwacOutput* UwacCreateOutput ( UwacDisplay *  d,
uint32_t  id,
uint32_t  version 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ UwacDestroyOutput()

int UwacDestroyOutput ( UwacOutput *  output)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ output_listener

const struct wl_output_listener output_listener
static
Initial value:
= {
}
static void output_handle_scale(void *data, struct wl_output *wl_output, int32_t scale)
Definition: uwac-output.c:86
static void output_handle_geometry(void *data, struct wl_output *wl_output, int x, int y, int physical_width, int physical_height, int subpixel, const char *make, const char *model, int transform)
Definition: uwac-output.c:43
static void output_handle_mode(void *data, struct wl_output *wl_output, uint32_t flags, int width, int height, int refresh)
Definition: uwac-output.c:121
static void output_handle_description(void *data, struct wl_output *wl_output, const char *description)
Definition: uwac-output.c:108
static void output_handle_done(void *data, struct wl_output *wl_output)
Definition: uwac-output.c:78
static void output_handle_name(void *data, struct wl_output *wl_output, const char *name)
Definition: uwac-output.c:96