mirror of
https://github.com/libretro/RetroArch
synced 2025-02-02 14:54:10 +00:00
Updates
This commit is contained in:
parent
41daddfe1c
commit
683c437941
@ -305,6 +305,8 @@ static void caca_set_osd_msg(void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const video_poke_interface_t caca_poke_interface = {
|
static const video_poke_interface_t caca_poke_interface = {
|
||||||
|
NULL, /* set_coords */
|
||||||
|
NULL, /* set_mvp */
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -1120,14 +1120,16 @@ static void ctr_set_osd_msg(void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const video_poke_interface_t ctr_poke_interface = {
|
static const video_poke_interface_t ctr_poke_interface = {
|
||||||
|
NULL, /* set_coords */
|
||||||
|
NULL, /* set_mvp */
|
||||||
ctr_load_texture,
|
ctr_load_texture,
|
||||||
ctr_unload_texture,
|
ctr_unload_texture,
|
||||||
NULL,
|
NULL,
|
||||||
ctr_set_filtering,
|
ctr_set_filtering,
|
||||||
NULL, /* get_video_output_size */
|
NULL, /* get_video_output_size */
|
||||||
NULL, /* get_video_output_prev */
|
NULL, /* get_video_output_prev */
|
||||||
NULL, /* get_video_output_next */
|
NULL, /* get_video_output_next */
|
||||||
NULL, /* get_current_framebuffer */
|
NULL, /* get_current_framebuffer */
|
||||||
NULL,
|
NULL,
|
||||||
ctr_set_aspect_ratio,
|
ctr_set_aspect_ratio,
|
||||||
ctr_apply_state_changes,
|
ctr_apply_state_changes,
|
||||||
|
@ -1711,6 +1711,8 @@ static void d3d_unload_texture(void *data, uintptr_t id)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const video_poke_interface_t d3d_poke_interface = {
|
static const video_poke_interface_t d3d_poke_interface = {
|
||||||
|
NULL, /* set_coords */
|
||||||
|
NULL, /* set_mvp */
|
||||||
d3d_load_texture,
|
d3d_load_texture,
|
||||||
d3d_unload_texture,
|
d3d_unload_texture,
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -631,6 +631,8 @@ static void dispmanx_set_aspect_ratio (void *data, unsigned aspect_ratio_idx)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const video_poke_interface_t dispmanx_poke_interface = {
|
static const video_poke_interface_t dispmanx_poke_interface = {
|
||||||
|
NULL, /* set_coords */
|
||||||
|
NULL, /* set_mvp */
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL, /* set_video_mode */
|
NULL, /* set_video_mode */
|
||||||
|
@ -959,6 +959,8 @@ static void drm_set_aspect_ratio (void *data, unsigned aspect_ratio_idx)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const video_poke_interface_t drm_poke_interface = {
|
static const video_poke_interface_t drm_poke_interface = {
|
||||||
|
NULL, /* set_coords */
|
||||||
|
NULL, /* set_mvp */
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL, /* set_video_mode */
|
NULL, /* set_video_mode */
|
||||||
|
@ -1478,6 +1478,8 @@ static void exynos_show_mouse(void *data, bool state)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const video_poke_interface_t exynos_poke_interface = {
|
static const video_poke_interface_t exynos_poke_interface = {
|
||||||
|
NULL, /* set_coords */
|
||||||
|
NULL, /* set_mvp */
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL, /* set_video_mode */
|
NULL, /* set_video_mode */
|
||||||
|
@ -531,6 +531,8 @@ static void gdi_set_video_mode(void *data, unsigned width, unsigned height,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const video_poke_interface_t gdi_poke_interface = {
|
static const video_poke_interface_t gdi_poke_interface = {
|
||||||
|
NULL, /* set_coords */
|
||||||
|
NULL, /* set_mvp */
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
gdi_set_video_mode,
|
gdi_set_video_mode,
|
||||||
|
@ -1262,6 +1262,8 @@ static void gx_get_video_output_next(void *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const video_poke_interface_t gx_poke_interface = {
|
static const video_poke_interface_t gx_poke_interface = {
|
||||||
|
NULL, /* set_coords */
|
||||||
|
NULL, /* set_mvp */
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
gx_set_video_mode,
|
gx_set_video_mode,
|
||||||
|
@ -1130,6 +1130,8 @@ static void omap_gfx_set_texture_enable(void *data, bool state, bool full_screen
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const video_poke_interface_t omap_gfx_poke_interface = {
|
static const video_poke_interface_t omap_gfx_poke_interface = {
|
||||||
|
NULL, /* set_coords */
|
||||||
|
NULL, /* set_mvp */
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -831,6 +831,8 @@ static void psp_viewport_info(void *data, struct video_viewport *vp)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const video_poke_interface_t psp_poke_interface = {
|
static const video_poke_interface_t psp_poke_interface = {
|
||||||
|
NULL, /* set_coords */
|
||||||
|
NULL, /* set_mvp */
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -718,6 +718,8 @@ static void sdl2_grab_mouse_toggle(void *data)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
static video_poke_interface_t sdl2_video_poke_interface = {
|
static video_poke_interface_t sdl2_video_poke_interface = {
|
||||||
|
NULL, /* set_coords */
|
||||||
|
NULL, /* set_mvp */
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -517,6 +517,8 @@ static void sdl_grab_mouse_toggle(void *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const video_poke_interface_t sdl_poke_interface = {
|
static const video_poke_interface_t sdl_poke_interface = {
|
||||||
|
NULL, /* set_coords */
|
||||||
|
NULL, /* set_mvp */
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -932,6 +932,8 @@ static void sunxi_set_aspect_ratio (void *data, unsigned aspect_ratio_idx)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const video_poke_interface_t sunxi_poke_interface = {
|
static const video_poke_interface_t sunxi_poke_interface = {
|
||||||
|
NULL, /* set_coords */
|
||||||
|
NULL, /* set_mvp */
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL, /* set_video_mode */
|
NULL, /* set_video_mode */
|
||||||
|
@ -392,6 +392,8 @@ static void vga_set_osd_msg(void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const video_poke_interface_t vga_poke_interface = {
|
static const video_poke_interface_t vga_poke_interface = {
|
||||||
|
NULL, /* set_coords */
|
||||||
|
NULL, /* set_mvp */
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -779,6 +779,8 @@ static bool vita_get_current_sw_framebuffer(void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const video_poke_interface_t vita_poke_interface = {
|
static const video_poke_interface_t vita_poke_interface = {
|
||||||
|
NULL, /* set_coords */
|
||||||
|
NULL, /* set_mvp */
|
||||||
vita_load_texture,
|
vita_load_texture,
|
||||||
vita_unload_texture,
|
vita_unload_texture,
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -2242,6 +2242,8 @@ static void vulkan_unload_texture(void *data, uintptr_t handle)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const video_poke_interface_t vulkan_poke_interface = {
|
static const video_poke_interface_t vulkan_poke_interface = {
|
||||||
|
NULL, /* set_coords */
|
||||||
|
NULL, /* set_mvp */
|
||||||
vulkan_load_texture,
|
vulkan_load_texture,
|
||||||
vulkan_unload_texture,
|
vulkan_unload_texture,
|
||||||
vulkan_set_video_mode,
|
vulkan_set_video_mode,
|
||||||
|
@ -848,6 +848,8 @@ static void wiiu_gfx_set_osd_msg(void* data,
|
|||||||
|
|
||||||
static const video_poke_interface_t wiiu_poke_interface =
|
static const video_poke_interface_t wiiu_poke_interface =
|
||||||
{
|
{
|
||||||
|
NULL, /* set_coords */
|
||||||
|
NULL, /* set_mvp */
|
||||||
wiiu_gfx_load_texture,
|
wiiu_gfx_load_texture,
|
||||||
wiiu_gfx_unload_texture,
|
wiiu_gfx_unload_texture,
|
||||||
NULL, /* set_video_mode */
|
NULL, /* set_video_mode */
|
||||||
|
@ -205,6 +205,8 @@ static void xshm_grab_mouse_toggle(void *data)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
static video_poke_interface_t xshm_video_poke_interface = {
|
static video_poke_interface_t xshm_video_poke_interface = {
|
||||||
|
NULL, /* set_coords */
|
||||||
|
NULL, /* set_mvp */
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -673,6 +673,10 @@ struct aspect_ratio_elem
|
|||||||
|
|
||||||
typedef struct video_poke_interface
|
typedef struct video_poke_interface
|
||||||
{
|
{
|
||||||
|
void (*set_coords)(void *handle_data, void *shader_data,
|
||||||
|
const struct video_coords *coords);
|
||||||
|
void (*set_mvp)(void *data, void *shader_data,
|
||||||
|
const void *mat_data);
|
||||||
uintptr_t (*load_texture)(void *video_data, void *data,
|
uintptr_t (*load_texture)(void *video_data, void *data,
|
||||||
bool threaded, enum texture_filter_type filter_type);
|
bool threaded, enum texture_filter_type filter_type);
|
||||||
void (*unload_texture)(void *data, uintptr_t id);
|
void (*unload_texture)(void *data, uintptr_t id);
|
||||||
|
@ -1257,6 +1257,8 @@ static struct video_shader *thread_get_current_shader(void *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const video_poke_interface_t thread_poke = {
|
static const video_poke_interface_t thread_poke = {
|
||||||
|
NULL, /* set_coords */
|
||||||
|
NULL, /* set_mvp */
|
||||||
thread_load_texture,
|
thread_load_texture,
|
||||||
thread_unload_texture,
|
thread_unload_texture,
|
||||||
thread_set_video_mode,
|
thread_set_video_mode,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user