9910 Commits

Author SHA1 Message Date
LazyBumHorse
1f69f3960a fix d3d9 not rendering xmb and temporarily disable widgets due to segfault 2019-06-24 15:42:55 +02:00
Twinaphex
d2fd4d48ae (macOS) Less warnings with static code analysis 2019-06-24 15:03:58 +02:00
Twinaphex
c8486a5081 (Cocoa/Metal) Silence bunch of warnings 2019-06-24 14:58:32 +02:00
Twinaphex
84974c7e5c Silence more warnings 2019-06-22 15:09:59 +02:00
Twinaphex
bf1951ae37 Fix plethora of warnings on OSX 2019-06-22 14:52:29 +02:00
Twinaphex
9180cc5ba2 Cleanup some warnings 2019-06-22 13:44:10 +02:00
twinaphex
bc7ba4f5d2 Move menu_input.c into retroarch.c - now all of the input code
should be inside one place - giving us the opportunity to cleanup this
mess
2019-06-21 03:40:48 +02:00
LazyBumHorse
2f96bdfc63 always filter by extensions in shader (preset) file browser 2019-06-20 13:18:55 +02:00
twinaphex
37c04932bf Revert bind/hold behavior for now 2019-06-20 11:45:51 +02:00
twinaphex
2cad59092c (menu_displaylist.c) Fix warning 2019-06-20 08:43:22 +02:00
radius
d865c5e4a6 add some copyright on files I contributed considerably just in case 2019-06-20 05:45:17 +02:00
twinaphex
48eeb15d2c Silence warnings 2019-06-20 01:16:05 +02:00
twinaphex
897a9a7c1a (MSVC 2017 UWP) Silence warnings 2019-06-19 21:20:31 +02:00
twinaphex
3a984fc2e5 (GDI) Use video_info->userdata instead of querying video_driver_get_ptr
(retroarch.c) Simplify video_driver_get_ptr
2019-06-19 05:25:26 +02:00
Twinaphex
dd315ba7bc
Merge pull request #8985 from bparker06/d3d_gpu_select
d3d10/11/12: add GPU selection
2019-06-19 00:19:51 +02:00
twinaphex
eee7430ffa Fix CXX_BUILD 2019-06-19 00:10:03 +02:00
Brad Parker
d01f04c146 d3d10/11/12: add GPU selection 2019-06-18 16:35:50 -04:00
twinaphex
de9f7e521b Make this function static 2019-06-18 22:01:11 +02:00
twinaphex
df8d7bb5aa runloop_msg_queue now local to retroarch.c - remove
functions runloop_msg_queue_lock and runloop_msg_queue_unlock,
turn them into macros instead and only use them inside retroarch.c
2019-06-18 21:33:01 +02:00
twinaphex
10b28e5d60 runloop_msg_queue_{lock|unlock} are only referenced from retroarch.c now 2019-06-18 21:24:42 +02: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
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