Commit Graph

517 Commits

Author SHA1 Message Date
twinaphex 469e2b7778 (Qt) Combine dialog files into one - makes binary smaller too 2021-03-08 17:13:54 +01:00
twinaphex e140c9f8ee Cleanups 2021-03-08 15:11:28 +01:00
twinaphex b83596fcd4 (Qt) Combine all Qt files into one (ui_qt.cpp) 2021-03-08 00:56:55 +01:00
jdgleaver 110e318b71 Add support for saving per-directory core options and deleting core option overrides 2021-02-25 10:54:22 +00:00
Tatsuya79 b1f6fa4a2a remove updateretroarch.cpp 2021-02-11 17:49:21 +01:00
jdgleaver d81bdcddd0 When remembering last selected shader preset/shader pass directories, also remember selected files 2021-02-09 13:14:00 +00:00
Ryunam c341aabdb4 Add option to show/hide Refresh Rate notification 2021-01-08 17:32:33 +01:00
jdgleaver 1d33e0ee46 Fix Qt plugin path detection when using Qt < 5.6.0 2021-01-08 10:56:20 +00:00
Autechre 9797ba9f27
Merge pull request #11743 from HyperspaceMadness/Shaders_Fix_Simple_Preset_Relative_Texture_Paths
Shaders Load Refactor and Fix Referenced Texture Loading
2020-12-31 16:13:20 +01:00
Tatsuya79 2e52c9e284
qt: attempt to fix memory leak in shader panel 2020-12-30 01:11:17 +01:00
Ömercan Kömür 9fceafdcc0 fb-fix 2020-12-28 16:20:40 +03:00
HyperspaceMadness 0c526b6498 Shaders Load Refactor and Fix Referenced Texture Loading
Partial update to work with shaders directly

More Edits

More changes

more shader fixes

More Fixes Compiling, reference load still wrong

Added Feedback & things are working

Logging Fixes

Log Fix

More Fixes

Added Feedback Logging

Fixes for file pathing in Linux

Fix GLCore and Crash in QT Saving

Code Cleanup

Removed Unused Function filepath.c

Code Cleanup
2020-12-26 21:09:27 -05:00
Ömercan Kömür 6256b8ca2b first 2020-12-19 15:14:14 +03:00
Tatsuya79 67fb743d29
qt: add simple shader option 2020-11-18 00:55:57 +01:00
twinaphex 00e840e99d (Qt) Avoid QString::split - version incompatibilities 2020-11-02 00:18:09 +01:00
twinaphex a69b7cb063 Buildfix for Qt 2020-10-15 05:31:21 +02:00
jdgleaver e1890bd08e Fix Qt shaders dialog 2020-10-02 17:48:45 +01:00
jdgleaver d686d73e7a Revert "Buildfix --disable-menu - bake out shader params for desktop menu if"
This reverts commit dd6924a940.
2020-10-02 17:20:23 +01:00
twinaphex dd6924a940 Buildfix --disable-menu - bake out shader params for desktop menu if
HAVE_MENU is not set
2020-10-01 13:04:13 +02:00
jdgleaver b8ea4fd54e Overlay configuration improvements 2020-09-08 13:37:51 +01:00
jdgleaver c2ad859f2f (Qt) Remove duplicate VIDEO_SHADER_REMEMBER_LAST_DIR option 2020-09-03 11:51:53 +01:00
jdgleaver 0be40b0d60 (Qt) Add support for 'Remember Last Used Shader Directory' option 2020-09-03 11:22:24 +01:00
Tatsuya79 fdeb59847e
qt: add missing osd settings 2020-08-28 12:00:56 +02:00
Tatsuya79 0dc963d5fe qt: add recent settings 2020-08-22 19:03:14 +02:00
twinaphex 4ec216dc0b Get rid of file_path_str 2020-08-22 01:06:10 +02:00
jdgleaver 90f4c5d8ae (Qt) Fix display of settings icons 2020-07-29 13:56:39 +01:00
jdgleaver d77f6705df Add option to hide 'Explore' tab + menu clean-ups 2020-07-29 13:01:49 +01:00
francescotintori 9744fcb76a Adds base content directory support in playlists. If playlist base content directory does not match configuration parameter 'rgui_browser_directory', all entries paths are automatically fixed to match parameter 'rgui_browser_directory'.
Functionality is enabled if new parameter 'playlist_autofix_paths' is enabled.
2020-07-27 20:59:56 +02:00
twinaphex 4ca1692174 (Qt) Style nits 2020-07-20 22:05:12 +02:00
twinaphex 9ecc30a501 Cleanups 2020-07-20 21:39:54 +02:00
twinaphex 49539dbef4 (Qt) Style nits 2020-07-20 21:37:15 +02:00
Autechre 8861416b32
Merge pull request #11046 from Ryunam/screenshot-notification
Add options to control visibility, duration and flashing effect of Screenshot Notifications
2020-07-20 00:27:02 +02:00
Ryunam 5014f90e4d Add options to customize Screenshot notifications 2020-07-19 23:42:16 +02:00
Hugo Hromic 1e3fb9505c (Menu/OSD) Implement configurable update interval for memory usage display
Obtaining system memory metrics is generally an expensive operation.
2020-07-19 19:57:50 +01:00
Autechre 5909f946d5
Merge pull request #11034 from Tatsuya79/patch-4
qt: add 'cheats applied' visibility toggle
2020-07-17 15:05:25 +02:00
jdgleaver 230c1cdde2 Add option to show/hide 'last used disc restored' notifications 2020-07-17 12:52:28 +01:00
Tatsuya79 ed9aa75314
qt: add 'cheats applied' visibility toggle 2020-07-17 10:46:17 +02:00
jdgleaver 75b3b5350c Add 'Notification Visibility' menu 2020-07-16 16:32:01 +01:00
Tatsuya79 91cc250976
QT: add "load content" animation option
Adds an option into the OSD menu for https://github.com/libretro/RetroArch/pull/10992.
2020-07-10 18:49:50 +02:00
twinaphex 3ad0187012 (Qt) Attempted fix for Qt 2020-07-06 19:27:05 +02:00
Hugo Hromic 9b2a4f3c21 (Menu) Fix cursor forced to first entry after displaying lists 2020-06-30 13:59:52 +01:00
jdgleaver 0fcfb3deda Refactor playlist struct configuration 2020-06-26 15:40:19 +01:00
twinaphex 601a73fa8b Use string_starts_with_size where possible - avoids the strlen 2020-06-25 12:51:04 +02:00
twinaphex 45f90ad89a (menu_dialog) Cleanups
Make menu_hash_help no longer dependent on the menu code
2020-06-12 08:06:30 +02:00
jdgleaver 445921ac5d Core info search optimisations + improved core selection logic + clean-ups 2020-06-06 13:59:28 +01:00
twinaphex 88f7515d1d Cleanups, comments, style nits 2020-06-04 14:41:28 +02:00
twinaphex 3981b1cc82 (Qt) Cleanups 2020-05-12 08:02:55 +02:00
twinaphex 6a4a522244 Cut down on some code duplication and turn
retroarch_validate_game_options static
2020-05-11 17:19:55 +02:00
twinaphex dd721def41 (Qt) Cleanups 2020-05-11 17:07:37 +02:00
jdgleaver 4ef5eb1eb2 (Qt) Add 'audio mixer volume' and 'mute when fast-forwarding' settings options 2020-05-01 13:58:20 +01:00
jdgleaver fa9290cf1e Add optional playlist compression 2020-04-21 16:44:26 +01:00
Tatsuya79 ce99109001
qt: add saveram compression option 2020-04-21 01:50:05 +02:00
Tatsuya79 56159976af
qt: add savestate compression option 2020-04-17 00:10:02 +02:00
valadaa48 6e4228b054 Add drm_go2_ctx for odroidgo2
- Revert odroidgo changes to drm_ctx
- Introduce new drm_go2_ctx specifically for odroidgo2 (and libgo2)
- Add hw_scaling option to mitigate builtin gl scaling/filtering and to
use libgo2 and rga's hw scaling and bicubic filtering via librga. The
quality of the image is improved by this and should be a bit faster.

Credits to CrashOverride for the initial libgo2 port and
commit to RA. And to natinusala for the initial cleanup/commit in the original
drm_ctx driver. NOirBRight for finding this setting and testing.
2020-03-28 03:30:28 +00:00
Tatsuya79 19331636bd
qt: add scroll acceleration option 2020-03-17 22:32:12 +01:00
Rob Loach cfbc3d4317
(Docs) Use HTTPS URL for libretro.com link (#10274)
Fixes #10272
2020-03-16 02:49:18 -04:00
Tatsuya79 a780755af7 qt: expose dropped thumbnal size limit 2020-03-13 22:46:46 +01:00
jdgleaver 018209d6c2 Use single 'Widgets Scale Override' setting on console and mobile platforms 2020-03-12 11:29:53 +00:00
Twinaphex 801fa3459c
Merge pull request #10221 from jdgleaver/qt-history-thumbs
(QT) Populate 'db_name' and 'crc32' fields when adding entries to content history
2020-03-06 18:54:59 +01:00
twinaphex 1f553ac1c4 Get rid of menu_shader_set_modified - instead, add a single
'modified' variable to video_shader struct
2020-03-06 17:05:20 +01:00
jdgleaver 7873b5f044 (QT) Populate 'db_name' and 'crc32' fields when adding entries to content history 2020-03-06 14:00:04 +00:00
Tatsuya79 570884dc2b
qt: update osd options 2020-03-04 19:36:07 +01:00
twinaphex 0ef1b342e4 settings Cleanups 2020-03-02 20:10:24 +01:00
Tatsuya79 58fc9ce9ca
Update ui.cpp 2020-02-25 19:20:27 +01:00
Tatsuya79 dc5afdccf9
qt: move gfx widget option to OSD 2020-02-25 19:18:57 +01:00
twinaphex 8d6c7d6753 Cleanup 2020-02-23 00:02:56 +01:00
Tatsuya79 cb3d4ac722
qt: fix ui "views" menu for drivers without kiosk mode 2020-02-22 18:21:15 +01:00
twinaphex 85c672a0f6 Settings pointer cleanups 2020-02-19 20:57:02 +01:00
Tatsuya79 914e330ef2
qt: add menu widget scaling new settings 2020-02-14 21:44:35 +01:00
twinaphex b7a17442d9 (menu_shader.c) Remove configuration.h dependency 2020-02-13 02:04:35 +01:00
twinaphex 5e20a7ef5e Rework some of the config.def.h variables 2020-02-10 15:33:32 +01:00
twinaphex 9c6c10da22 (Playlist) Get rid of settings_t dependency 2020-01-04 12:04:00 +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
twinaphex e55692d74f (Desktop Menu) Prevent hidden settings for desktop menu -
add third parameter that when set to true, will include everything
in the list - this way we can show greyed out settings
2019-12-21 17:33:50 +01:00
twinaphex 559c6df0c3 (Desktop Menu) Cleanups 2019-12-20 14:19:11 +01:00
twinaphex b7b0348c3c (Desktop Menu) Input -> Hotkey Binds refactor 2019-12-20 14:17:16 +01:00
twinaphex 6f6bd95a84 move Crop Overscan to Video Scaling; add Sync to Exact Content Framerate
option to Video Synchronization
2019-12-19 20:00:19 +01:00
Tatsuya79 2e0c1daf1b
fix dock titles getting cut off 2019-11-30 19:06:59 +01:00
Tatsuya79 b6094d6f3b
fix search dock title 2019-11-29 22:48:18 +01:00
Tatsuya79 1907deb8de
show advanced latency options 2019-10-12 14:26:22 +02:00
Tatsuya79 042783af21
always show advanced sync options 2019-10-12 14:25:02 +02:00
twinaphex ab515daa0c Try to get rid of file_path_str 2019-09-18 18:12:57 +02:00
LazyBumHorse 886d538c48 implement video_shader_delay setting (in ms), which delays auto-shaders 2019-08-27 16:01:48 +02:00
LazyBumHorse 9b71340959 finish up shader menu changes, add 'remove presets' to Qt 2019-08-24 16:43:52 +02:00
twinaphex bd50a5b62d Cleanups 2019-08-24 05:40:23 +02:00
twinaphex b1d3818ed5 (Qt UI) Dehardcode input.cpp ; merge throttle.cpp into generic.cpp 2019-08-24 04:33:42 +02:00
twinaphex 9589621619 (Qt UI) Add AI Service category 2019-08-23 19:52:13 +02:00
twinaphex 8dfb3c454b (UI Qt) Dehardcode achievements 2019-08-23 05:05:11 +02:00
twinaphex 6a8f2ef9b6 (Qt options/UI) Make it more dynamic 2019-08-23 05:00:20 +02:00
twinaphex 532a08afb3 (Qt UI) Start refactoring this code to be more dynamic 2019-08-23 04:53:09 +02:00
twinaphex dc4bfa91ed (Qt) Update User Interface -> Views 2019-08-23 04:31:09 +02:00
LazyBumHorse 813a5cc370 fix edge case where resetting shader parameter wasn't counted as a modification 2019-08-22 18:08:58 +02:00
LazyBumHorse a882901e39 save unmodified auto-shaders as a reference instead of a copy, see:
- implement #reference directive for auto-shaders
 - replace usual preset saving and loading functions with video_shader_read_preset() and video_shader_write_preset()
 - apply saved presets automatically for console menus
 - move auto-shader saving logic from menus into menu_shader.c menu_shader_manager_save_auto_preset()
 - refactor menu_shader_manager_save_preset() into menu_shader_manager_save_preset_internal()
2019-08-22 16:57:28 +02:00
twinaphex 72bde77ef0 Ability to set FPS update interval (new setting - fps_update_interval) 2019-08-20 03:05:52 +02:00
twinaphex b13ee8485f Start passing shader pointer to menu_shader.c functions 2019-08-18 16:59:09 +02:00
LazyBumHorse be20b9c283 implement global shader presets 2019-08-17 22:11:17 +02:00
LazyBumHorse 719555bae1 Overhaul shader loading logic, add --set-shader CLI option 2019-08-17 15:20:51 +02:00
Brad Parker 5247c214ff Qt: word-wrap core option tooltips 2019-08-02 18:43:04 -04:00
Brad Parker 1580a611d6 Qt: add core option sublabels as tooltips, add buttons to reset one/all core options 2019-08-02 17:48:31 -04:00
jdgleaver 5220dc9084 Add independent 'favourites' playlist size setting 2019-07-30 17:13:04 +01:00
Twinaphex bc47daba5e
Merge pull request #9151 from Tatsuya79/master
Show/Hide disc options.
2019-07-21 14:16:12 +02:00
twinaphex 8919078f48 (Qt) Add HAVE_CONFIG_H to shaderparamsdialog.cpp 2019-07-21 12:32:24 +02:00
Tatsuya79 ab3ea0f3f3 Show/Hide disc options. 2019-07-21 12:16:16 +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 42783fb225 (Qt) Combine some files into one 2019-07-19 16:02:00 +02:00
twinaphex 0cdfd4c542 Use config_file_new_from_path_to_string entirely 2019-07-18 16:15:02 +02:00
twinaphex 801b0742d8 (UI application) We don't use pending_events - get rid of it 2019-07-17 22:08:11 +02:00
twinaphex a6d6c21e52 Rename config_file_new_null to config_file_new_alloc 2019-07-17 19:50:32 +02:00
twinaphex 0c31437c24 Create config_file_new_null 2019-07-17 18:27:53 +02:00
twinaphex bcc72aca7c Fix 'declaration hides parameter' 2019-07-14 13:19:24 +02:00
twinaphex f6497e8012 ui_application_t - we never use run except for Qt, so remove this
and move the code to frontend.c - also add a boolean variable to
ui_application_t to indicate whether an app is about to exit
2019-07-11 02:18:21 +02:00
twinaphex 1bfd4b8ae2 (Qt) Process events is already called in runloop_iterate - we
will take it out of Qt application run function and rely on
runloop_iterate's 'runloop_check_state' leaf function to call
Qt's event processing instead
2019-07-11 01:02:00 +02:00
twinaphex 09f5d2c95d Fix compilation when configuring with --disable-overlay 2019-07-10 05:39:50 +02:00
jdgleaver 0be44e57ad Overhaul default playlist core association 2019-06-26 17:42:26 +01:00
LazyBumHorse c20c67bd3a proper shader compatibility checks
- move shader flags from the video drivers to the context drivers
 - rework config_load_shader_preset() from configuration.c into retroarch_load_shader_preset() in retroarch.c with proper compatibility check
 - implicitly call retroarch_load_shader_preset() in retroarch_get_shader_preset() once per core/content life cycle
 - use video_shader_is_supported() instead of video_driver_test_all_flags() where appropriate
 - remove GFX_CTX_FLAGS_NONE because it is meaningless
2019-06-18 13:46:41 +02:00
LazyBumHorse 42e35c825f refactor some video_shader_parse functions
- video_shader_parse_type()'s fallback only worked for NULL paths and was wrongly used, now returns RARCH_SHADER_NONE like video_shader_get_type_from_ext().
 - video_shader_get_type_from_ext() should not be checking video driver flags, this is instead done by video_shader_is_supported()
 - video_driver_get_all_flags() did not actually 'get' flags, changed to video_driver_test_all_flags()

workaround for crash due to glcore not always using at least OpenGL 3.2
2019-06-18 13:12:56 +02:00
twinaphex ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
jdgleaver e2a79daa44 Increase size of playlist core association arrays 2019-06-12 12:01:31 +01:00
Tatsuya79 ed0df2fcd7 add some missing settings in QT 2019-06-06 01:10:45 +02:00
Dwedit 1faaf68d9d UTF-8 Fix favoring MSVC 2010-2013.
MSVC 2015 and 2017 projects: Add /utf-8 switch
Makefile.griffin: Add -utf-8 switch to MSVC 2015 builds
Makefile.msvc: Add -utf-8 switch to MSVC 2017 builds
intl/msg_hash files: Added BOM and MSVC 2010-2013 pragmas
menu_cbs.c: Replace Euro character with raw bytes
menu_osk_utf8_pages.h: Replace pragma with MSVC 2010-2013 version range
shaderparamsdialog.cpp: Add BOM and MSVC 2010-2013 pragma
2019-05-21 18:02:25 -05:00
CozmoP 17fcd880e9 Qt: path selector fixes 2019-05-17 14:22:25 +02:00
twinaphex 4ac4b779a9 (Qt desktop) Add some missing menu entries 2019-05-06 00:11:57 +02:00
twinaphex bc2bdd5734 config_file_read not needed anymore 2019-04-30 13:37:10 +02:00
twinaphex c38ed7f843 Use path_is_directory to check if directories exist instead of
filestream_exists
2019-04-22 02:43:09 +02:00
twinaphex 317a443741 Use config_file_read in more places 2019-04-22 02:10:12 +02:00
twinaphex 7372bafb44 Remove RARCH_CTL_SET_LIBRETRO_PATH 2019-04-21 06:03:02 +02:00
twinaphex c662da11c3 (QT/UI) Cleanups 2019-04-21 03:28:23 +02:00
twinaphex 254c48707d (QT/UI) Cleanups 2019-04-21 02:34:19 +02:00
twinaphex 1dc0fa83ff Cleanups 2019-04-21 02:16:24 +02:00
twinaphex 0805838050 (QT/UI) Cleanups 2019-04-21 00:54:35 +02:00
twinaphex a58297a577 (UI/QT) Create create_widget 2019-04-21 00:41:26 +02:00
twinaphex 797a4bca0f (UI/QT) network.cpp - more dehardcoding 2019-04-20 16:19:47 +02:00
twinaphex 22739b4430 (UI/QT) Refactor audio.cpp 2019-04-20 16:14:37 +02:00
Brad Parker fa128f950d remove unused functions 2019-04-18 10:35:51 -04:00
Twinaphex 2fcb4b5854
Merge pull request #8589 from CozmoP/ampersand
Qt: sanitize ampersands
2019-04-16 03:17:09 +02:00
twinaphex 1baebdbd47 (UI/QT) Fix Travis OSX build hopefully 2019-04-16 00:47:13 +02:00
CozmoP aa98a80fa6 Qt: sanitize ampersands 2019-04-15 22:45:03 +02:00
CozmoP ac6e4732f1 Qt: add scrollbar to settings dialog 2019-04-15 22:29:16 +02:00
twinaphex 3d7eb19abd (UI/QT) Dehardcode User Interface -> Views -> Quick Menu 2019-04-15 08:00:24 +02:00
twinaphex d620e9ce1d (UI/QT) Dehardcode core settings 2019-04-15 07:48:34 +02:00
twinaphex 2e21a35261 (UI/QT) Dehardcode configuration settings 2019-04-15 07:40:51 +02:00
twinaphex 39c111bb92 (UI/QT) Dehardcode directory settings 2019-04-15 07:15:53 +02:00
twinaphex a680133a38 (UI/QT) Dehardcode driver settings 2019-04-15 07:01:51 +02:00
twinaphex 1f7d7d6441 (UI/QT) Dehardcode logging 2019-04-15 06:54:36 +02:00
twinaphex f33e04c747 (UI/QT) Dynamically generate settings for 'throttle' 2019-04-15 06:29:02 +02:00
twinaphex 085f25e81f (UI/QT) First attempt at dynamically generating settings instead
of manually specifying settings
2019-04-15 06:16:55 +02:00
twinaphex 1599f1f5d3 (UI/QT) Create overloaded 'add' function 2019-04-15 05:18:30 +02:00
twinaphex 29ca98c10c (UI/QT) Prevent unnecessary costly functions 2019-04-15 05:13:40 +02:00
twinaphex b38a4dcb08 (UI/QT) Make some of the add functions private 2019-04-15 04:26:19 +02:00
twinaphex 52d2b6ae94 (UI/QT) Cleanups 2019-04-14 23:34:28 +02:00