twinaphex
aeedeb14a9
(Vita) Vita has no video context driver set, so this can go
2019-08-28 21:30:17 +02:00
twinaphex
fa3b927ece
Get rid of video_context_driver_get_proc_address
2019-08-28 21:26:43 +02:00
twinaphex
88720b540e
Get rid of video_context_driver_swap_interval
2019-08-28 21:12:51 +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
d52c573e13
Merge slang_preprocess.cpp into slang_process.cpp
2019-08-18 18:55:22 +02:00
twinaphex
6c671faed6
Start preparing for menu_widgets_ready to be moved to retroarch.c
2019-08-15 14:20:51 +02:00
twinaphex
980be6dba3
(GL2) Cleanups
2019-08-14 16:40:47 +02:00
twinaphex
3585d56067
(Vita2D) video_driver_get_size was used for no reason here
2019-08-13 12:34:34 +02:00
twinaphex
dc3711b35f
(GX2) video_driver_get_size was used for no reason here
2019-08-13 12:33:09 +02:00
twinaphex
d43b26348b
(Vulkan) Don't use video_driver_get_size
2019-08-13 12:28:16 +02:00
twinaphex
e43c55bef3
(GLCore) Don't use video_driver_get_size
2019-08-13 12:23:02 +02:00
twinaphex
c3d624267b
(GL) Start avoiding usage of video_driver_get_size
...
from within video drivers
2019-08-13 12:14:53 +02:00
twinaphex
4a09f66c7b
(GL drivers) Cleanups
2019-08-12 22:04:27 +02:00
twinaphex
ed6f682754
Make code more similar to gl2 video driver
2019-08-12 21:07:12 +02:00
twinaphex
fdd45f1f6b
(glcore) memset is unnecessary
2019-08-12 20:55:46 +02:00
twinaphex
2a631bd031
(glcore) Turn this into macro
2019-08-12 20:52:33 +02:00
twinaphex
a45c9b6eb4
Duplicate aspect ratio code that was being ran twice
2019-08-12 12:52:40 +02:00
twinaphex
211e664e5d
(GX2) Cleanups
2019-08-08 14:54:21 +02:00
twinaphex
65b4c2595e
Update set keyboard mapping code for input driver
2019-07-27 02:21:24 +02:00
orbea
779fbabc79
Fix CXX_BUILD=1 with libsixel.
2019-07-22 14:24:40 -07:00
Roman Fomin
e01095a51b
Fix maintaining aspect ratio
2019-07-23 01:33:43 +07:00
LazyBumHorse
f8b92770d4
simplify video_shader_read_conf_preset() calls
2019-07-21 18:15:28 +02:00
twinaphex
b33eb9bacf
Cleanups
2019-07-21 12:13:04 +02:00
twinaphex
b6b22a9a32
More shader refactors - make sure we can compile entirely
...
without shader support if HAVE_CG, HAVE_GLSL, HAVE_SLANG
and HAVE_HLSL are all not defined
2019-07-21 00:34:07 +02:00
Twinaphex
388c4857d3
Merge pull request #9140 from LazyBumHorse/shader_paths
...
much improved handling of relative shader paths
2019-07-20 21:54:58 +02:00
LazyBumHorse
2245af23e9
much improved handling of relative shader paths
...
- save texture paths in relative format as well
- always write portable relative paths on Windows using '/' instead of '\'
- remove an ancient piece of code that could sometimes fail loading relative paths
- fix absolute path handling between different drives for Windows
- integrate video_shader_resolve_relative() into video_shader_parse_* functions
2019-07-20 18:29:46 +02:00
twinaphex
a0060182e3
Add more ifdefs covering HAVE_THREADS and HAVE_AUDIOMIXER
2019-07-20 16:09:39 +02:00
twinaphex
d905986a52
Rename functions - change rarch_ prefix to retroarch_
2019-07-20 12:43:43 +02:00
twinaphex
c0787accc3
Use config_file_new_from_path_to_string
2019-07-18 12:13:09 +02:00
twinaphex
27a65714f2
Remove some globals
2019-07-12 00:21:31 +02:00
twinaphex
a867e3916e
(D3D9) Silence warning when neither HAVE_MENU or HAVE_OVERLAY
...
is defined
2019-07-11 01:10:00 +02:00
twinaphex
dc40a2ab66
(Travis) Another Travis buildfix
2019-07-11 01:03:35 +02:00
twinaphex
09f5d2c95d
Fix compilation when configuring with --disable-overlay
2019-07-10 05:39:50 +02:00
twinaphex
f0f5c32b51
Remove state tracker - legacy code - we can revisit this later
...
and integrate it in a way so that it scales across all drivers
2019-07-09 07:39:38 +02:00
LazyBumHorse
f5497a4249
fix some bugs found through Clang Static Analyzer:
...
- task_content.c, load_content_from_compressed_archive: fix use after free
- platform_win32/uwp: fix frontend_..._get_powerstate never returning FRONTEND_POWERSTATE_NONE
- platform_win32/uwp: fix whitespace
- cheevos.c: fix potential use after free in a loop, just to be save
2019-07-04 21:15:19 +02:00
LazyBumHorse
c4530eb3f4
d3d9: add Cg/HLSL shader runtime check depending on the used renderchain
2019-06-25 10:57:46 +02:00
LazyBumHorse
17ec59ff21
enable Cg shader flag for d3d9
2019-06-24 23:41:05 +02:00
Twinaphex
f23497fd80
Merge pull request #9014 from LazyBumHorse/fix_d3d9
...
fix d3d9 not rendering xmb and temporarily disable widgets due to segfault
2019-06-24 16:07:03 +02:00
LazyBumHorse
1f69f3960a
fix d3d9 not rendering xmb and temporarily disable widgets due to segfault
2019-06-24 15:42:55 +02:00
twinaphex
405d3fec67
(CXX_BUILD) Silence warning
2019-06-24 15:09:56 +02:00
Twinaphex
596b375da5
Merge pull request #9001 from LazyBumHorse/metal_cocoa_flags
...
fix shader flags for metal
2019-06-22 14:53:18 +02:00
LazyBumHorse
b8258a711a
workaround for metal not being able to poll shader flags during init
2019-06-22 14:22:34 +02:00
Twinaphex
98c1f04635
Merge pull request #8998 from LazyBumHorse/fix_gl_set_shader
...
fix black screen in gl if video shaders were switched from on to off in the shader menu
2019-06-22 13:18:25 +02:00
LazyBumHorse
b5199d7921
fix black screen in Metal
2019-06-22 11:07:08 +02:00
LazyBumHorse
e5421940be
fix gl's and d3d9's set_shader not returning to stock if path is NULL
2019-06-21 14:10:55 +02:00
twinaphex
761636a540
(Wiiu) add forward declaration
2019-06-20 21:10:07 +02:00
twinaphex
3a9a8d8d70
(WiiU) Buildfix
2019-06-20 08:38:40 +02:00
Twinaphex
c523acbfe7
Merge pull request #8989 from LazyBumHorse/fake_context
...
temporary workaround for d3d10-12, gx2 not being able to poll flags during init
2019-06-20 00:37:53 +02:00
twinaphex
71e86bcc9c
(GLSL) Put this around HAVE_GLSL ifdefs
2019-06-19 22:34:05 +02:00
LazyBumHorse
7b6444d911
temporary workaround for d3d10-12, gx2 not being able to poll flags during init
2019-06-19 19:10:40 +02:00