RetroArch
Classes | Functions | Variables
vc_egl_ctx.c File Reference
#include <stdint.h>
#include <errno.h>
#include <signal.h>
#include <unistd.h>
#include <sched.h>
#include <VG/openvg.h>
#include <bcm_host.h>
#include <rthreads/rthreads.h>
#include <retro_inline.h>
#include "../../configuration.h"
#include "../video_driver.h"
#include "../../frontend/frontend_driver.h"
Include dependency graph for vc_egl_ctx.c:

Classes

struct  vc_ctx_data_t
 

Functions

static INLINE bool gfx_ctx_vc_egl_query_extension (vc_ctx_data_t *vc, const char *ext)
 
static void gfx_ctx_vc_check_window (void *data, bool *quit, bool *resize, unsigned *width, unsigned *height, bool is_shutdown)
 
static void gfx_ctx_vc_get_video_size (void *data, unsigned *width, unsigned *height)
 
static void dispmanx_vsync_callback (DISPMANX_UPDATE_HANDLE_T u, void *data)
 
static void gfx_ctx_vc_destroy (void *data)
 
static voidgfx_ctx_vc_init (video_frame_info_t *video_info, void *video_driver)
 
static void gfx_ctx_vc_set_swap_interval (void *data, int swap_interval)
 
static bool gfx_ctx_vc_set_video_mode (void *data, video_frame_info_t *video_info, unsigned width, unsigned height, bool fullscreen)
 
static enum gfx_ctx_api gfx_ctx_vc_get_api (void *data)
 
static bool gfx_ctx_vc_bind_api (void *data, enum gfx_ctx_api api, unsigned major, unsigned minor)
 
static void gfx_ctx_vc_input_driver (void *data, const char *name, const input_driver_t **input, void **input_data)
 
static bool gfx_ctx_vc_has_focus (void *data)
 
static bool gfx_ctx_vc_suppress_screensaver (void *data, bool enable)
 
static float gfx_ctx_vc_translate_aspect (void *data, unsigned width, unsigned height)
 
static bool gfx_ctx_vc_image_buffer_init (void *data, const video_info_t *video)
 
static bool gfx_ctx_vc_image_buffer_write (void *data, const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, unsigned index, void **image_handle)
 
static void gfx_ctx_vc_swap_buffers (void *data, void *data2)
 
static void gfx_ctx_vc_bind_hw_render (void *data, bool enable)
 
static gfx_ctx_proc_t gfx_ctx_vc_get_proc_address (const char *symbol)
 
static uint32_t gfx_ctx_vc_get_flags (void *data)
 
static void gfx_ctx_vc_set_flags (void *data, uint32_t flags)
 

Variables

static enum gfx_ctx_api vc_api = GFX_CTX_NONE
 
static PFNEGLCREATEIMAGEKHRPROC peglCreateImageKHR
 
static PFNEGLDESTROYIMAGEKHRPROC peglDestroyImageKHR
 
const gfx_ctx_driver_t gfx_ctx_videocore
 

Function Documentation

◆ dispmanx_vsync_callback()

static void dispmanx_vsync_callback ( DISPMANX_UPDATE_HANDLE_T  u,
void data 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ gfx_ctx_vc_bind_api()

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

◆ gfx_ctx_vc_bind_hw_render()

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

◆ gfx_ctx_vc_check_window()

static void gfx_ctx_vc_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_vc_destroy()

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

◆ gfx_ctx_vc_egl_query_extension()

static INLINE bool gfx_ctx_vc_egl_query_extension ( vc_ctx_data_t vc,
const char *  ext 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ gfx_ctx_vc_get_api()

static enum gfx_ctx_api gfx_ctx_vc_get_api ( void data)
static

◆ gfx_ctx_vc_get_flags()

static uint32_t gfx_ctx_vc_get_flags ( void data)
static

◆ gfx_ctx_vc_get_proc_address()

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

◆ gfx_ctx_vc_get_video_size()

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

◆ gfx_ctx_vc_has_focus()

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

◆ gfx_ctx_vc_image_buffer_init()

static bool gfx_ctx_vc_image_buffer_init ( void data,
const video_info_t video 
)
static
Here is the call graph for this function:

◆ gfx_ctx_vc_image_buffer_write()

static bool gfx_ctx_vc_image_buffer_write ( void data,
const void frame,
unsigned  width,
unsigned  height,
unsigned  pitch,
bool  rgb32,
unsigned  index,
void **  image_handle 
)
static
Here is the call graph for this function:

◆ gfx_ctx_vc_init()

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

◆ gfx_ctx_vc_input_driver()

static void gfx_ctx_vc_input_driver ( void data,
const char *  name,
const input_driver_t **  input,
void **  input_data 
)
static

◆ gfx_ctx_vc_set_flags()

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

◆ gfx_ctx_vc_set_swap_interval()

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

◆ gfx_ctx_vc_set_video_mode()

static bool gfx_ctx_vc_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_vc_suppress_screensaver()

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

◆ gfx_ctx_vc_swap_buffers()

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

◆ gfx_ctx_vc_translate_aspect()

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

Variable Documentation

◆ gfx_ctx_videocore

const gfx_ctx_driver_t gfx_ctx_videocore

◆ peglCreateImageKHR

PFNEGLCREATEIMAGEKHRPROC peglCreateImageKHR
static

◆ peglDestroyImageKHR

PFNEGLDESTROYIMAGEKHRPROC peglDestroyImageKHR
static

◆ vc_api

enum gfx_ctx_api vc_api = GFX_CTX_NONE
static