mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-11 13:26:34 +00:00
Merge pull request #8549 from jdgleaver/rgui-optimisation
(RGUI) Performance optimisations
This commit is contained in:
commit
46455a6ff8
File diff suppressed because it is too large
Load Diff
@ -181,9 +181,7 @@ static unsigned menu_display_header_height = 0;
|
||||
|
||||
static bool menu_display_has_windowed = false;
|
||||
static bool menu_display_msg_force = false;
|
||||
static bool menu_display_font_alloc_framebuf = false;
|
||||
static bool menu_display_framebuf_dirty = false;
|
||||
static const uint8_t *menu_display_font_framebuf = NULL;
|
||||
static menu_display_ctx_driver_t *menu_disp = NULL;
|
||||
|
||||
/* when enabled, on next iteration the 'Quick Menu' list will
|
||||
@ -502,16 +500,6 @@ video_coord_array_t *menu_display_get_coords_array(void)
|
||||
return &menu_disp_ca;
|
||||
}
|
||||
|
||||
const uint8_t *menu_display_get_font_framebuffer(void)
|
||||
{
|
||||
return menu_display_font_framebuf;
|
||||
}
|
||||
|
||||
void menu_display_set_font_framebuffer(const uint8_t *buffer)
|
||||
{
|
||||
menu_display_font_framebuf = buffer;
|
||||
}
|
||||
|
||||
bool menu_display_libretro_running(
|
||||
bool rarch_is_inited,
|
||||
bool rarch_is_dummy_core)
|
||||
@ -608,16 +596,6 @@ void menu_display_set_msg_force(bool state)
|
||||
menu_display_msg_force = state;
|
||||
}
|
||||
|
||||
bool menu_display_get_font_data_init(void)
|
||||
{
|
||||
return menu_display_font_alloc_framebuf;
|
||||
}
|
||||
|
||||
void menu_display_set_font_data_init(bool state)
|
||||
{
|
||||
menu_display_font_alloc_framebuf = state;
|
||||
}
|
||||
|
||||
/* Returns true if an animation is still active or
|
||||
* when the menu framebuffer still is dirty and
|
||||
* therefore it still needs to be rendered onscreen.
|
||||
|
@ -549,8 +549,6 @@ void menu_display_font_free(font_data_t *font);
|
||||
|
||||
void menu_display_coords_array_reset(void);
|
||||
video_coord_array_t *menu_display_get_coords_array(void);
|
||||
const uint8_t *menu_display_get_font_framebuffer(void);
|
||||
void menu_display_set_font_framebuffer(const uint8_t *buffer);
|
||||
bool menu_display_libretro(bool is_idle, bool is_inited, bool is_dummy);
|
||||
bool menu_display_libretro_running(bool rarch_is_inited,
|
||||
bool rarch_is_dummy_core);
|
||||
@ -566,8 +564,6 @@ void menu_display_set_framebuffer_pitch(size_t pitch);
|
||||
|
||||
bool menu_display_get_msg_force(void);
|
||||
void menu_display_set_msg_force(bool state);
|
||||
bool menu_display_get_font_data_init(void);
|
||||
void menu_display_set_font_data_init(bool state);
|
||||
bool menu_display_get_update_pending(void);
|
||||
void menu_display_set_viewport(unsigned width, unsigned height);
|
||||
void menu_display_unset_viewport(unsigned width, unsigned height);
|
||||
|
Loading…
x
Reference in New Issue
Block a user