Commit Graph

176 Commits

Author SHA1 Message Date
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
twinaphex 5758da85b0 Create menu_shader functions 2016-12-24 23:32:02 +01:00
twinaphex 42ffa50758 (menu_shader.c) Cleanup 2016-12-24 23:06:38 +01:00
twinaphex a9473a71c5 (menu_shader.c) Cleanups 2016-12-02 17:34:40 +01:00
twinaphex 9fac4ee85b Cleanups 2016-10-26 07:06:18 +02:00
twinaphex 97d80d5e3e Get rid of more implicit memsets 2016-10-26 06:23:05 +02:00
twinaphex 1266c0609a Create path_is_empty 2016-09-30 04:43:16 +02:00
twinaphex 329f6ad612 Update path_get 2016-09-29 08:31:41 +02:00
twinaphex 075599e818 Start using path_ functions for accessing and modifying global->path.config 2016-09-17 13:14:14 +02:00
twinaphex b89def5d8f Rename config_get/config_set functions 2016-09-17 12:51:44 +02:00
twinaphex 5aebdb7484 Mov code to paths.c 2016-09-17 12:35:29 +02:00
twinaphex 83194ff235 (menu) Cleanups 2016-09-08 05:43:10 +02:00
twinaphex db5a38cd0c (Wii) Prevent warnings 2016-09-05 17:30:12 +02:00
twinaphex 5afb197198 Cleanup 2016-09-05 08:03:25 +02:00
twinaphex 201e03d202 Start moving menu_shader variables out of menu_state struct 2016-09-04 22:02:29 +02:00
Alcaro 4ce3683333 Fix indentation derp 2016-08-17 13:53:41 +02:00
twinaphex a676ce8ffe (libvita2d) Buildfixes 2016-08-01 01:02:26 +02:00
radius a464d3672a Add options to save per-core/game shaders 2016-07-30 11:16:42 -05:00
twinaphex 6ffa5ab6b2 Create config_get_active_path 2016-07-23 14:18:17 +02:00
twinaphex 474430b043 Expand file_path_str 2016-07-01 11:16:56 +02:00
twinaphex 45c33c7acf Create fill_pathname_base_ext 2016-07-01 11:12:24 +02:00
twinaphex 099be6ed2d Use noext versions of fill_path* functions 2016-06-28 13:13:36 +02:00
twinaphex 7a745c3f70 Use string_is_empty 2016-06-28 11:02:51 +02:00
twinaphex a585017208 Rename MENU_FILE_ to FILE_TYPE_ 2016-06-20 15:50:37 +02:00
twinaphex 450e1f4746 Rename menu_hash_to_file_type 2016-06-20 15:33:22 +02:00
twinaphex 284f8cfd23 Remove menu_hash_ files 2016-06-20 03:35:09 +02:00
twinaphex 5075712cac Get rid of menu_hash_calculate - use msg_hash_calculate instead 2016-06-20 00:37:38 +02:00
twinaphex 14b0b75fe9 Move more code over to menu_hash_to_file_type 2016-06-17 23:24:15 +02:00
twinaphex 36e33bde90 Cleanup 2016-06-03 04:21:19 +02:00
twinaphex c2dd8b884e Cleanups 2016-06-03 04:18:28 +02:00
twinaphex bfa6f49ae6 Fix logically dead code warnings 2016-05-24 22:12:51 +02:00
twinaphex 0a3224180b (Coverity) Fix uninitialized variables; fix some resource leaks 2016-05-23 21:19:28 +02:00
twinaphex c72222b572 Remove menu_shader_free 2016-05-23 17:49:22 +02:00
twinaphex 895783d854 Move some variables 2016-04-28 20:49:13 +02:00
twinaphex 65dec874a8 Move some path settings 2016-04-28 19:52:25 +02:00
twinaphex 7dffc6286b Internally change directory settings 2016-04-28 19:26:02 +02:00
Hans-Kristian Arntzen adbf9fed16 Vulkan implementation. 2016-02-16 20:42:02 +01:00
twinaphex bb0b6a6b68 Style nits 2016-02-14 17:44:00 +01:00
twinaphex 84d64c4042 Add RARCH_MENU_CTL_DRIVER_DATA_GET 2016-02-10 21:15:23 +01:00
twinaphex 3a5ddf15cf Nits 2016-02-04 21:27:58 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex 1004537e8d Create MENU_ENTRIES_CTL_SET_REFRESH/MENU_ENTRIES_CTL_UNSET_REFRESH 2015-12-12 02:14:50 +01:00
twinaphex aaf6d64432 Create RARCH_MENU_CTL_SHADER_DEINIT 2015-12-10 20:09:15 +01:00
twinaphex 77b623bdcd Go through RARCH_MENU_CTL_SHADER_GET 2015-12-10 19:59:21 +01:00
twinaphex 1cfb39a9d1 merge menu.c and menu_driver.c 2015-12-06 17:55:27 +01:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex f48830cfc0 Revert "Simplify menu_entries_set_refresh"
This reverts commit 6ca0962f9e.
2015-10-22 03:54:34 +02:00
twinaphex 6ca0962f9e Simplify menu_entries_set_refresh 2015-10-22 03:45:14 +02:00
twinaphex 02a5d738fe Static code analysis cleanups 2015-09-28 23:00:22 +02:00
twinaphex d3da036a4e Header cleanups 2015-09-04 21:43:08 +02:00
twinaphex 15ba019ea1 Don't make asserts dependent on retro_log.h 2015-09-01 11:59:27 +02:00
twinaphex 5479bae312 Refactor set_refresh functions somewhat 2015-08-21 18:44:14 +02:00
twinaphex a70f09a90d Rearrange structs 2015-07-27 17:18:10 +02:00
twinaphex 8bfea0322f More C89 build fixes 2015-06-26 19:37:41 +02:00
twinaphex 897361b9d4 Create menu_hash_calculate 2015-06-17 19:55:35 +02:00