1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-08 12:15:49 +00:00
Commit Graph

53 Commits

Author SHA1 Message Date
libretroadmin
38f278519c Remove some header includes 2024-06-16 21:37:46 +02:00
libretroadmin
b105fa5a4f Make one function static 2023-05-11 23:14:36 +02:00
libretroadmin
ec8aa8e186 Turn functions static 2023-05-05 22:03:41 +02:00
libretroadmin
dfd0d6b14a Turn another function static 2023-04-29 14:38:31 +02:00
libretroadmin
138784a32d Turn another function static 2023-04-29 14:38:31 +02:00
libretroadmin
1a91aabd08 (menu_driver) Turn more functions static 2023-04-29 14:38:31 +02:00
LibretroAdmin
f836328c56
Append Preset (#14737) (#14757)
WIP version of Append and Prepend preset, Includes UI for Standard Retroarch, but not the QT UI companion

Co-authored-by: HyperspaceMadness <remimcgill@hotmail.com>
2022-12-22 21:36:32 +01:00
twinaphex
80e7e1adde Move state over 2021-10-28 06:03:54 +02:00
twinaphex
9b4636ff62 Fixes --disable-menu 2021-10-15 14:32:07 +02:00
twinaphex
7c74e035b0 Small cleanups 2021-09-18 06:15:02 +02:00
twinaphex
2490f6e215 Move code from retroarch.c to video_shader_parse.c 2021-09-11 18:15:35 +02:00
twinaphex
c75bb549e5 Move another function over to menu_driver.c 2021-09-09 17:26:59 +02:00
twinaphex
4830150d22 Move function out of retroarch.c and into menu_driver.c 2021-09-09 17:21:48 +02:00
twinaphex
772282eeec Move menu shader code over to menu_driver.c 2021-09-09 15:33:17 +02:00
twinaphex
82c009d405 Pass state around to menu_shader_manager_free 2020-06-06 18:44:53 +02:00
twinaphex
1f553ac1c4 Get rid of menu_shader_set_modified - instead, add a single
'modified' variable to video_shader struct
2020-03-06 17:05:20 +01:00
twinaphex
13ea2ceaa6 Get rid of some header includes 2020-02-16 17:09:52 +01:00
twinaphex
b7a17442d9 (menu_shader.c) Remove configuration.h dependency 2020-02-13 02:04:35 +01:00
LazyBumHorse
9b71340959 finish up shader menu changes, add 'remove presets' to Qt 2019-08-24 16:43:52 +02:00
twinaphex
8d9812985b Add this to the header 2019-08-24 03:34:03 +02:00
LazyBumHorse
a882901e39 save unmodified auto-shaders as a reference instead of a copy, see:
- implement #reference directive for auto-shaders
 - replace usual preset saving and loading functions with video_shader_read_preset() and video_shader_write_preset()
 - apply saved presets automatically for console menus
 - move auto-shader saving logic from menus into menu_shader.c menu_shader_manager_save_auto_preset()
 - refactor menu_shader_manager_save_preset() into menu_shader_manager_save_preset_internal()
2019-08-22 16:57:28 +02:00
twinaphex
b13ee8485f Start passing shader pointer to menu_shader.c functions 2019-08-18 16:59:09 +02:00
LazyBumHorse
719555bae1 Overhaul shader loading logic, add --set-shader CLI option 2019-08-17 15:20:51 +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
twinaphex
ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
twinaphex
a7abd77141 (menu_shader) Remove some unnecessary functions 2019-04-13 06:40:21 +02:00
twinaphex
f0f3df3043 Get rid of some menu shader functions 2018-02-27 05:07:34 +01: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
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
59b3344e72 Combine video_driver.c and video_shader_driver.c 2017-05-18 14:47:24 +02:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
42c26ec539 (menu_shader.c) Cleanups 2017-01-09 20:42:15 +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
201e03d202 Start moving menu_shader variables out of menu_state struct 2016-09-04 22:02:29 +02:00
radius
a464d3672a Add options to save per-core/game shaders 2016-07-30 11:16:42 -05:00
twinaphex
07932bff3e Use retro_common_api.h 2016-06-03 05:49:46 +02:00
twinaphex
c72222b572 Remove menu_shader_free 2016-05-23 17:49:22 +02:00
twinaphex
7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex
1831479079 Create menu_shader_free 2015-06-15 02:15:46 +02:00
twinaphex
10fdaff1b6 (Menu) Cleanups 2015-02-11 21:27:01 +01:00
twinaphex
da88bcdd91 Rename gfx_shader* to video_shader* 2015-01-19 21:24:08 +01:00
twinaphex
cec3af8e4a Rename shader_context.c to video_shader_driver.c 2015-01-12 21:41:27 +01:00
twinaphex
b2c03ccbfb Document and refactor menu_shader.c 2015-01-10 05:53:41 +01:00