RetroArch
Functions | Variables
vita2d_gfx.c File Reference
#include <vita2d.h>
#include <retro_inline.h>
#include <string/stdstring.h>
#include <formats/image.h>
#include "../font_driver.h"
#include "../common/vita2d_common.h"
#include "../../driver.h"
#include "../video_coord_array.h"
#include "../../verbosity.h"
#include "../../configuration.h"
#include "../../defines/psp_defines.h"
Include dependency graph for vita2d_gfx.c:

Functions

voidmemcpy_neon (void *dst, const void *src, size_t n)
 
static void vita2d_gfx_set_viewport (void *data, unsigned viewport_width, unsigned viewport_height, bool force_full, bool allow_rotate)
 
static voidvita2d_gfx_init (const video_info_t *video, const input_driver_t **input, void **input_data)
 
static void vita2d_gfx_update_viewport (vita_video_t *vita, video_frame_info_t *video_info)
 
static bool vita2d_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 vita2d_gfx_set_nonblock_state (void *data, bool toggle)
 
static bool vita2d_gfx_alive (void *data)
 
static bool vita2d_gfx_focus (void *data)
 
static bool vita2d_gfx_suppress_screensaver (void *data, bool enable)
 
static void vita2d_gfx_free (void *data)
 
static bool vita2d_gfx_set_shader (void *data, enum rarch_shader_type type, const char *path)
 
static void vita2d_set_projection (vita_video_t *vita, struct video_ortho *ortho, bool allow_rotate)
 
static void vita2d_gfx_set_rotation (void *data, unsigned rotation)
 
static void vita2d_gfx_viewport_info (void *data, struct video_viewport *vp)
 
static bool vita2d_gfx_read_viewport (void *data, uint8_t *buffer, bool is_idle)
 
static void vita_set_filtering (void *data, unsigned index, bool smooth)
 
static void vita_set_aspect_ratio (void *data, unsigned aspect_ratio_idx)
 
static void vita_apply_state_changes (void *data)
 
static void vita_set_texture_frame (void *data, const void *frame, bool rgb32, unsigned width, unsigned height, float alpha)
 
static void vita_set_texture_enable (void *data, bool state, bool full_screen)
 
static uintptr_t vita_load_texture (void *video_data, void *data, bool threaded, enum texture_filter_type filter_type)
 
static void vita_unload_texture (void *data, uintptr_t handle)
 
static void vita_set_osd_msg (void *data, video_frame_info_t *video_info, const char *msg, const void *params, void *font)
 
static bool vita_get_current_sw_framebuffer (void *data, struct retro_framebuffer *framebuffer)
 
static void vita2d_gfx_get_poke_interface (void *data, const video_poke_interface_t **iface)
 

Variables

static const video_poke_interface_t vita_poke_interface
 
video_driver_t video_vita2d
 

Function Documentation

◆ memcpy_neon()

void* memcpy_neon ( void dst,
const void src,
size_t  n 
)
Here is the caller graph for this function:

◆ vita2d_gfx_alive()

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

◆ vita2d_gfx_focus()

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

◆ vita2d_gfx_frame()

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

◆ vita2d_gfx_free()

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

◆ vita2d_gfx_get_poke_interface()

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

◆ vita2d_gfx_init()

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

◆ vita2d_gfx_read_viewport()

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

◆ vita2d_gfx_set_nonblock_state()

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

◆ vita2d_gfx_set_rotation()

static void vita2d_gfx_set_rotation ( void data,
unsigned  rotation 
)
static

◆ vita2d_gfx_set_shader()

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

◆ vita2d_gfx_set_viewport()

static void vita2d_gfx_set_viewport ( void data,
unsigned  viewport_width,
unsigned  viewport_height,
bool  force_full,
bool  allow_rotate 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vita2d_gfx_suppress_screensaver()

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

◆ vita2d_gfx_update_viewport()

static void vita2d_gfx_update_viewport ( vita_video_t vita,
video_frame_info_t video_info 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vita2d_gfx_viewport_info()

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

◆ vita2d_set_projection()

static void vita2d_set_projection ( vita_video_t vita,
struct video_ortho ortho,
bool  allow_rotate 
)
static
Here is the caller graph for this function:

◆ vita_apply_state_changes()

static void vita_apply_state_changes ( void data)
static

◆ vita_get_current_sw_framebuffer()

static bool vita_get_current_sw_framebuffer ( void data,
struct retro_framebuffer framebuffer 
)
static
Here is the call graph for this function:

◆ vita_load_texture()

static uintptr_t vita_load_texture ( void video_data,
void data,
bool  threaded,
enum texture_filter_type  filter_type 
)
static
Here is the call graph for this function:

◆ vita_set_aspect_ratio()

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

◆ vita_set_filtering()

static void vita_set_filtering ( void data,
unsigned  index,
bool  smooth 
)
static
Here is the call graph for this function:

◆ vita_set_osd_msg()

static void vita_set_osd_msg ( void data,
video_frame_info_t video_info,
const char *  msg,
const void params,
void font 
)
static
Here is the call graph for this function:

◆ vita_set_texture_enable()

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

◆ vita_set_texture_frame()

static void vita_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:

◆ vita_unload_texture()

static void vita_unload_texture ( void data,
uintptr_t  handle 
)
static
Here is the call graph for this function:

Variable Documentation

◆ video_vita2d

video_driver_t video_vita2d
Initial value:
= {
NULL,
"vita2d",
NULL,
}
static bool vita2d_gfx_focus(void *data)
Definition: vita2d_gfx.c:291
static void vita2d_gfx_viewport_info(void *data, struct video_viewport *vp)
Definition: vita2d_gfx.c:560
static bool vita2d_gfx_read_viewport(void *data, uint8_t *buffer, bool is_idle)
Definition: vita2d_gfx.c:569
static bool vita2d_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: vita2d_gfx.c:135
static bool vita2d_gfx_set_shader(void *data, enum rarch_shader_type type, const char *path)
Definition: vita2d_gfx.c:325
static bool vita2d_gfx_suppress_screensaver(void *data, bool enable)
Definition: vita2d_gfx.c:297
static void vita2d_gfx_free(void *data)
Definition: vita2d_gfx.c:304
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static void vita2d_gfx_set_nonblock_state(void *data, bool toggle)
Definition: vita2d_gfx.c:274
static void vita2d_gfx_set_viewport(void *data, unsigned viewport_width, unsigned viewport_height, bool force_full, bool allow_rotate)
Definition: vita2d_gfx.c:444
static void vita2d_gfx_set_rotation(void *data, unsigned rotation)
Definition: vita2d_gfx.c:548
static void * vita2d_gfx_init(const video_info_t *video, const input_driver_t **input, void **input_data)
Definition: vita2d_gfx.c:46
static void vita2d_gfx_get_poke_interface(void *data, const video_poke_interface_t **iface)
Definition: vita2d_gfx.c:818
static bool vita2d_gfx_alive(void *data)
Definition: vita2d_gfx.c:285

◆ vita_poke_interface

const video_poke_interface_t vita_poke_interface
static
Initial value:
= {
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
}
static void vita_set_aspect_ratio(void *data, unsigned aspect_ratio_idx)
Definition: vita2d_gfx.c:590
static void vita_set_texture_frame(void *data, const void *frame, bool rgb32, unsigned width, unsigned height, float alpha)
Definition: vita2d_gfx.c:629
static bool vita_get_current_sw_framebuffer(void *data, struct retro_framebuffer *framebuffer)
Definition: vita2d_gfx.c:760
static void vita_apply_state_changes(void *data)
Definition: vita2d_gfx.c:621
static void vita_set_filtering(void *data, unsigned index, bool smooth)
Definition: vita2d_gfx.c:577
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static void vita_unload_texture(void *data, uintptr_t handle)
Definition: vita2d_gfx.c:738
static void vita_set_texture_enable(void *data, bool state, bool full_screen)
Definition: vita2d_gfx.c:695
static uintptr_t vita_load_texture(void *video_data, void *data, bool threaded, enum texture_filter_type filter_type)
Definition: vita2d_gfx.c:703
static void vita_set_osd_msg(void *data, video_frame_info_t *video_info, const char *msg, const void *params, void *font)
Definition: vita2d_gfx.c:752