Commit Graph

600 Commits

Author SHA1 Message Date
twinaphex
127bf556c7 Merge audio_driver.c into retroarch.c 2019-06-17 12:49:21 +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
05c8694e1c Add 'Download Thumbnails' option to quick menu 2019-05-16 14:34:01 +01:00
twinaphex
9ee33a6a1d (Menu) Merge menu_entry into menu_entries.c 2019-05-01 11:41:13 +02: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
Brad Parker
4f0d61a2ac update copyright 2019-02-22 19:13:36 -05:00
Brad Parker
74fd184097 initial GL1 video driver, only rgui is working currently 2019-02-08 12:14:55 -05:00
twinaphex
59ded50d59 (Menu) Add back get_load_content_animation_data 2019-02-08 08:24:33 +01:00
twinaphex
386657a366 (menu widgets backport) Re-commit task queue changes 2019-02-08 08:00:32 +01:00
twinaphex
7022786f34 Revert parts of menu_widgets that were causing breakage, but leave
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01:00
natinusala
c20ab3864d First version of menu widgets (gl only) 2019-02-06 20:48:24 +01:00
orbea
98f6aecec2 Remove the zarch menu driver. 2019-02-02 22:15:10 -08:00
orbea
af813d9c46 Further remove nuklear. 2019-02-02 20:58:47 -08:00
twinaphex
fe02db911d Header include cleanups 2019-01-31 20:36:39 +01:00
twinaphex
000646e51e Update header includes 2019-01-31 19:06:27 +01:00
jdgleaver
bd56e1e29c (RGUI) Allow selection of thumbnail downscaling method 2019-01-23 16:47:15 +00:00
twinaphex
65d5de6674 Add 4 additional mixer slots for system sound effects and music
for menu
2019-01-17 03:03:46 +01:00
jdgleaver
faaa6e081b (RGUI) Add colour themes 2019-01-09 10:50:24 +00:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
alfrix
e83b3adc20 More Icons 2019-01-06 01:03:27 -03:00
Stuart Carnie
c00b6e0750
fix: Fix use of freed memory in menu animations
`menu_animation_update` enumerates `menu_animation.list` to process each
`tween`. It was observed that some tweens execute a callback that
pushes more animations via `menu_animation_push`. During the push, if
the tween `list` does not have enough space, a `realloc` occurs,
potentially invalidating the existing list. The remaining pointer access
in menu_animation_update is therefore invalid. Best case is the memory
is unused and thus does not affect the program. Worst case is memory
corruption.
2018-12-15 14:55:10 -07:00
radius
45228d0307 massive subsystem cleanup & use the proper data in each instance 2018-12-10 23:01:21 -05:00
M4xw
8764d7be28 [LIBNX] Implement Over-/Downclocking and minor fixes 2018-11-29 18:42:44 +01:00
twinaphex
7730828560 Start implementing dropdown list for resolution - Win32 right now at first - now need to make OK button do something 2018-11-24 10:31:41 +01:00
natinusala
f493c114b5 ozone: fix visual issues, add fade in/out to messagebox 2018-11-14 14:18:14 +01:00
Benjamin FRANCOIS
fd863e2607 Fix build 2018-11-13 10:34:21 -08:00
natinusala
73f6e51892 ozone: improve OSK display 2018-11-13 15:48:16 +01:00
Twinaphex
1ef286ec7c
Merge pull request #7583 from alfrix/input_icons
Input icons (User Binds)
2018-11-12 21:53:07 +01:00
Alfrix
e5c7de8607 Input icons (User binds) 2018-11-12 00:30:09 -03:00
natinusala
5406e19c3e ozone: add missing assets message 2018-11-09 17:00:44 +01:00
natinusala
20a8e1b40f ozone: fancy new cursor 2018-11-09 16:51:34 +01:00
twinaphex
c2fc821fad Audio Output Rate should use special dropdown list callbacks 2018-11-05 20:46:56 +01:00
natinusala
158ddc0b2a New menu driver : ozone (Nintendo Switch lookalike) 2018-10-26 13:24:32 +02:00
twinaphex
c443d6b475 Revert "Revert this - was getting crashes in both OSX and MSVC 2003"
This reverts commit 7d0dba3007.
2018-10-11 03:26:58 +02:00
twinaphex
7d0dba3007 Revert this - was getting crashes in both OSX and MSVC 2003
in config_file.c inside config_get_entry
2018-10-10 23:34:16 +02:00
Sven
30d4df7634 Merge remote-tracking branch 'upstream/master' 2018-10-10 09:16:39 -04:00
Sven
f53e1ca4b1 fix new rumble types ; increase max displayed cheats to 6000 2018-10-10 09:15:46 -04:00
Alfrix
fa03a634d0 New Netplay icons 2018-10-09 19:52:28 -03:00
twinaphex
7260e52a23 Make improved version of this - 873d60151f 2018-10-06 17:48:12 +02:00
natinusala
8250007b8e Added Lakka Switch menu entries 2018-10-06 15:44:37 +02:00
twinaphex
b0dd64c9f3 Change function prototype for scissor_end 2018-09-28 22:52:00 +02:00
twinaphex
d955af64a0 Cleanup 2018-09-26 16:16:17 +02:00
Twinaphex
76399013a1 Silence some warnings 2018-09-26 16:13:42 +02:00
twinaphex
60d537fa32 Create menu_driver_list_insert 2018-09-26 14:25:28 +02:00
twinaphex
5d1fff541b Create new functions 2018-09-26 14:22:22 +02:00
twinaphex
44a0c70c8a Removed unused RARCH_MENU_CTL_REFRESH 2018-09-25 16:28:36 +02:00
twinaphex
384b36ac4c Comment this out for now - initial implementation of dropdown list
for float
2018-09-24 14:34:43 +02:00
twinaphex
baa909f296 Add dropdown lists for core options 2018-09-23 18:36:48 +02:00
twinaphex
1f864e379b Add dropdown lists for driver settings 2018-09-23 17:13:45 +02:00
twinaphex
962680abb8 Add dropdown list for Netplay Latency Frame settings 2018-09-23 14:34:51 +02:00
twinaphex
f00f73c5ed Add 'dropdown list' when pressing the OK/Confirm button on Video -> Aspect Ratio 2018-09-23 10:59:49 +02:00
natinusala
7ec2011ccf menu_display_gl: added scissoring support 2018-09-20 14:48:07 +02:00
twinaphex
cc8b458ee3 Add menu_display_switch.c 2018-09-12 20:01:56 +02:00
Alfrix
c39ce0e04b Add Automatic theme
It has been in the assets folder a long time by now
2018-08-23 16:41:07 -03:00
Sven
c750235414
Merge branch 'master' into cheater 2018-07-26 19:40:20 -04:00
Sven
5f35249216 Implement robust cheat searching interface with rumble features 2018-07-25 19:19:14 -04:00
Rob Loach
aba179a910
Merge branch 'master' into stripes 2018-07-22 13:30:47 -04:00
twinaphex
600c2c1ca1 Simplify menu_display_font 2018-07-14 00:39:46 +02:00
Brad Parker
ab27b7c85f initial SIXEL video driver 2018-07-12 16:55:08 -04:00
Stuart Carnie
411bcf8bdd feat(apple): Metal support for macOS
* includes rgui
* shader support

This is a work-in-progress and there are some bugs and visual artifacts
still to be fixed.
2018-06-20 21:33:45 -07:00
twinaphex
2fdd4444ff Get rid of unintentional typedef redefinition (C11 feature) 2018-05-14 00:29:20 +02:00
radius
aa86d78183 add quick menu action to pause / resume hardcore mode for current session 2018-05-13 13:40:30 -05:00
twinaphex
c88a7545a3 (menu display drivers) Cleanups 2018-05-13 14:15:04 +02:00
twinaphex
ea77fbbd38 Increase max streams from 8 to 16 2018-05-02 23:42:39 +02:00
twinaphex
ab360ae3ac (Audio mixer) Add Sequential playback mode 2018-05-02 21:43:16 +02:00
twinaphex
5aeab54ab7 (Audio mixer) Ability to individually set volume per stream 2018-04-30 17:51:01 +02:00
twinaphex
1c90866070 Refactor this a bit and document it 2018-04-30 15:24:40 +02:00
twinaphex
25a7cb0f66 (Menu) Rename hack_shader_pass to scratchpad.unsigned_var 2018-04-30 15:19:54 +02:00
twinaphex
49341bac26 Add Play/Play (Looped) actions 2018-04-30 15:04:29 +02:00
twinaphex
965859ddcb Start adding mixer controls - ability to stop and remove loaded tracks 2018-04-30 14:34:25 +02:00
twinaphex
91fcb49270 (Menu audio) Fix situation where a libretro core is running
in the background and menu audio is playing - we don't want
audio_driver_menu_sample called then
2018-04-29 01:05:04 +02:00
twinaphex
bac0d22ce9 Create menu_display_osk_ptr_at_pos 2018-04-23 11:58:18 +02:00
twinaphex
8bc3283bd5 Create menu_display_draw_keyboard 2018-04-23 11:42:55 +02:00
twinaphex
8e52fcff96 Add D3D10 entry 2018-04-21 03:30:34 +02:00
twinaphex
9f2b56a929 Update Direct3D 10 driver 2018-04-21 03:27:41 +02:00
twinaphex
1836d08b33 Revert "Start passing around menu_driver_data around properly"
This reverts commit 7c314a9165.
2018-04-11 06:12:14 +02:00
twinaphex
fdffb7059d Revert "Less pointer grabbbing - reduce usage of RARCH_MENU_CTL_DRIVER_DATA_GET"
This reverts commit fbf03df8be.
2018-04-11 06:11:45 +02:00
twinaphex
fbf03df8be Less pointer grabbbing - reduce usage of RARCH_MENU_CTL_DRIVER_DATA_GET 2018-04-10 19:57:33 +02:00
twinaphex
7c314a9165 Start passing around menu_driver_data around properly 2018-04-10 19:17:51 +02:00
twinaphex
6e299065ce Remove RARCH_MENU_CTL_PLAYLIST_ calls - use playlist_init_cached,
playlist_get_cached, and playlist_free_cached from now on (defined
in playlist.h) - no more menu dependencies on cached playlists
2018-04-10 17:51:40 +02:00
radius
7f5fe5ebff remap-redux part 2: add controller sublabel 2018-04-08 12:13:43 -05:00
radius
c4754815b6 remap-redux part 2: fix small issue with keymapper 2018-04-08 12:13:43 -05:00
radius
34649d1abf remap-redux part 2: start inverting the gamepad mapper columns 2018-04-08 12:13:42 -05:00
radius
ed334cd1dd remap-redux part 2: allow multiple gamepads to work for the keymapper 2018-04-08 12:13:40 -05:00
Jean-André Santoni
a6e9107bd0 Add menu_display_draw_polygon 2018-04-08 18:58:11 +07:00
Jean-André Santoni
1614519874 Clone xmb to stripe menu 2018-04-08 09:55:16 +07:00
twinaphex
77f7e1da8c Make menu_driver_load_image a static function 2018-03-29 16:27:19 +02:00
alfrix
a84facf636 Add Left Thumbnails
Fix behaviour when right thumb is off and use as fallback in filebrowser
Remove update_left_thumbnail_path
Fix dual image in imageviewer
Remove xmb_left_thumbnails_ident
Requested Changes
Fix last warning and button not switching thumb
Better scaling
Limit vertical size without changing position
Change thumb cycling behaviour
Remove update_left_thumbnail_image it was causing problems
2018-03-29 10:38:23 -03:00
twinaphex
aa5525f670 Move core_len/core_buf to menu_handle_t 2018-03-25 17:35:46 +02:00
twinaphex
a2295af556 Make these variables a part of menu_handle_t 2018-03-25 17:02:30 +02:00
Rob Loach
ddb0f81cf2
xmb: Add Morning Blue theme 2018-03-11 20:37:49 -04:00
twinaphex
b4a743fff4 Split up menu display drivers for D3D8/D3D9 into separate drivers;
split up d3d_common into separate files
2018-03-03 15:28:58 +01:00
twinaphex
18d27468ae Set handles_transform for 3DS/D3D11/D3D12/Vita/WiiU menu
display drivers - this skips a bunch of costly matrix calculations
for menu display drivers that have a geometry shader or something
similar
2018-02-28 04:52:47 +01:00
twinaphex
35f1c9ba33 (menu display driver) Get rid of remaining pointer grabbing 2018-02-16 19:42:13 +01:00
twinaphex
407d7e2c4e (menu display) Get rid of more pointer grabbing 2018-02-16 19:25:19 +01:00
twinaphex
a0ba515337 Update 2018-02-16 19:08:16 +01:00
twinaphex
b25e2ce4e8 reduce more calls to video_driver_get_ptr 2018-02-16 17:54:39 +01:00
twinaphex
964e9db588 Reduce calls to video_driver_get_ptr - set it once for
video_frame_info_t
2018-02-16 17:19:55 +01:00
radius
1951adeb5b subsystem part 2: add LABELS 2018-02-12 02:39:24 -05:00
radius
597e0ce1ec subsystem part 1: get the required data to load content 2018-02-12 02:39:23 -05:00
twinaphex
9dc597cf6c Undo all menu hash related changes - was causing more harm
than good - apologies to radius since we now have to recode
his shader changes PR
2018-02-09 01:51:37 +01:00
aliaspider
0d88799e6d (D3D12) add menu display driver. 2018-02-08 00:18:05 +01:00
twinaphex
cd33e39040 Remove all hashes 2018-02-07 23:41:25 +01:00
aliaspider
8354ffd452 (D3D12) add support for scaling/rotation im menu display driver. 2018-01-25 01:34:53 +01:00
aliaspider
812eefa601 (D3D11) add menu display driver. 2018-01-25 00:20:06 +01:00
Rob Loach
a1467346f5
theme: Add Monochrome Inverted icon theme 2017-12-28 09:10:58 -05:00
Rob Loach
d71a2db781
XMB: Add Light theme 2017-12-27 17:33:39 -05:00
radius
bada13a215 let it snow 2017-12-02 22:47:44 -05:00
Fayne Aldan
69212cf7c7
Move Retrosystem to end
Enums shouldn't be reordered
2017-11-20 15:19:36 -07:00
Alfrix
1bd65c8f3e Add Retrosystem theme 2017-11-17 19:42:55 -03:00
twinaphex
65edb2f06c Update 2017-09-28 08:55:40 +02:00
radius
3c9651ace0 fix wrapping 2017-09-11 00:21:46 -05:00
radius
c8752ec630 add left/right callbacks 2017-09-11 00:21:46 -05:00
radius
b93417fbed start implementing keymapper gui 2017-09-11 00:21:46 -05:00
twinaphex
36e0ff8268 Rearrange variables 2017-09-09 01:10:00 +02:00
twinaphex
330d8dc59e Cleanups 2017-09-09 00:02:38 +02:00
twinaphex
ef79711837 (MaterialUI) Hook up framebuffer opacity 2017-08-15 22:43:09 +02:00
twinaphex
db24e4da42 Try to avoid countless string_is_equal function calls
being called multiple times per frame render - prebake
these decisions instead inside list_insert
2017-08-15 04:33:36 +02:00
Jean-André Santoni
61cc899867 (XMB) Display the favorites tab, part 1 2017-08-12 16:37:20 +02:00
Justin Jacobs
150bc81ee1 Add "Delete Core" option to Core Information menu (#5132) 2017-08-03 18:38:30 -04:00
twinaphex
b8853b76a5 Start documenting menu_driver.h 2017-07-31 17:30:50 +02:00
radius
d560660bdc add room type in the title 2017-07-24 20:52:27 -05:00
radius
e09075dc25 Add RetroArch version and use different icons for different room types 2017-07-24 20:13:52 -05:00
twinaphex
cfc7f4c8c7 Cleanups 2017-07-23 19:46:11 +02:00
twinaphex
3fbed8df27 (Menu) Menu driver no longer uses a duplicate system info
struct
2017-05-28 17:21:57 +02:00
twinaphex
c74104f8c9 Get rid of RARCH_MENU_CTL_SYSTEM_INFO_* 2017-05-28 16:25:46 +02:00
twinaphex
b5aef51cc0 Revert "Make this code somewhat more like the other menu drivers"
This reverts commit 6c5d5ea497.
2017-05-28 15:14:35 +02:00
twinaphex
6c5d5ea497 Make this code somewhat more like the other menu drivers 2017-05-28 15:13:18 +02:00
twinaphex
721c6bc5bb Create menu_driver_destroy 2017-05-28 15:09:17 +02:00
twinaphex
a626a30098 Turn menu_display_set_alpha into macro 2017-05-27 16:52:52 +02:00
twinaphex
09ddd9ddcf Cleanups 2017-05-27 16:31:47 +02:00
aliaspider
db490a69a3 (WiiU) add a menu display driver. enable MATERIALUI and XMB. 2017-05-22 01:45:40 +01:00
twinaphex
cb2e898d8c Cleanups 2017-05-19 15:31:14 +02:00
twinaphex
59fb7700b8 Combine menu_driver.c and menu_display.c 2017-05-19 15:25:14 +02:00
twinaphex
59b3344e72 Combine video_driver.c and video_shader_driver.c 2017-05-18 14:47:24 +02:00
twinaphex
9096038e20 Correct set_thumbnail_system/set_thumbnail_content functions 2017-05-17 09:32:17 +02:00
twinaphex
529349019d Combine menu_navigation_ctl and menu_driver_ctl 2017-05-17 04:57:43 +02:00
twinaphex
4436d5998b Cleanups 2017-05-17 03:30:37 +02:00
twinaphex
5dcebe4718 Cleanups 2017-05-17 03:25:23 +02:00
twinaphex
3a6ada1652 Cleanups 2017-05-17 03:19:19 +02:00
twinaphex
ee8dc151a3 Combine menu_driver.c and menu_navigation.c 2017-05-17 03:00:32 +02:00
Jean-André Santoni
17837ec81d Display thumbnails in the Database Manager 2017-05-15 13:05:33 +02:00
twinaphex
d28ec842f3 Add menu_driver_push_list 2017-05-15 08:29:47 +02:00
twinaphex
575095c8e6 Add menu_driver_load_image 2017-05-15 08:21:02 +02:00
twinaphex
076a83a62b Remove some RARCH_MENU_CTL_ actions 2017-05-15 08:03:35 +02:00