Commit Graph

130 Commits

Author SHA1 Message Date
twinaphex 662976608a (Shader) Fix regression - when a game was loaded with a core
preset, it would load the preset inside shader slot 1 (menu)
instead of properly setting each pass
2019-04-30 19:26:36 +02:00
twinaphex bc2bdd5734 config_file_read not needed anymore 2019-04-30 13:37:10 +02:00
twinaphex 8ea1305d75 (menu_shader.c) Cleanups 2019-04-28 05:26:56 +02:00
twinaphex 955a149ce9 Use config_file_read where we can assume we are reading a file 2019-04-22 01:56:24 +02:00
twinaphex a7abd77141 (menu_shader) Remove some unnecessary functions 2019-04-13 06:40:21 +02:00
hizzlekizzle 255dc9d932
don't alphabetize shader presets
It makes it harder to edit them later.
2019-03-31 08:53:36 -05:00
Brad Parker 5bedd981ec allow shaders when menu is disabled 2019-01-06 23:03:28 -05:00
orbea 849259d8f6 libretro-common: Sort config file conditionally.
This allows optionally sorting configure files and is needed to fix the
order of inputs in the autoconfig profiles which should not be sorted
alphabetically.

Fixes https://github.com/libretro/RetroArch/issues/7873
2019-01-03 15:28:32 -08:00
twinaphex f94d7e07af Cleanups 2018-10-06 04:20:54 +02:00
Brad Parker 88cecc521a Qt: hopefully parameters are fixed now part 2 2018-08-22 22:51:50 -04:00
twinaphex e5ec7d0fda (Menu) Cut down on some code duplication 2018-05-14 06:18:57 +02:00
twinaphex 72dc03a1c6 Try to fix Coverity warnings 2018-03-19 06:58:36 +01:00
twinaphex d991c7d471 Fix warning 2018-03-09 15:44:11 +01:00
Twinaphex ae6e410de1 Remove unused variables 2018-03-01 22:28:26 +01:00
twinaphex 7da491d009 * menu_shader.c - cleanup
* Nothing uses HAVE_SHADERS define anymore, so get rid of it* Nothing
uses HAVE_SHADERS define anymore, so get rid of it* Nothing uses
HAVE_SHADERS define anymore, so get rid of it* Nothing uses HAVE_SHADERS
define anymore, so get rid of it* Nothing uses HAVE_SHADERS define
anymore, so get rid of it* Nothing uses HAVE_SHADERS define anymore, so
get rid of it* Nothing uses HAVE_SHADERS define anymore, so get rid of
it* Nothing uses HAVE_SHADERS define anymore, so get rid of it
2018-03-01 17:19:19 +01:00
twinaphex f0f3df3043 Get rid of some menu shader functions 2018-02-27 05:07:34 +01:00
twinaphex e75992a66f Get rid of HAVE_SHADER_MANAGER 2018-02-25 23:03:39 +01:00
twinaphex dd91373f35 Remove unused function 2018-02-25 22:08:16 +01:00
twinaphex 8d7911976c Refactor menu_shader.c 2018-02-25 20:42:44 +01:00
twinaphex 74309e6e1c shader code - Get rid of more hashes 2018-02-25 17:20:22 +01:00
twinaphex 7acd4b1847 (Windows) Buildfixes - use fseek for MSVC 2003 and earlier 2018-02-17 19:11:49 +01:00
twinaphex ce2fb1770b Some further cleanups 2018-02-11 16:20:05 +01:00
twinaphex d4bd06545f Small cleanups to menu_shader.c 2018-02-11 16:18:44 +01:00
twinaphex 02ae733b27 Try to fix console builds 2018-02-11 16:13:58 +01:00
radius 1bfea60c2d fix whitespace 2018-02-09 19:44:42 -05:00
radius 31b99e2b01 Fix #6272 2018-02-09 19:42:48 -05:00
Andrés 42e93f3197 restore missing code pieces of my last PR (#6261) 2018-02-08 22:24:18 -05:00
twinaphex 9dc597cf6c Undo all menu hash related changes - was causing more harm
than good - apologies to radius since we now have to recode
his shader changes PR
2018-02-09 01:51:37 +01:00
radius 4eb7ca5db1 better fix for shader next / shader prev 2018-02-07 21:26:03 -05:00
radius e9b7c7267e fix some potential crashes when a shader is not set in config 2018-02-07 21:26:01 -05:00
radius bc90062366 small fixes 2018-02-07 21:26:00 -05:00
radius c64d5556c1 readd shader to config, let's use a runtime check instead of overwritting the shader preset all the time 2018-02-07 21:25:59 -05:00
aliaspider 55d262f5d8 (WIIU) add preliminary multi-pass shader support.
can load *.slangp and *.slang files. since there is no runtime compiler,
precompiled shaders (*.gsh) need to be present next to each *.slang
source file.
2018-01-06 03:39:53 +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 330d8dc59e Cleanups 2017-09-09 00:02:38 +02:00
twinaphex e6ab06a701 Move path variables 2017-04-29 00:39:29 +02:00
twinaphex cc095e56fc Start refactoring bool variables 2017-04-28 00:53:20 +02:00
twinaphex 268a173f44 (menu_shader.c) Start using configuration_set_bool 2017-04-23 13:39:35 +02:00
twinaphex a56afd8b8f Only set video.shader_enable to false if video_driver_set_shader
fails
2017-03-23 19:17:09 +01:00
twinaphex 541c1b34e1 Don't do early return inside menu_shader_manager_init; free the
previously allocated menu shader first
2017-03-23 19:15:14 +01:00
twinaphex 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex f96ee3e6d6 (menu) cleanups; move variables 2017-01-16 21:31:30 +01:00
twinaphex 899601e7bb Do an early return inside menu_shader_manager_init if already initialized 2017-01-11 03:36:35 +01:00
twinaphex 42c26ec539 (menu_shader.c) Cleanups 2017-01-09 20:42:15 +01:00
twinaphex b4b79b56ae CLeanup 2017-01-09 03:59:59 +01:00
twinaphex 25decd033a Cleanup menu_shader.c 2017-01-09 03:53:55 +01:00
twinaphex 78608f4c46 Create menu_shader_manager_get_parameters 2017-01-09 03:28:26 +01:00
twinaphex 5e3c2f3f63 Create menu_shader_manager_get_pass 2017-01-09 03:06:24 +01:00
twinaphex 9b0950440a Create menu_shader_manager_get_amount_passes 2017-01-09 03:01:59 +01:00
twinaphex bfd0f0bc3d Move menu shader code to menu_shader.c 2016-12-24 23:36:07 +01:00