1982 Commits

Author SHA1 Message Date
twinaphex
088a688402 Rename current_input to current_bits 2019-06-21 07:05:20 +02:00
twinaphex
98987239bb Cleanups 2019-06-21 07:01:21 +02:00
AlexanderR
d0cde96bd4 Raise menu key repeat delay to account for slow input devices
Fixes duplicated key presses on NEC IR remotes.
2019-06-21 11:35:16 +07:00
twinaphex
644888ee1a Fix manual bind of menu toggle 2019-06-21 06:28:19 +02:00
twinaphex
affa93bd98 Refactor menu_input_keys_pressed 2019-06-21 05:27:21 +02:00
twinaphex
6b9238198b Cleanups 2019-06-21 04:47:51 +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
twinaphex
ef0cedd798 Create macro for input_menu_keys_pressed 2019-06-20 14:12:24 +02:00
twinaphex
b07e2d0585 Simplify input_keys_pressed 2019-06-20 13:49:05 +02:00
twinaphex
3a8df35d4d (Input) Split for loops up into two - first check button keys,
then check the meta keys
2019-06-20 13:31:00 +02:00
twinaphex
ce3f46adbd Get rid of RARCH_CTL_UNSET_KEY_EVENT and other cleanups 2019-06-20 12:51:29 +02:00
twinaphex
c064d30250 Fix --disable-runahead switch 2019-06-20 10:20:48 +02:00
twinaphex
10c5331cc0 Move runahead dirty_input to retroarch.c - allows us
to make retro_ctx and current_core static
2019-06-20 10:08:32 +02:00
twinaphex
d12e857644 video_driver_get_status is no longer necessary 2019-06-20 09:55:06 +02:00
twinaphex
6bc1802914 Move run_ahead.c to retroarch.c - most of the runloop
should now be self-contained in one file. Allows us to
turn more functions static, remove more extraneous functions
that just consisted of a single line (mostly getters/setters), etc.
2019-06-20 09:30:44 +02:00
twinaphex
d50a6b6bd2 Add video_driver_has_focus 2019-06-20 06:26:29 +02:00
radius
d865c5e4a6 add some copyright on files I contributed considerably just in case 2019-06-20 05:45:17 +02:00
twinaphex
c46ba7f63b Turn more functions static 2019-06-20 04:58:52 +02:00
twinaphex
720424777b Turn function static 2019-06-20 04:50:55 +02:00
twinaphex
337e2110a1 Get rid of video_driver_cb_has_focus function pointer 2019-06-20 04:43:23 +02:00
twinaphex
129e73c588 turn lots of audio functions static 2019-06-20 04:29:08 +02:00
Twinaphex
47910871a2 OSX hits rarch_menu_running_finished while quitting at a point
in time where configuration_settings is NULL. For now, check first
if the settings pointer is NULL
2019-06-19 10:40:42 +02:00
twinaphex
4d8f5f4dde Merge core_impl.c into retroarch.c 2019-06-19 09:51:56 +02:00
twinaphex
f7d24b7c10 Cleanup 2019-06-19 06:08:35 +02:00
twinaphex
f461f32264 Buildfix 2019-06-19 05:52:16 +02:00
twinaphex
6d4ebfe9c5 Cleanups 2019-06-19 05:35:03 +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
68cbd5048c Convert input_conv_analog_id_to_bind into macro 2019-06-19 05:16:24 +02:00
twinaphex
84d246ad0b Cleanup unused functions 2019-06-19 04:15:30 +02:00
twinaphex
5d91af629e Set SHADERS_SLANG flag for D3D10/11/12 and query the video driver poke
interface's 'get flags' function before querying the video context
driver's 'get flags' function (D3D10/11/12/WiiU don't have a context
driver at all)
2019-06-19 03:18:28 +02:00
twinaphex
a6b3d6e8db Silence some warnings 2019-06-19 00:34:28 +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
b62476da77 Revert "Turn wifi_driver_ctl into a static function"
This reverts commit 8a5ae0b6cf990680b403d9404cb6d43b1c507c33.
2019-06-18 22:18:11 +02:00
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