1747 Commits

Author SHA1 Message Date
twinaphex
8a5ae0b6cf Turn wifi_driver_ctl into a static function 2019-06-18 22:14:34 +02: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
da1d03bcb0
Update retroarch.c 2019-06-18 02:34:14 +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
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
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
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
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
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
33d4d8b7c9 Update libretro-common 2019-06-14 13:13:49 +02:00
twinaphex
99240fe7c1 Cleanups 2019-06-14 05:08:04 +02:00
twinaphex
fa55047e2e (config.features.h) Turn static const variables into macros 2019-06-13 22:34:24 +02:00
twinaphex
17cbd134d5 Reimplement take screenshot 2019-06-13 09:30:07 +02:00
twinaphex
53c91d6e56 More runloop cleanups - create HOTKEY_CHECK3 2019-06-09 08:48:59 +02:00
twinaphex
640fb3a5cb command.c / retroarch.c cleanups 2019-06-09 08:35:16 +02:00
twinaphex
dc6de293ef (runloop) Cleanups 2019-06-09 06:34:01 +02:00
twinaphex
5d301f321d Refactor hotkey checks 2019-06-08 15:19:15 +02:00
twinaphex
548e1380d7 Cleanup - use HOTKEY_CHECK 2019-06-08 05:19:50 +02:00
twinaphex
bb828b7396 (retroarch.c) Create HOTKEY_CHECK 2019-06-08 05:17:14 +02:00
twinaphex
8bb74d0776 Added new hotkey AI Service and added requested
variables for OCR
2019-06-06 03:41:40 +02:00
Brad Parker
2e9df1be11 typo 2019-06-02 20:25:11 -04:00
twinaphex
5a4294359a (config.def.h) Turn const variables into macros 2019-06-02 17:19:58 +02:00
twinaphex
aee137eb7b (retroarch.c) Cleanups 2019-05-31 16:41:17 +02:00
twinaphex
90fab37a86 Get rid of RUNLOOP_STATE_SLEEP and reuse existing state 2019-05-31 16:38:17 +02:00