9790 Commits

Author SHA1 Message Date
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
692dc9f6a9 refactor shader checks affected by last commit and more:
- gl.c: refactor backend fallback into more general gl2_get_fallback_shader_type
 - d3d9-12, gl_core, gx2_gfx, gl, vulkan: more consistent shader init and `set_shader` behavior
 - configuration.c: remove check_shader_compatibility
 - shader_glsl.c, shader_gl_cg.c: use `video_shader_get_type_from_ext`
 - shader_gl_cg.c: add shader type check with fallback to stock like in shader_glsl.c
 - menu_shader.c: use `enum rarch_shader_type` instead of `unsigned`
 - video_shader_parse.c: add `video_shader_to_str` for easier logging
 - remove `type` from `struct video_shader`, which was always set to CG and wrongly used in lang_process.cpp's `slang_process()` (has no further consequences because the code is unused)
2019-06-18 13:44:19 +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
3af449a445 Cleanups 2019-06-18 01:23:23 +02:00
twinaphex
f061941456 Integrate record_driver.c into retroarch.c 2019-06-17 16:23:46 +02:00
twinaphex
ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
twinaphex
127bf556c7 Merge audio_driver.c into retroarch.c 2019-06-17 12:49:21 +02:00
twinaphex
eedc6a6092 Integrate location_driver.c into retroarch.c, get rid of
location_driver_ctl
2019-06-17 11:57:46 +02:00
twinaphex
3581786708 Merge camera_driver.c with retroarch.c 2019-06-17 11:18:27 +02:00
LazyBumHorse
6514b80ff2 Revert "allow saving and properly loading 0 pass shader presets"
This reverts commit b54a360ab8b584a5350a125c00e605960a26297b.
2019-06-16 23:05:41 +02:00
twinaphex
72a35481ea (XMB) Cleanups 2019-06-15 10:07:55 +02:00
twinaphex
f60306b232 Rename read_conf_cgp/write_conf_cgp to
read_conf_preset/write_conf_preset
2019-06-15 09:00:35 +02:00
twinaphex
d422638c45 Turn more static const variables into macros 2019-06-14 13:01:22 +02:00
twinaphex
408d41b629 Turn a bunch of variables into macros 2019-06-14 11:13:02 +02:00
twinaphex
92108aa35f Revert "Merge pull request #8350 from huwpascoe/core_updater"
This reverts commit 57c373e1d722a186e6a0a7d98f84a7310d9b308d, reversing
changes made to 0317b59da3b4c58f9d2f9c4c3de04ee331bbeebb.
2019-06-14 02:08:14 +02:00
twinaphex
fa55047e2e (config.features.h) Turn static const variables into macros 2019-06-13 22:34:24 +02:00
Brad Parker
77b720829c skip displaying GPU name if it's blank 2019-06-13 13:07:40 -04:00
Brad Parker
c962da0ddb add video setting to select gpu (currently implemented for vulkan) 2019-06-13 12:47:08 -04:00
Twinaphex
57c373e1d7
Merge pull request #8350 from huwpascoe/core_updater
Flag existing cores in the updater
2019-06-13 04:42:57 +02:00
Twinaphex
0317b59da3
Merge pull request #8946 from LazyBumHorse/master
allow saving and properly loading 0 pass shader presets
2019-06-13 00:54:37 +02:00
jdgleaver
e2a79daa44 Increase size of playlist core association arrays 2019-06-12 12:01:31 +01:00
jdgleaver
e6c236d275 (Wii) Add widescreen RGUI support 2019-06-11 15:57:50 +01:00
natinusala
7c17cd9213 menu display: use video_info for scissoring rect clipping 2019-06-11 10:08:00 +02:00
jdgleaver
60f5721656 (RGUI) Enable playlist display on platforms without database support 2019-06-10 12:00:04 +01:00
LazyBumHorse
b54a360ab8 allow saving and properly loading 0 pass shader presets 2019-06-09 21:34:00 +02:00
Twinaphex
81f1b3df7c
Merge pull request #8933 from LazyBumHorse/master
make shader presets use relative paths
2019-06-08 03:52:20 +02:00
Twinaphex
3ec1a4d73e
Merge pull request #8935 from jdgleaver/xmb-thumb-size
(XMB) Add optional thumbnail scaling
2019-06-07 20:00:30 +02:00
jdgleaver
cfaaa5eeff (XMB) Add optional thumbnail scaling 2019-06-07 16:38:17 +01:00
LazyBumHorse
2816730b2f make shader presets use relative paths
Also change fill_pathname_resolve_relative() to apply path_resolve_realpath() as well
2019-06-07 16:11:06 +02:00
jdgleaver
c03b20db55 - Hide content information 'Database Entry' item if content has no label
- Correctly handle error conditions in menu_displaylist 'DISPLAYLIST_DATABASE_ENTRY' case (i.e. prevent segfaults/menu lockups when content
has no label)
2019-06-07 11:23:06 +01:00
jdgleaver
97aaf42446 Overhaul content 'Information' menu display 2019-06-06 17:37:32 +01:00
twinaphex
6d17d11132 Rewrite '== false' to '!' for our own code 2019-06-06 13:50:39 +02:00
Huw Pascoe
7d926e9cf6 Flag existing cores in the updater
Cores that the user already has are flagged.
2019-06-05 22:19:52 +01:00
jdgleaver
c4bb2f5ad7 (XMB/Ozone) Add optional thumbnail upscaling 2019-06-05 17:05:30 +01:00
Twinaphex
faf612098f
Merge pull request #8912 from jdgleaver/remove-history-favourites
Add option to show 'remove playlist entry' only on history/favourites
2019-06-04 19:35:27 +02:00
jdgleaver
736ff13e35 (GEKKO) Add optional overscan correction 2019-06-04 15:50:47 +01:00
jdgleaver
80c9475fa4 Add option to show 'remove playlist entry' only on history/favourites 2019-06-04 11:29:51 +01:00
Twinaphex
a6895360b4
Merge pull request #8909 from plaidman/master
fixing duplicate "restart retroarch" entries in lakka
2019-06-04 02:52:46 +02:00
hizzlekizzle
de3c1b82b7
Merge pull request #8903 from Ryunam/toggle-showmouse-overlay
Add toggle to show/hide mouse cursor with overlays
2019-06-03 13:43:54 -05:00
Tomsic, Jason
1c9e78187f fixing duplicate "restart retroarch" entries in lakka 2019-06-03 14:16:02 -04:00
jdgleaver
e5be7931fd (RGUI) Minor clean-ups 2019-06-03 12:08:47 +01:00
Ryunam
ed1d98d2a2 Add toggle to show/hide mouse cursor with overlays 2019-06-02 23:48:01 +02:00
twinaphex
7ea2034922 Cleanups 2019-06-02 21:02:59 +02:00
twinaphex
f5106afc0f (config.def.h) Turn more const variables into macros 2019-06-02 18:09:33 +02:00
twinaphex
5a4294359a (config.def.h) Turn const variables into macros 2019-06-02 17:19:58 +02:00
twinaphex
4c5f9ee65b Cleanups 2019-05-31 17:34:32 +02:00
twinaphex
ca33665287 (config.def.h) WIP - most of these const variables should become
macros instead
2019-05-31 15:59:49 +02:00
twinaphex
820ffb9d20 Cleanups - cut down on the rest of unnecessary filestream_exists calls
- only use filestream_exists immediately before filestream_delete or
any other genuine filestream-related operations - when just checking
if a path exists on the filesystem, just use path_is_valid - faster
2019-05-31 06:43:20 +02:00
jdgleaver
1891ca7c68 Fix typo in PR #8885 2019-05-30 14:09:21 +01:00
jdgleaver
aa6beb68c2 Add option to show/hide 'Restart RetroArch' 2019-05-30 13:52:24 +01:00