Commit Graph

30 Commits

Author SHA1 Message Date
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
twinaphex
453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex
2cc70005b9 Move more code to settings_data.c 2014-11-20 02:44:30 +01:00
twinaphex
4f40c14d69 Move menu code up one root dir 2014-10-28 19:54:23 +01:00