Commit Graph

57 Commits

Author SHA1 Message Date
orbea
e13ec54dc6 Fix --disable-overlay. 2019-07-21 10:26:42 -07:00
twinaphex
b6b22a9a32 More shader refactors - make sure we can compile entirely
without shader support if HAVE_CG, HAVE_GLSL, HAVE_SLANG
and HAVE_HLSL are all not defined
2019-07-21 00:34:07 +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
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
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
CozmoP
224f925b3b fix camera and location dropdown lists 2019-04-01 02:07:08 +02:00
twinaphex
190e6316e3 Replace more instances of get_type_from_ext 2019-03-13 20:12:32 +01:00
Brad Parker
4f0d61a2ac update copyright 2019-02-22 19:13:36 -05:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
Zoran Vuckovic
b487c3cace Add MIDI support 2018-06-16 21:17:32 +02:00
twinaphex
88ab8ceb24 Conditionally build up shader list 2018-02-26 18:56:56 +01:00
Brad Parker
09ad30f9de fix stack-use-after-scope ASAN error 2018-02-08 22:09:27 -05:00
twinaphex
6eee3d68dd Cleanups 2018-02-05 15:03:54 +01:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
612cb54cfe Merge input_hid_driver 2017-06-11 08:56:36 +02:00
twinaphex
6b3dbff75f Merge input_driver.c and input_joypad_driver.c 2017-06-06 05:56:02 +02:00
twinaphex
d6ffd69ed0 Silence warnings 2017-04-28 15:32:15 +02:00
twinaphex
ed53be7c81 Move all bool settings 2017-04-28 14:11:34 +02:00
twinaphex
cb3943da0e Cleanup 2017-04-23 17:53:26 +02:00
twinaphex
8c89ec158c Update copyrights 2017-03-22 03:09:18 +01:00
twinaphex
6396f0391a Cleanups 2017-02-28 10:56:02 +01:00
twinaphex
3cecdcdd7d Cleanups 2017-02-28 10:55:39 +01:00
twinaphex
24b9237669 Prevent null pointer dereferences 2017-02-26 04:38:24 +01:00
twinaphex
08a60c94d0 Move audio resampler drivers (Sinc/nearest) to libretro-common; maister gave permission to relicense to MIT 2016-12-12 13:02:29 +01:00
Brad Parker
d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
twinaphex
f017593501 Reduce size of some char variables and get rid of some implicit memsets 2016-10-27 09:44:20 +02:00
twinaphex
c3ab8800f4 Prevent implicit memsets 2016-10-21 05:57:40 +02:00
Jean-André Santoni
c45058d3ae Start adding a WiFi driver 2016-09-22 02:02:43 +02:00
twinaphex
229e0dd640 Cleanups 2016-09-08 05:48:43 +02:00
twinaphex
8320466824 Add HAVE_CONFIG_H ifdefs 2016-09-06 23:52:33 +02:00
Brad Parker
cf4bf344a9 add configuration option to toggle showing hidden files (default on), fixes issue #2769 2016-08-27 21:48:55 -04:00
Brad Parker
cc582db6fb recursively scan directories for database content, fixes issue #3139 2016-08-21 00:59:41 -04:00
twinaphex
bd88b9d1d2 (Wii) Fix warnings / unused variables 2016-07-24 11:32:45 +02:00
twinaphex
397f82c9f5 Get rid of configuration.h dependency in list_special.c 2016-07-18 07:15:58 +02:00
twinaphex
8345ad2aba Cleanups 2016-07-18 07:11:08 +02:00
twinaphex
182ee094c7 Rewrite this to make it a bit more cleaner - using string_list 2016-07-18 07:05:47 +02:00
radius
c38adcabd3 fix shader next/prev 2016-07-17 23:47:43 -05:00
twinaphex
d4051fcc27 Fix 'logically dead code' 2016-07-12 23:10:25 +02:00
twinaphex
d44062d841 Make HAVE_HID completely optional 2016-06-07 03:01:33 +02:00
twinaphex
6d11f4ab9b Prevent 'logically dead code' warning 2016-06-05 19:09:54 +02:00
Alcaro
9ab4e79503 Simplify these checks a little. 2016-06-02 21:02:28 +02:00
twinaphex
1156406dfc Null-check core_info variable before using it 2016-06-02 20:58:42 +02:00
twinaphex
307361e12c Prevent 'explicit null dereferenced' warning 2016-06-02 20:53:26 +02:00
twinaphex
20aa9ed25a (list_special.c) Attempt to solve another defect 2016-05-24 23:45:56 +02:00
twinaphex
974d3245d2 Fix logically dead code warnings 2016-05-23 22:04:00 +02:00
twinaphex
faef7b498d (Coverity) Fix some resource leaks 2016-05-23 21:28:43 +02:00