Commit Graph

8897 Commits

Author SHA1 Message Date
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
6704a66a57
Merge pull request #9144 from yoshisuga/macos_fix_shader_ref
macos: fix call to video_shader_read_conf_preset
2019-07-21 00:36:14 +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
Yoshi Sugawara
f292a5b9cb macos: fix call to video_shader_read_conf_preset 2019-07-20 12:08:37 -10: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
twinaphex
14dfb91a60 Buildfix for C89 2019-07-20 21:33:09 +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
ac47f54a8e (Win32) Not sure why menubar was disabled when threaded video is
enabled, going to assume enabling it is thread-safe
2019-07-20 11:45:28 +02:00
twinaphex
c4c7a1b8cc (Vulkan) Dehardcode application name 2019-07-19 20:12:12 +02:00
twinaphex
b747bb22f4 Properly dehardcode program name now 2019-07-19 20:08:45 +02:00
twinaphex
b04e057b5d Revert "(Win32/Vulkan) Dehardcode more program name strings"
This reverts commit 5cefcb8327.
2019-07-19 19:39:43 +02:00
twinaphex
5cefcb8327 (Win32/Vulkan) Dehardcode more program name strings 2019-07-19 19:27:24 +02:00
Twinaphex
db6a4f8368 (UI Companion) Get rid of unused iterate function callback 2019-07-19 13:59:07 +02:00
twinaphex
4c69dad0ce Define DEFAULT_MAX_PADS inside config.def.h - get rid of the messy
MAX_PADS macros everywhere
2019-07-19 12:55:38 +02:00
twinaphex
44efbd47c2 Prevent null pointer dereference 2019-07-18 21:00:35 +02:00
twinaphex
da29fd61bb (shader_vulkan.cpp) Fix another 'declaration hides parameter' warning 2019-07-18 19:25:25 +02:00
twinaphex
b2946f4f1e egl_swap_buffers - be safer 2019-07-18 18:54:26 +02:00
twinaphex
18e67c12c7 (GLSL) Set prg ID to 0 after running glDeleteProgram 2019-07-18 18:31:37 +02:00
twinaphex
0cdfd4c542 Use config_file_new_from_path_to_string entirely 2019-07-18 16:15:02 +02:00
twinaphex
c0787accc3 Use config_file_new_from_path_to_string 2019-07-18 12:13:09 +02:00
twinaphex
41a2fabb4e Create config_file_new_from_path_to_string 2019-07-18 12:03:50 +02:00
LazyBumHorse
208d23b39d fix hanging window under Windows 7 with threaded video 2019-07-17 23:27:43 +02:00
Twinaphex
5dca2234cd
Merge pull request #9094 from alphanu1/master
Updates Porches and Super width
2019-07-13 07:47:14 +02:00
twinaphex
b7a85d392f Silence warnings 2019-07-12 16:31:16 +02:00
twinaphex
27a65714f2 Remove some globals 2019-07-12 00:21:31 +02:00
alphanu1
df301bcbe7 Updates Porches and Super width
Updates Porches and Super width Calculation
2019-07-11 20:50:33 +01:00
twinaphex
bddfca940e Add HAVE_GDI switch 2019-07-11 13:18:38 +02:00
twinaphex
e02ff9c40c (Win32) Reimplement PeekMessage implementation - this should be at the
start of the while loop
2019-07-11 03:49:33 +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
d06ce4df13 Buildfix for Travis 2019-07-10 23:56:47 +02:00
twinaphex
278063d157 (CocoaGL) Silence warning when building without HAVE_VULKAN 2019-07-10 05:48:26 +02:00
twinaphex
1d6bae7b35 (Linux) fix --disable-overlay 2019-07-10 05:43:05 +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
jdgleaver
22e7252823 Normal2x/Scanline2x video filters: Fix misaligned address error 2019-07-05 10:52:56 +01:00
twinaphex
3cfa3ff1d8 Cleanups 2019-07-04 22:05:38 +02:00
twinaphex
6c2f65c585 Fix code analysis warnings 2019-07-04 21:54:51 +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
Dwedit
81b6703912 Fix wrong reference count for D3D12 adapters (crash at close due to a destroyed adapter being released again) 2019-07-03 15:35:06 -05:00
Dwedit
10343d51b9 Small fixes for D3D12: Do not return false when enumerating, and add a null check for the Fence object 2019-07-02 19:46:02 -05:00
Twinaphex
dac33fca83
Merge pull request #9031 from stoofin/libvulkan1
Fall back to libvulkan.so.1 if libvulkan.so isn't present
2019-06-29 14:39:04 +02:00
Twinaphex
5d56302a31
Merge pull request #9033 from yoshisuga/ios_remove_pause_indicator
iOS: remove pause indicator
2019-06-29 12:12:32 +02:00
CatGreen90
550ea0f143 Update android_ctx.c (#9032) 2019-06-27 19:37:21 -05:00
stoofin
1b57cf6112 Fall back to libvulkan.so.1 if libvulkan.so isn't present 2019-06-27 14:08:14 -07: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