RetroArch
Classes | Macros | Functions | Variables
qnx_ctx.c File Reference
#include <stdint.h>
#include <bps/screen.h>
#include <bps/navigator.h>
#include <bps/event.h>
#include <screen/screen.h>
#include <sys/platform.h>
#include "../../configuration.h"
Include dependency graph for qnx_ctx.c:

Classes

struct  qnx_ctx_data_t
 

Macros

#define WINDOW_BUFFERS   2
 

Functions

static void gfx_ctx_qnx_destroy (void *data)
 
static voidgfx_ctx_qnx_init (video_frame_info_t *video_info, void *video_driver)
 
static void gfx_ctx_qnx_get_video_size (void *data, unsigned *width, unsigned *height)
 
static void gfx_ctx_qnx_check_window (void *data, bool *quit, bool *resize, unsigned *width, unsigned *height, bool is_shutdown)
 
static bool gfx_ctx_qnx_set_video_mode (void *data, video_frame_info_t *video_info, unsigned width, unsigned height, bool fullscreen)
 
static void gfx_ctx_qnx_input_driver (void *data, const char *joypad_name, const input_driver_t **input, void **input_data)
 
static enum gfx_ctx_api gfx_ctx_qnx_get_api (void *data)
 
static bool gfx_ctx_qnx_bind_api (void *data, enum gfx_ctx_api api, unsigned major, unsigned minor)
 
static bool gfx_ctx_qnx_has_focus (void *data)
 
static bool gfx_ctx_qnx_suppress_screensaver (void *data, bool enable)
 
static int dpi_get_density (qnx_ctx_data_t *qnx)
 
static bool gfx_ctx_qnx__get_metrics (void *data, enum display_metric_types type, float *value)
 
static void gfx_ctx_qnx_set_swap_interval (void *data, int swap_interval)
 
static void gfx_ctx_qnx_swap_buffers (void *data, void *data2)
 
static void gfx_ctx_qnx_bind_hw_render (void *data, bool enable)
 
static gfx_ctx_proc_t gfx_ctx_qnx_get_proc_address (const char *symbol)
 
static uint32_t gfx_ctx_qnx_get_flags (void *data)
 
static void gfx_ctx_qnx_set_flags (void *data, uint32_t flags)
 

Variables

screen_context_t screen_ctx
 
screen_window_t screen_win
 
static enum gfx_ctx_api qnx_api = GFX_CTX_NONE
 
const gfx_ctx_driver_t gfx_ctx_qnx
 

Macro Definition Documentation

◆ WINDOW_BUFFERS

#define WINDOW_BUFFERS   2

Function Documentation

◆ dpi_get_density()

static int dpi_get_density ( qnx_ctx_data_t qnx)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ gfx_ctx_qnx__get_metrics()

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

◆ gfx_ctx_qnx_bind_api()

static bool gfx_ctx_qnx_bind_api ( void data,
enum gfx_ctx_api  api,
unsigned  major,
unsigned  minor 
)
static
Here is the call graph for this function:

◆ gfx_ctx_qnx_bind_hw_render()

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

◆ gfx_ctx_qnx_check_window()

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

◆ gfx_ctx_qnx_destroy()

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

◆ gfx_ctx_qnx_get_api()

static enum gfx_ctx_api gfx_ctx_qnx_get_api ( void data)
static

◆ gfx_ctx_qnx_get_flags()

static uint32_t gfx_ctx_qnx_get_flags ( void data)
static

◆ gfx_ctx_qnx_get_proc_address()

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

◆ gfx_ctx_qnx_get_video_size()

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

◆ gfx_ctx_qnx_has_focus()

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

◆ gfx_ctx_qnx_init()

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

◆ gfx_ctx_qnx_input_driver()

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

◆ gfx_ctx_qnx_set_flags()

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

◆ gfx_ctx_qnx_set_swap_interval()

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

◆ gfx_ctx_qnx_set_video_mode()

static bool gfx_ctx_qnx_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:

◆ gfx_ctx_qnx_suppress_screensaver()

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

◆ gfx_ctx_qnx_swap_buffers()

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

Variable Documentation

◆ gfx_ctx_qnx

const gfx_ctx_driver_t gfx_ctx_qnx

◆ qnx_api

enum gfx_ctx_api qnx_api = GFX_CTX_NONE
static

◆ screen_ctx

screen_context_t screen_ctx

◆ screen_win

screen_window_t screen_win