RetroArch
Classes | Functions | Variables
vg.c File Reference
#include <math.h>
#include <string.h>
#include <VG/openvg.h>
#include <VG/vgext.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <retro_inline.h>
#include <retro_assert.h>
#include <gfx/math/matrix_3x3.h>
#include <libretro.h>
#include "../font_driver.h"
#include "../../retroarch.h"
#include "../../driver.h"
#include "../../content.h"
#include "../../verbosity.h"
#include "../../configuration.h"
Include dependency graph for vg.c:

Classes

struct  vg_t
 

Functions

static void vg_set_nonblock_state (void *data, bool state)
 
static INLINE bool vg_query_extension (const char *ext)
 
static voidvg_init (const video_info_t *video, const input_driver_t **input, void **input_data)
 
static void vg_free (void *data)
 
static void vg_calculate_quad (vg_t *vg, video_frame_info_t *video_info)
 
static void vg_copy_frame (void *data, const void *frame, unsigned width, unsigned height, unsigned pitch)
 
static bool vg_frame (void *data, const void *frame, unsigned frame_width, unsigned frame_height, uint64_t frame_count, unsigned pitch, const char *msg, video_frame_info_t *video_info)
 
static bool vg_alive (void *data)
 
static bool vg_suppress_screensaver (void *data, bool enable)
 
static bool vg_set_shader (void *data, enum rarch_shader_type type, const char *path)
 
static void vg_set_rotation (void *data, unsigned rotation)
 
static void vg_viewport_info (void *data, struct video_viewport *vp)
 
static bool vg_read_viewport (void *data, uint8_t *buffer, bool is_idle)
 
static void vg_get_poke_interface (void *data, const video_poke_interface_t **iface)
 

Variables

static PFNVGCREATEEGLIMAGETARGETKHRPROC pvgCreateEGLImageTargetKHR
 
video_driver_t video_vg
 

Function Documentation

◆ vg_alive()

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

◆ vg_calculate_quad()

static void vg_calculate_quad ( vg_t vg,
video_frame_info_t video_info 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vg_copy_frame()

static void vg_copy_frame ( void data,
const void frame,
unsigned  width,
unsigned  height,
unsigned  pitch 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vg_frame()

static bool vg_frame ( void data,
const void frame,
unsigned  frame_width,
unsigned  frame_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:

◆ vg_free()

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

◆ vg_get_poke_interface()

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

◆ vg_init()

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

◆ vg_query_extension()

static INLINE bool vg_query_extension ( const char *  ext)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vg_read_viewport()

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

◆ vg_set_nonblock_state()

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

◆ vg_set_rotation()

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

◆ vg_set_shader()

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

◆ vg_suppress_screensaver()

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

◆ vg_viewport_info()

static void vg_viewport_info ( void data,
struct video_viewport vp 
)
static
Here is the call graph for this function:

Variable Documentation

◆ pvgCreateEGLImageTargetKHR

PFNVGCREATEEGLIMAGETARGETKHRPROC pvgCreateEGLImageTargetKHR
static

◆ video_vg

video_driver_t video_vg
Initial value:
= {
NULL,
NULL,
"vg",
NULL,
NULL,
}
static bool vg_frame(void *data, const void *frame, unsigned frame_width, unsigned frame_height, uint64_t frame_count, unsigned pitch, const char *msg, video_frame_info_t *video_info)
Definition: vg.c:390
static void * vg_init(const video_info_t *video, const input_driver_t **input, void **input_data)
Definition: vg.c:96
static void vg_set_rotation(void *data, unsigned rotation)
Definition: vg.c:476
static void vg_get_poke_interface(void *data, const video_poke_interface_t **iface)
Definition: vg.c:497
static void vg_viewport_info(void *data, struct video_viewport *vp)
Definition: vg.c:482
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static void vg_set_nonblock_state(void *data, bool state)
Definition: vg.c:80
static void vg_free(void *data)
Definition: vg.c:274
static bool vg_set_shader(void *data, enum rarch_shader_type type, const char *path)
Definition: vg.c:466
static bool vg_suppress_screensaver(void *data, bool enable)
Definition: vg.c:460
static bool vg_alive(void *data)
Definition: vg.c:442
static bool vg_read_viewport(void *data, uint8_t *buffer, bool is_idle)
Definition: vg.c:489