RetroArch
Classes | Functions | Variables
dispmanx_gfx.c File Reference
#include <bcm_host.h>
#include <rthreads/rthreads.h>
#include "../../driver.h"
#include "../../retroarch.h"
#include "../font_driver.h"
Include dependency graph for dispmanx_gfx.c:

Classes

struct  dispmanx_page
 
struct  dispmanx_surface
 
struct  dispmanx_video
 

Functions

static struct dispmanx_pagedispmanx_get_free_page (struct dispmanx_video *_dispvars, struct dispmanx_surface *surface)
 
static void dispmanx_vsync_callback (DISPMANX_UPDATE_HANDLE_T u, void *data)
 
static void dispmanx_surface_free (struct dispmanx_video *_dispvars, struct dispmanx_surface **sp)
 
static void dispmanx_surface_setup (struct dispmanx_video *_dispvars, int src_width, int src_height, int visible_pitch, int bpp, VC_IMAGE_TYPE_T pixformat, int alpha, float aspect, int numpages, int layer, struct dispmanx_surface **sp)
 
static void dispmanx_surface_update_async (const void *frame, struct dispmanx_surface *surface)
 
static void dispmanx_surface_update (struct dispmanx_video *_dispvars, const void *frame, struct dispmanx_surface *surface)
 
static void dispmanx_set_scaling (bool bilinear_filter)
 
static void dispmanx_blank_console (struct dispmanx_video *_dispvars)
 
static voiddispmanx_gfx_init (const video_info_t *video, const input_driver_t **input, void **input_data)
 
static bool dispmanx_gfx_frame (void *data, const void *frame, unsigned width, unsigned height, uint64_t frame_count, unsigned pitch, const char *msg, video_frame_info_t *video_info)
 
static void dispmanx_set_texture_enable (void *data, bool state, bool full_screen)
 
static void dispmanx_set_texture_frame (void *data, const void *frame, bool rgb32, unsigned width, unsigned height, float alpha)
 
static void dispmanx_gfx_set_nonblock_state (void *data, bool state)
 
static bool dispmanx_gfx_alive (void *data)
 
static bool dispmanx_gfx_focus (void *data)
 
static void dispmanx_gfx_viewport_info (void *data, struct video_viewport *vp)
 
static bool dispmanx_gfx_suppress_screensaver (void *data, bool enable)
 
static bool dispmanx_gfx_set_shader (void *data, enum rarch_shader_type type, const char *path)
 
static void dispmanx_gfx_set_rotation (void *data, unsigned rotation)
 
static bool dispmanx_gfx_read_viewport (void *data, uint8_t *buffer, bool is_idle)
 
static void dispmanx_set_aspect_ratio (void *data, unsigned aspect_ratio_idx)
 
static void dispmanx_gfx_get_poke_interface (void *data, const video_poke_interface_t **iface)
 
static void dispmanx_gfx_free (void *data)
 

Variables

static const video_poke_interface_t dispmanx_poke_interface
 
video_driver_t video_dispmanx
 

Function Documentation

◆ dispmanx_blank_console()

static void dispmanx_blank_console ( struct dispmanx_video _dispvars)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dispmanx_get_free_page()

static struct dispmanx_page* dispmanx_get_free_page ( struct dispmanx_video _dispvars,
struct dispmanx_surface surface 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dispmanx_gfx_alive()

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

◆ dispmanx_gfx_focus()

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

◆ dispmanx_gfx_frame()

static bool dispmanx_gfx_frame ( void data,
const void frame,
unsigned  width,
unsigned  height,
uint64_t  frame_count,
unsigned  pitch,
const char *  msg,
video_frame_info_t video_info 
)
static
Here is the call graph for this function:

◆ dispmanx_gfx_free()

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

◆ dispmanx_gfx_get_poke_interface()

static void dispmanx_gfx_get_poke_interface ( void data,
const video_poke_interface_t **  iface 
)
static
Here is the call graph for this function:

◆ dispmanx_gfx_init()

static void* dispmanx_gfx_init ( const video_info_t video,
const input_driver_t **  input,
void **  input_data 
)
static
Here is the call graph for this function:

◆ dispmanx_gfx_read_viewport()

static bool dispmanx_gfx_read_viewport ( void data,
uint8_t buffer,
bool  is_idle 
)
static
Here is the call graph for this function:

◆ dispmanx_gfx_set_nonblock_state()

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

◆ dispmanx_gfx_set_rotation()

static void dispmanx_gfx_set_rotation ( void data,
unsigned  rotation 
)
static
Here is the call graph for this function:

◆ dispmanx_gfx_set_shader()

static bool dispmanx_gfx_set_shader ( void data,
enum rarch_shader_type  type,
const char *  path 
)
static
Here is the call graph for this function:

◆ dispmanx_gfx_suppress_screensaver()

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

◆ dispmanx_gfx_viewport_info()

static void dispmanx_gfx_viewport_info ( void data,
struct video_viewport vp 
)
static

◆ dispmanx_set_aspect_ratio()

static void dispmanx_set_aspect_ratio ( void data,
unsigned  aspect_ratio_idx 
)
static
Here is the call graph for this function:

◆ dispmanx_set_scaling()

static void dispmanx_set_scaling ( bool  bilinear_filter)
static
Here is the caller graph for this function:

◆ dispmanx_set_texture_enable()

static void dispmanx_set_texture_enable ( void data,
bool  state,
bool  full_screen 
)
static
Here is the call graph for this function:

◆ dispmanx_set_texture_frame()

static void dispmanx_set_texture_frame ( void data,
const void frame,
bool  rgb32,
unsigned  width,
unsigned  height,
float  alpha 
)
static
Here is the call graph for this function:

◆ dispmanx_surface_free()

static void dispmanx_surface_free ( struct dispmanx_video _dispvars,
struct dispmanx_surface **  sp 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dispmanx_surface_setup()

static void dispmanx_surface_setup ( struct dispmanx_video _dispvars,
int  src_width,
int  src_height,
int  visible_pitch,
int  bpp,
VC_IMAGE_TYPE_T  pixformat,
int  alpha,
float  aspect,
int  numpages,
int  layer,
struct dispmanx_surface **  sp 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dispmanx_surface_update()

static void dispmanx_surface_update ( struct dispmanx_video _dispvars,
const void frame,
struct dispmanx_surface surface 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dispmanx_surface_update_async()

static void dispmanx_surface_update_async ( const void frame,
struct dispmanx_surface surface 
)
static
Here is the caller graph for this function:

◆ 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:

Variable Documentation

◆ dispmanx_poke_interface

const video_poke_interface_t dispmanx_poke_interface
static
Initial value:
= {
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
}
static void dispmanx_set_texture_enable(void *data, bool state, bool full_screen)
Definition: dispmanx_gfx.c:490
static void dispmanx_set_texture_frame(void *data, const void *frame, bool rgb32, unsigned width, unsigned height, float alpha)
Definition: dispmanx_gfx.c:501
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static void dispmanx_set_aspect_ratio(void *data, unsigned aspect_ratio_idx)
Definition: dispmanx_gfx.c:603

◆ video_dispmanx

video_driver_t video_dispmanx
Initial value:
= {
NULL,
"dispmanx",
NULL,
NULL,
}
static bool dispmanx_gfx_frame(void *data, const void *frame, unsigned width, unsigned height, uint64_t frame_count, unsigned pitch, const char *msg, video_frame_info_t *video_info)
Definition: dispmanx_gfx.c:435
static void dispmanx_gfx_free(void *data)
Definition: dispmanx_gfx.c:666
static void dispmanx_gfx_viewport_info(void *data, struct video_viewport *vp)
Definition: dispmanx_gfx.c:558
static bool dispmanx_gfx_set_shader(void *data, enum rarch_shader_type type, const char *path)
Definition: dispmanx_gfx.c:579
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static void dispmanx_gfx_set_rotation(void *data, unsigned rotation)
Definition: dispmanx_gfx.c:589
static void dispmanx_gfx_set_nonblock_state(void *data, bool state)
Definition: dispmanx_gfx.c:536
static void * dispmanx_gfx_init(const video_info_t *video, const input_driver_t **input, void **input_data)
Definition: dispmanx_gfx.c:385
static bool dispmanx_gfx_focus(void *data)
Definition: dispmanx_gfx.c:552
static bool dispmanx_gfx_read_viewport(void *data, uint8_t *buffer, bool is_idle)
Definition: dispmanx_gfx.c:595
static bool dispmanx_gfx_suppress_screensaver(void *data, bool enable)
Definition: dispmanx_gfx.c:571
static bool dispmanx_gfx_alive(void *data)
Definition: dispmanx_gfx.c:546
static void dispmanx_gfx_get_poke_interface(void *data, const video_poke_interface_t **iface)
Definition: dispmanx_gfx.c:659