49386 Commits

Author SHA1 Message Date
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
Twinaphex
a9a1ff0047
Merge pull request #8979 from LazyBumHorse/fix_dolphin_crash
workaround for crash due to glcore not always using at least OpenGL 3.2
2019-06-18 20:18:14 +02:00
Twinaphex
579ff877e4
Merge pull request #8910 from LazyBumHorse/video_shader_parse_refactor
(Discussion) about video driver shader compatibility (+ proper fix for #8834)
2019-06-18 14:35:16 +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
da1d03bcb0
Update retroarch.c 2019-06-18 02:34:14 +02:00
twinaphex
3af449a445 Cleanups 2019-06-18 01:23:23 +02:00
twinaphex
b08328897a Cleanup 2019-06-18 01:05:29 +02:00
twinaphex
fd17e04bb1 Merg input_remote into retroarch.c 2019-06-18 01:03:33 +02:00
twinaphex
0bb4d0f24f (dispserv_x11.c) Add math.h 2019-06-17 21:07:16 +02:00
twinaphex
c827e1b67f Turn into static function 2019-06-17 21:05:39 +02:00
twinaphex
e011a07901 Cleanup 2019-06-17 20:16:12 +02:00
twinaphex
ee37dd1953 Cleanup 2019-06-17 20:10:48 +02:00
twinaphex
04d4ddc2d7 Buildfix 2019-06-17 20:09:48 +02:00
twinaphex
7bbd927946 Merge wifi_driver.c and retroarch.c 2019-06-17 19:28:28 +02:00
twinaphex
f90665526a Cleanups 2019-06-17 19:17:02 +02:00
twinaphex
491283cea1 UI Companion drivre and MIDI driver integrated into retroarch.c too 2019-06-17 19:15:35 +02:00
twinaphex
b9c33713b4 Merge input_driver.c with retroarch.c 2019-06-17 18:59:56 +02:00
LazyBumHorse
76438fa098 workaround for crash due to glcore not always using at least OpenGL 3.2 2019-06-17 18:28:04 +02:00
twinaphex
79cadc9eaf Move configuration global state to retroarch.c 2019-06-17 16:58:43 +02:00
twinaphex
f061941456 Integrate record_driver.c into retroarch.c 2019-06-17 16:23:46 +02:00
twinaphex
ee2745d1bd Don't directly call global_get_ptr from inside retroarch.c 2019-06-17 15:37:34 +02:00
Twinaphex
2d6e56d049 Remove some unused variables 2019-06-17 15:30:31 +02:00
twinaphex
5db8da3fc8 (Cocoa) Buildfix 2019-06-17 15:19:00 +02:00
twinaphex
2d7164b54f Should fix C89_BUILD 2019-06-17 15:13:01 +02:00
twinaphex
ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
twinaphex
61879bc8e0 audio_driver_dsp_filter_init - cleanup 2019-06-17 13:06:56 +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
66022c1b13 Get rid of camera_driver_ctl and bsv_movie_ctl 2019-06-17 11:38:28 +02:00
twinaphex
c87344dca8 Cleanup camera_driver_ctl 2019-06-17 11:29:05 +02:00
twinaphex
3581786708 Merge camera_driver.c with retroarch.c 2019-06-17 11:18:27 +02:00
twinaphex
f88e6c75d5 Cleanup 2019-06-17 10:14:41 +02:00
twinaphex
ce51cf6b33 Simplify BSV code 2019-06-17 02:23:06 +02:00
Twinaphex
aec3bf41ae
Merge pull request #8977 from LazyBumHorse/fix_8974
Revert "allow saving and properly loading 0 pass shader presets"
2019-06-17 02:22:30 +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
184dc79011 Cleanups 2019-06-16 20:04:43 +02:00
twinaphex
5b6ba1acf9 Cleanups 2019-06-16 17:05:06 +02:00
twinaphex
db87e050d5 Merge movie.c into retroarch.c 2019-06-16 16:52:48 +02:00
twinaphex
e4b01642b9 Reimplement fullscreen toggle key 2019-06-16 16:20:43 +02:00
twinaphex
6581f4d968 Move some variables around 2019-06-16 16:06:37 +02:00
twinaphex
72a35481ea (XMB) Cleanups 2019-06-15 10:07:55 +02:00
twinaphex
b26a5badfd Fix typo 2019-06-15 10:00:20 +02:00
twinaphex
fc62f7afaa Update 2019-06-15 09:58:34 +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
hizzlekizzle
b38994461c
Merge pull request #8971 from jdgleaver/scanline-filter
Add 'Scanline2x' CPU video filter
2019-06-14 12:22:14 -05:00
Brad Parker
d397f9bd94 caca: xmb is allowed (rgui is not supported yet anyway) 2019-06-14 11:09:39 -04:00