1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-08 12:15:49 +00:00
RetroArch/gfx
Giovanni Cascione f93548ab56
mali_fbdev fix for fps drop after egl_destroy (#13494)
Currently each time a screen resolution or setting change occurs, fbdev_destroy, fbdev_init and fbdev_set_mode are called in sequence, trying to destroy context and surface (though context pointer seems to remain unchanged) and create again both of them.
However it seems something is wrong with egl_destroy, as after the call fps drops from 60 to 33fps in GUI with huge performance impact, at least with libmali.
Philosophy is changed with this commit to avoid destroying and creating context and surface each time (creation only occurs in fbdev_init and egl_destroy is called only if retroarch is shutting down).
As a minor modification, framebuffer is resetted to 0 on retroarch shutdown to avoid any chance of freezed screen effect.
2022-01-14 15:30:04 +01:00
..
common Vulkan driver fixes for HDR (#13468) 2022-01-10 06:26:02 +01:00
display_servers Merge pull request #12795 from sonninnos/video-rate-switch 2021-09-12 16:15:04 +02:00
drivers (Vulkan) Double combined image sampler descriptor pool size (#13467) 2022-01-10 09:10:11 +01:00
drivers_context mali_fbdev fix for fps drop after egl_destroy (#13494) 2022-01-14 15:30:04 +01:00
drivers_display Vulkan driver fixes for HDR (#13468) 2022-01-10 06:26:02 +01:00
drivers_font [PS2] Improve Compilation (#13359) 2021-12-15 19:01:56 +01:00
drivers_font_renderer (freetype/stb_unicode/bitmapfont) Prevent texture bleed when rendering text at non-integer scales 2021-04-15 17:24:32 +01:00
drivers_renderchain Move d3d9 headers to gfx/include/d3d9 2021-09-26 12:49:53 +02:00
drivers_shader Vulkan driver fixes for HDR (#13468) 2022-01-10 06:26:02 +01:00
include Move d3d9 headers to gfx/include/d3d9 2021-09-26 12:49:53 +02:00
video_filters Fix blargg warning + some cleanups 2021-09-30 18:20:29 +02:00
video_layout Prefer using snprintf instead of insecure sprintf 2021-05-18 15:14:08 +02:00
widgets move achievement activation to background thread 2021-11-16 11:33:37 -07:00
font_driver.c Log font rendering backend only once (#13371) 2021-12-17 16:05:32 +01:00
font_driver.h (gl_core/gl3) Rename gl_core internally to gl3 2021-11-23 08:45:54 +01:00
gfx_animation.c Move anim_get_ptr to gfx_animation.c 2021-09-20 20:17:53 +02:00
gfx_animation.h Move anim_get_ptr to gfx_animation.c 2021-09-20 20:17:53 +02:00
gfx_display.c (gl_core/gl3) Rename gl_core internally to gl3 2021-11-23 08:45:54 +01:00
gfx_display.h (gl_core/gl3) Rename gl_core internally to gl3 2021-11-23 08:45:54 +01:00
gfx_thumbnail_path.c Use path_basename_nocompression where we are sure we are not 2021-04-11 17:44:41 +02:00
gfx_thumbnail_path.h Turn function static 2020-10-05 21:54:07 +02:00
gfx_thumbnail.c move gfx_thumb_state to gfx_thumbnail.c 2021-09-30 18:05:00 +02:00
gfx_thumbnail.h Don't call anim_get_ptr inside gfx_thumbnail.c 2021-04-08 01:30:42 +02:00
gfx_widgets.c Netplay Stuff (#13375) 2021-12-19 16:58:01 +01:00
gfx_widgets.h Netplay Stuff (#13375) 2021-12-19 16:58:01 +01:00
video_coord_array.c Clean up trailing whitespace 2017-12-12 00:24:18 -08:00
video_coord_array.h reorder structs, alignment 2020-08-15 00:35:15 +02:00
video_crt_switch.c (video_crt_switch) Cleanups and potential build fix 2021-11-21 12:08:31 +01:00
video_crt_switch.h Add support for switchres.ini core and directory overrides 2021-06-20 02:31:10 -03:00
video_defines.h Add option for showing the overlay behind the menu (#13360) 2021-12-26 04:56:44 +01:00
video_display_server.h Refresh rate switch addition on startup (#13316) 2021-12-03 17:52:46 +01:00
video_driver.c Add option for showing the overlay behind the menu (#13360) 2021-12-26 04:56:44 +01:00
video_driver.h Add option for showing the overlay behind the menu (#13360) 2021-12-26 04:56:44 +01:00
video_filter.c Add 'Picoscale_256x-320x240' video filter (#12997) 2021-09-15 20:20:56 +02:00
video_filter.h Fix some linkage errors with RA MSVC 2010 2017-12-30 13:00:08 +01:00
video_layout.c Revert "Move static functions to top of files" 2020-06-26 18:40:26 +02:00
video_layout.h Reorder structs/alignment 2020-08-25 20:39:06 +02:00
video_shader_parse.c Logging cleanups (#13320) 2021-12-04 14:21:12 +01:00
video_shader_parse.h Move code out of retroarch.c 2021-10-29 14:13:16 +02:00
video_thread_wrapper.c Get rid of some getters 2021-11-09 07:06:04 +01:00
video_thread_wrapper.h Backport parts of 73c0760236 2021-11-09 23:12:57 +01:00