43 Commits

Author SHA1 Message Date
twinaphex
09f5d2c95d Fix compilation when configuring with --disable-overlay 2019-07-10 05:39:50 +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
ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
Dwedit
1faaf68d9d UTF-8 Fix favoring MSVC 2010-2013.
MSVC 2015 and 2017 projects: Add /utf-8 switch
Makefile.griffin: Add -utf-8 switch to MSVC 2015 builds
Makefile.msvc: Add -utf-8 switch to MSVC 2017 builds
intl/msg_hash files: Added BOM and MSVC 2010-2013 pragmas
menu_cbs.c: Replace Euro character with raw bytes
menu_osk_utf8_pages.h: Replace pragma with MSVC 2010-2013 version range
shaderparamsdialog.cpp: Add BOM and MSVC 2010-2013 pragma
2019-05-21 18:02:25 -05:00
twinaphex
c38ed7f843 Use path_is_directory to check if directories exist instead of
filestream_exists
2019-04-22 02:43:09 +02:00
twinaphex
a7abd77141 (menu_shader) Remove some unnecessary functions 2019-04-13 06:40:21 +02:00
Brad Parker
79d0870526 Qt: fix shader file filter 2019-03-13 16:18:24 -04:00
twinaphex
190e6316e3 Replace more instances of get_type_from_ext 2019-03-13 20:12:32 +01:00
twinaphex
7c7d733d26 Buildfix 2019-02-06 23:17:43 +01:00
twinaphex
1eeb58c5dd Revert "Cleanups"
This reverts commit 45546697508a4e45297a459741e0daec95462e30.
2019-02-03 19:40:27 +01:00
twinaphex
4554669750 Cleanups 2019-02-03 17:49:31 +01:00
orbea
c1765f0a6c Fix qt with CXX_BUILD. 2019-01-14 00:24:46 -08:00
Brad Parker
5bedd981ec allow shaders when menu is disabled 2019-01-06 23:03:28 -05:00
Brad Parker
65c6bb69a4 allow building Qt with --disable-menu 2019-01-06 17:37:36 -05:00
twinaphex
a662b62d19 Use runloop_get_libretro_system_info in more places - clean some code up 2018-10-30 17:11:07 +01:00
Brad Parker
c2a09b4d9c Qt: fix signedness comparisons 2018-09-21 16:40:31 -04:00
Brad Parker
162c0ebf33 Qt: fix shader parameter checkboxes 2018-09-18 16:15:29 -04:00
Twinaphex
79f26b947d Remove unused variables 2018-09-18 04:28:08 +02:00
Brad Parker
e9e424ec82 Qt: add right-click option to download thumbnail for playlist entries 2018-08-25 01:00:18 -04:00
Brad Parker
6464003d5f Qt: use id instead of array index for shader params, fix empty window on vulkan 2018-08-23 11:42:31 -04:00
Brad Parker
88cecc521a Qt: hopefully parameters are fixed now part 2 2018-08-22 22:51:50 -04:00
Brad Parker
8ff257290c Qt: hopefully parameters are fixed now 2018-08-21 21:20:25 -04:00
Brad Parker
67653ba5f0 Qt: try to fix wrong parameter being set in a different way 2018-08-21 21:01:56 -04:00
Brad Parker
0b9adb3938 Qt: fix pass parameters switched around on context reset if move up/down buttons were used 2018-08-21 19:16:18 -04:00
Brad Parker
498ed160bb Qt: fix shader passes disappearing on context reset 2018-08-21 18:25:25 -04:00
Brad Parker
cc16c45069 Qt: keep size of shader window when reloading if user has changed it 2018-08-21 11:14:42 -04:00
Brad Parker
281966a14c Qt: make sure video_shader exists 2018-08-21 10:15:00 -04:00
Brad Parker
ff09503ac1 Qt: add right-click options to reset shader parameters back to defaults 2018-08-20 21:48:59 -04:00
Brad Parker
4d09ddde1c Qt: limit shader preset/pass selection to the appropriate extensions 2018-08-20 20:26:50 -04:00
Brad Parker
e9c68597ff Qt: try to work around layout crashing issues on Windows 2018-08-20 18:47:18 -04:00
Brad Parker
0ed43eb908 Qt: fix tool button handling on shader window 2018-08-20 12:57:05 -04:00
Brad Parker
3ad54bc9ca Qt: revert paintEvent changes, only keep one for ShaderParamsDialog 2018-08-19 19:27:06 -04:00
Brad Parker
8380ad61f9 Qt: add missing paintEvent overrides for stylesheet correctness 2018-08-19 18:54:13 -04:00
Brad Parker
b60df44b59 Qt: add load/save/remove/apply buttons to top of shaders dialog 2018-08-19 16:26:23 -04:00
Brad Parker
c00fd41b93 Qt: style fixup for filter/scale/move shader options 2018-08-18 19:07:58 -04:00
Brad Parker
380cd7ac53 Qt: add move up/down button for shader passes 2018-08-18 18:03:51 -04:00
Brad Parker
894d460821 Qt: add "current shader" prefix to window title 2018-08-18 13:04:53 -04:00
Brad Parker
0a9891def1 Qt: fix checkbox setting of shader parameters 2018-08-18 13:00:39 -04:00
Brad Parker
e78f2f63f7 Qt: fix changing of double spinbox values 2018-08-18 12:39:28 -04:00
Brad Parker
e4834250b9 Qt: set shader dialog title to current preset/shader name 2018-08-18 12:39:17 -04:00
Brad Parker
16459bfa91 Qt: add filter/scale to shader window 2018-08-18 00:33:59 -04:00
Brad Parker
648705154e Qt: split functions into separate files 2018-08-16 22:48:31 -04:00