Commit Graph

707 Commits

Author SHA1 Message Date
twinaphex c71469c715 Rename menu_display to gfx_display 2020-02-16 15:10:07 +01:00
twinaphex 60f335cf02 Split up menu display code into separate file 2020-02-14 21:07:15 +01:00
Twinaphex 136163ba4f
Merge pull request #10114 from jdgleaver/widget-scaling
(Menu Widgets) Add scaling
2020-02-14 18:53:43 +01:00
jdgleaver 23c9b86f64 (Menu Widgets) Enable scaling of widgets independently from menu scale 2020-02-14 17:10:39 +00:00
orbea 0ea75894c1 Fix a segfault when starting the qt menu with the null menu driver. 2020-02-14 07:47:34 -08:00
jdgleaver e8a2a39d72 (Menu Widgets) Add scaling 2020-02-13 17:28:32 +00:00
twinaphex 83a03b6679 Silence this warning 2020-02-12 14:16:09 +01:00
twinaphex debbd9f15b Remove unused menu_display_pixel_get_scale 2020-02-03 22:47:26 +01:00
twinaphex 67cfff2520 Remove the menu display null drivers 2020-02-03 07:04:06 +01:00
twinaphex 68467da7ac Remove menu_display_ctx_vga - is identical to menu display null 2020-02-03 06:55:15 +01:00
twinaphex 6b0a62d6ff Null video driver should work now 2020-02-03 06:49:59 +01:00
twinaphex e0fdd8d39e Add back HAVE_CONFIGFILE ifdef - will strip out remaps and overrides
support as well
2020-02-02 21:27:38 +01:00
twinaphex e5169eee71 Remove menu/drivers/null.c - move it into menu/menu_driver.c 2020-01-06 20:23:58 +01:00
twinaphex 203bea3fe6 (MIDI) Turn bunch of functions static
(Menu) Remove menu_display_null driver
2020-01-06 17:30:09 +01:00
twinaphex a6245185b9 (menu_driver.c) Cleanups 2020-01-02 18:21:43 +01:00
twinaphex 48af253a06 (Menu) This macro is no longer used 2019-12-30 07:48:55 +01:00
twinaphex f6db9ce04d Move menu_subsystem_populate to menu_displaylist.c 2019-12-30 05:57:32 +01:00
twinaphex 3fe8806018 (Subsystem Settings) Create separate subsystem settings list - will
be selectively hidden later based on whether subsystems are implemented
for the core
2019-12-30 05:43:48 +01:00
twinaphex f3742a101c Change function signature on subsystem function 2019-12-30 05:17:31 +01:00
twinaphex 9573b53390 Put ifdefs around core_updater_list_free_cached for targets
that don't define HAVE_NETWORKING
2019-12-24 05:36:54 +01:00
jdgleaver 695749f155 (Core Updater) Only download when new core is available + add option to update all installed cores 2019-12-23 17:34:44 +00:00
Barry Rowe 3a67e072bb Added in fixes for accessibility feature. 2019-12-04 10:51:50 -08:00
Barry Rowe 1e6e7a698f Added in accessibility. 2019-11-26 15:19:21 -08:00
jdgleaver 7eefec6945 (GLUI) Navigation improvements 2019-11-15 14:53:00 +00:00
jdgleaver c356969c3a (GLUI) Add initial thumbnail support 2019-10-31 17:25:55 +00:00
Barry Rowe d641e67876 AI Service overlay. 2019-10-28 16:48:05 -07:00
jdgleaver d6d0bb5e4e (GLUI) Add menu scaling workaround for Mac platforms (DPI requests currently cause crashes on Mac) 2019-10-11 13:31:00 +01:00
jdgleaver e47e055508 (GLUI) Menu scaling improvements 2019-10-10 10:01:46 +01:00
twinaphex 9fe72bfa7b Change this back to how it was before 2019-10-07 05:28:00 +02:00
Twinaphex 811138221a Fix unused variable warning 2019-10-04 17:34:46 +02:00
twinaphex daa30b1dc8 Use old DPI scaling for now on desktop until we have devised a good solution 2019-10-04 17:27:14 +02:00
jdgleaver db030f6472 (GLUI) Add initial gesture support + bug fixes 2019-10-04 09:33:15 +01:00
jdgleaver 3057c31798 (Menu Input) Add mouse/touchscreen gesture support + full gesture support for XMB 2019-09-30 16:55:41 +01:00
twinaphex 01dc71f598 (menu_driver.c) Cleanups 2019-09-23 04:49:01 +02:00
twinaphex 17fb07cb85 (Menu) Simplify menu_entries_get_core_title 2019-09-23 04:44:22 +02:00
twinaphex b94b9e2adb Go back to plain strlcpy/strlcat - probably best to look at
opportunities to reduce these calls vs. replacing them with
unsafe macros
2019-09-23 00:19:01 +02:00
twinaphex 3b057d9605 Start using STRLCAT_CONST_INCR and STRLCPY_CONST 2019-09-20 23:33:17 +02:00
twinaphex 43000d2e24 (Networking) Fix memory leak that could happen at exit after a network
operation has ran (menu_driver_data->core_buf gets allocated inside
cb_net_generic_menu and doesn't get freed until the function is ran
again
2019-09-20 04:08:03 +02:00
twinaphex db624a7c99 Start cleaning up the rather messy manual assignment 2019-09-20 02:03:26 +02:00
jdgleaver 8655038601 Overhaul menu mouse/touchscreen input handling 2019-09-19 16:53:22 +01:00
twinaphex a9ef8333eb Rewrite menu_entries_get_core_title 2019-09-18 06:35:21 +02:00
twinaphex 8fa6230426 Cleanups 2019-09-18 02:16:47 +02:00
twinaphex b28c405377 Backport and rebase initial FPGA port that was done in 2017 (port
done for Z-Turn board) - has some outstanding issues such as
very slow framebuffer software rendering output that needs to
be overcome before this becomes usable - community help needed
2019-09-17 08:16:50 +02:00
twinaphex d01ae6929d Don't use strlcat for basic concatenation of characters
except when absolutely necessary
2019-09-17 02:00:04 +02:00
jdgleaver 25006cadfe Menu time/date: Add 12-hour versions of all formats + clean ups 2019-09-09 14:06:49 +01:00
LazyBumHorse 2c028964c9 fix video_driver_get_ident for thread wrapper 2019-08-28 09:43:22 +02:00
twinaphex ab5e5d3a80 Add Quick Menu -> Views ->'Show Resume/Restart/Close content' 2019-08-20 18:08:44 +02:00
twinaphex b46545cd64 menu_driver_frame - use video_info->menu_is_alive instead 2019-08-20 17:04:06 +02:00
twinaphex dd83bc98a2 (menu_driver.c) Avoid function calls when possible 2019-08-20 16:38:45 +02:00
twinaphex 525d63f9ec use menu_entries_get_selection_buf_ptr_internal 2019-08-20 16:24:10 +02:00
twinaphex d8860104d3 Get rid of file_list_get_alt_at_offset 2019-08-20 06:13:33 +02:00
twinaphex 74c79e3962 Don't go through these superfluous functions 2019-08-20 06:03:28 +02:00
twinaphex c963b3be6a menu_display_toggle_reason was never used, get rid of it 2019-08-18 16:41:01 +02:00
twinaphex dec409bf17 Revert "Cleanups"
This reverts commit cb9a9e9525.
2019-08-17 18:51:09 +02:00
twinaphex cb9a9e9525 Cleanups 2019-08-17 16:59:18 +02:00
twinaphex f61602de59 Buildfix 2019-08-16 16:09:15 +02:00
twinaphex bf8edb18b8 Cleanups 2019-08-16 16:04:39 +02:00
twinaphex 8c74de7787 (Menu) cleanups 2019-08-16 15:51:22 +02:00
twinaphex 9d61590540 Merge menu_entries.c into menu_driver.c 2019-08-16 15:40:45 +02:00
twinaphex 9456d88ce4 Cleanups 2019-08-16 15:36:44 +02:00
twinaphex c69c972942 (Menu) Cleanups 2019-08-16 15:17:33 +02:00
twinaphex ba3e940cac (menu_driver.c) Cleanups 2019-08-14 17:19:39 +02:00
twinaphex 36ed0ca34f menu_display_get_dpi - don't use video_driver_get_size inside function 2019-08-13 17:12:55 +02:00
twinaphex 09675c26a9 Get rid of unused function menu_display_get_tex_coords 2019-08-11 17:49:49 +02:00
twinaphex bbbc69886f Simplify menu_display_push_quad 2019-08-11 17:29:22 +02:00
twinaphex 24798d7841 (Menu) Get rid of unused SET_PENDING_QUIT/SET_PENDING_SHUTDOWN 2019-08-11 17:08:59 +02:00
twinaphex 8647bbc36f Attempt to fix WiiU build 2019-08-11 14:48:32 +02:00
twinaphex 5c30b0803d Fix some typos in comments 2019-08-10 14:24:30 +02:00
twinaphex 7505251b40 Cleanups 2019-08-10 13:16:15 +02:00
twinaphex 7900faa419 Move menu_display_libretro to retroarch.c 2019-08-09 21:59:58 +02:00
twinaphex e51b93993b Move menu_driver_is_binding_state to retroarch.c 2019-08-09 21:41:10 +02:00
twinaphex b0f088d5fd Move menu_driver_is_alive to retroarch.c 2019-08-09 21:31:51 +02:00
twinaphex 4600195895 Refactor some menu_driver_alive code 2019-08-09 20:45:54 +02:00
twinaphex 4d860c4d16 Move menu_driver_render to retroarch.c 2019-08-09 12:54:08 +02:00
twinaphex 6482a81ef5 Update menu_driver_render 2019-08-09 12:09:01 +02:00
twinaphex 82168c0925 Start preparing to move menu_driver_render 2019-08-09 11:59:46 +02:00
jdgleaver 9617856c5c Remove favourites init/deinit from command event, and replace with seperate functions in retroarch.h/.c 2019-07-31 11:32:19 +01:00
jdgleaver 5220dc9084 Add independent 'favourites' playlist size setting 2019-07-30 17:13:04 +01:00
twinaphex ba79947e51 This should prevent flushing of stack issues 2019-07-22 22:40:34 +02:00
twinaphex b6b22a9a32 More shader refactors - make sure we can compile entirely
without shader support if HAVE_CG, HAVE_GLSL, HAVE_SLANG
and HAVE_HLSL are all not defined
2019-07-21 00:34:07 +02:00
twinaphex bddfca940e Add HAVE_GDI switch 2019-07-11 13:18:38 +02:00
LazyBumHorse 1f69f3960a fix d3d9 not rendering xmb and temporarily disable widgets due to segfault 2019-06-24 15:42:55 +02:00
twinaphex ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
natinusala 7c17cd9213 menu display: use video_info for scissoring rect clipping 2019-06-11 10:08:00 +02:00
BringerethOfLight 50720f0a92 menu display: don't move scissoring rect
don't just return from the function either, instead set w/h to 0
2019-05-27 20:00:54 +00:00
natinusala d50e326825 menu display: don't cancel scissoring if the rect is empty 2019-05-27 10:10:50 +02:00
twinaphex f88ec1e54e (MSVC 2003) Fixup MSVC 2003 solutions; fixup targets that don't have
HAVE_NETPLAY defined
2019-05-27 04:04:27 +02:00
twinaphex 5dc11fcd31 Reimplement 'fix ozone issues on mali400 gpu. as a bonus, fixes #5378'
by BringerethOfLight
2019-05-24 04:13:55 +02:00
twinaphex eed2ea7a99 string_is_empty check is already being done by path_is_valid/file stat
path cb function
2019-05-22 03:05:31 +02:00
jdgleaver 98889e1652 Ensure that displayed thumbnails are always refreshed correctly after selecting 'Download Thumbnails' from quick menu 2019-05-20 16:09:59 +01:00
jdgleaver 77c2ceeff4 (menu_driver) Prevent spurious navigation events when invoking MENU_NAVIGATION_CTL_CLEAR 2019-05-17 11:44:57 +01:00
jdgleaver 05c8694e1c Add 'Download Thumbnails' option to quick menu 2019-05-16 14:34:01 +01:00
twinaphex 62f3046f0f (localtime) Cleanups 2019-05-12 04:43:57 +02:00
jdgleaver 2e68a634a2 Optimise menu_display_timedate() 2019-05-01 10:58:40 +01:00
jdgleaver 55737ba127 Standardise menu powerstate access + add battery indicator to RGUI 2019-04-30 15:57:38 +01:00
jdgleaver b301e4d444 (RGUI) Performance optimisations 2019-04-05 09:16:29 +01:00
twinaphex d7d260556b Revert "(RGUI) Move menu_display_font_framebuffer to rgui.c"
This reverts commit 1a3ec1c3be.
2019-04-04 17:51:58 +02:00
twinaphex 1a3ec1c3be (RGUI) Move menu_display_font_framebuffer to rgui.c 2019-04-03 23:06:56 +02:00
twinaphex 643cd1923e CXX_BUILD / C89_BUILD buildfixes 2019-03-14 14:14:44 +01:00
Themaister 3029f96511 Add a new "glcore" driver with slang support.
This driver should sunset the old gl2 driver, but that driver will
likely live on to support really ancient and terrible GL stacks.
All the worst legacy cruft has been ripped out, and it's almost a decent
backend now.

Requirements for slang are GL 3.2+ or GLES3.
Some shaders require features which are not directly compatible with
GLES2 or legacy GL.

This driver shares a lot of concepts from the Vulkan driver.
The slang shader stack and SPIRV-Cross are used to implement the shader
spec, and the menu shaders are also shared with Vulkan.
2019-03-09 12:30:49 +01:00