RetroArch
Classes | Functions | Variables
android_ctx.c File Reference
#include <stdint.h>
#include <sys/system_properties.h>
#include <formats/image.h>
#include <string/stdstring.h>
#include "../../frontend/drivers/platform_unix.h"
Include dependency graph for android_ctx.c:

Classes

struct  android_ctx_data_t
 

Functions

int system_property_get (const char *cmd, const char *args, char *value)
 
static void android_gfx_ctx_destroy (void *data)
 
static voidandroid_gfx_ctx_init (video_frame_info_t *video_info, void *video_driver)
 
static void android_gfx_ctx_get_video_size (void *data, unsigned *width, unsigned *height)
 
static void android_gfx_ctx_check_window (void *data, bool *quit, bool *resize, unsigned *width, unsigned *height, bool is_shutdown)
 
static bool android_gfx_ctx_set_resize (void *data, unsigned width, unsigned height)
 
static bool android_gfx_ctx_set_video_mode (void *data, video_frame_info_t *video_info, unsigned width, unsigned height, bool fullscreen)
 
static void android_gfx_ctx_input_driver (void *data, const char *joypad_name, const input_driver_t **input, void **input_data)
 
static enum gfx_ctx_api android_gfx_ctx_get_api (void *data)
 
static bool android_gfx_ctx_bind_api (void *data, enum gfx_ctx_api api, unsigned major, unsigned minor)
 
static bool android_gfx_ctx_has_focus (void *data)
 
static bool android_gfx_ctx_suppress_screensaver (void *data, bool enable)
 
static void dpi_get_density (char *s, size_t len)
 
static bool android_gfx_ctx_get_metrics (void *data, enum display_metric_types type, float *value)
 
static void android_gfx_ctx_swap_buffers (void *data, void *data2)
 
static void android_gfx_ctx_set_swap_interval (void *data, int swap_interval)
 
static gfx_ctx_proc_t android_gfx_ctx_get_proc_address (const char *symbol)
 
static void android_gfx_ctx_bind_hw_render (void *data, bool enable)
 
static uint32_t android_gfx_ctx_get_flags (void *data)
 
static void android_gfx_ctx_set_flags (void *data, uint32_t flags)
 

Variables

static enum gfx_ctx_api android_api = GFX_CTX_NONE
 
const gfx_ctx_driver_t gfx_ctx_android
 

Function Documentation

◆ android_gfx_ctx_bind_api()

static bool android_gfx_ctx_bind_api ( void data,
enum gfx_ctx_api  api,
unsigned  major,
unsigned  minor 
)
static

◆ android_gfx_ctx_bind_hw_render()

static void android_gfx_ctx_bind_hw_render ( void data,
bool  enable 
)
static
Here is the call graph for this function:

◆ android_gfx_ctx_check_window()

static void android_gfx_ctx_check_window ( void data,
bool quit,
bool resize,
unsigned *  width,
unsigned *  height,
bool  is_shutdown 
)
static
Here is the call graph for this function:

◆ android_gfx_ctx_destroy()

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

◆ android_gfx_ctx_get_api()

static enum gfx_ctx_api android_gfx_ctx_get_api ( void data)
static

◆ android_gfx_ctx_get_flags()

static uint32_t android_gfx_ctx_get_flags ( void data)
static

◆ android_gfx_ctx_get_metrics()

static bool android_gfx_ctx_get_metrics ( void data,
enum display_metric_types  type,
float *  value 
)
static
Here is the call graph for this function:

◆ android_gfx_ctx_get_proc_address()

static gfx_ctx_proc_t android_gfx_ctx_get_proc_address ( const char *  symbol)
static
Here is the call graph for this function:

◆ android_gfx_ctx_get_video_size()

static void android_gfx_ctx_get_video_size ( void data,
unsigned *  width,
unsigned *  height 
)
static
Here is the call graph for this function:

◆ android_gfx_ctx_has_focus()

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

◆ android_gfx_ctx_init()

static void* android_gfx_ctx_init ( video_frame_info_t video_info,
void video_driver 
)
static
Here is the call graph for this function:

◆ android_gfx_ctx_input_driver()

static void android_gfx_ctx_input_driver ( void data,
const char *  joypad_name,
const input_driver_t **  input,
void **  input_data 
)
static

◆ android_gfx_ctx_set_flags()

static void android_gfx_ctx_set_flags ( void data,
uint32_t  flags 
)
static
Here is the call graph for this function:

◆ android_gfx_ctx_set_resize()

static bool android_gfx_ctx_set_resize ( void data,
unsigned  width,
unsigned  height 
)
static
Here is the call graph for this function:

◆ android_gfx_ctx_set_swap_interval()

static void android_gfx_ctx_set_swap_interval ( void data,
int  swap_interval 
)
static
Here is the call graph for this function:

◆ android_gfx_ctx_set_video_mode()

static bool android_gfx_ctx_set_video_mode ( void data,
video_frame_info_t video_info,
unsigned  width,
unsigned  height,
bool  fullscreen 
)
static
Here is the call graph for this function:

◆ android_gfx_ctx_suppress_screensaver()

static bool android_gfx_ctx_suppress_screensaver ( void data,
bool  enable 
)
static
Here is the call graph for this function:

◆ android_gfx_ctx_swap_buffers()

static void android_gfx_ctx_swap_buffers ( void data,
void data2 
)
static
Here is the call graph for this function:

◆ dpi_get_density()

static void dpi_get_density ( char *  s,
size_t  len 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ system_property_get()

int system_property_get ( const char *  cmd,
const char *  args,
char *  value 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ android_api

enum gfx_ctx_api android_api = GFX_CTX_NONE
static

◆ gfx_ctx_android

const gfx_ctx_driver_t gfx_ctx_android