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
a094d09802
Remove shader_ext variable
2019-06-19 01:54:42 +02:00
twinaphex
a6b3d6e8db
Silence some warnings
2019-06-19 00:34:28 +02:00
bparker06
09ecea23d1
Update CHANGES.md
2019-06-18 18:20:45 -04: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
47d5da560b
Update CHANGES.md
2019-06-18 18:02:20 -04:00
twinaphex
d63f4afc57
Add missing header include
2019-06-18 22:46:37 +02:00
Brad Parker
d01f04c146
d3d10/11/12: add GPU selection
2019-06-18 16:35:50 -04:00
Twinaphex
6753bfcf9c
Merge pull request #8984 from asavah/fixinclude
...
fix missing include
2019-06-18 22:30:03 +02:00
root
e8b07e93a4
fix missing include
2019-06-18 23:19:09 +03: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
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