7544 Commits

Author SHA1 Message Date
twinaphex
9606db6f79 Start untangling more functions from context driver 2018-03-02 16:38:57 +01:00
twinaphex
af5a2f61a1 (D3D9) Start getting rid of context driver for D3D9 driver 2018-03-02 15:30:39 +01:00
twinaphex
9f33ba8607 (Vulkan/D3D11/D3D12) Add HAVE_GLSLANG now to both Android and MSVC solutions - shaders
should work now
2018-03-02 02:14:29 +01:00
twinaphex
3cd2018cc1 Update video_shader_parse.c 2018-03-02 01:41:05 +01:00
twinaphex
df7f47d00a Create string_is_equal_case_insensitive 2018-03-01 23:16:34 +01:00
twinaphex
2f457af8bf Buildfix 2018-03-01 22:51:43 +01:00
twinaphex
25b7e54bdb Fix mistake 2018-03-01 22:44:27 +01:00
twinaphex
7a7902c4ac string_is_equal_noncase has issues in video_shader_get_type_from_ext 2018-03-01 22:42:03 +01:00
Twinaphex
ae6e410de1 Remove unused variables 2018-03-01 22:28:26 +01:00
twinaphex
4c08bdc0e9 Add GFX_CTX_GX_API 2018-03-01 22:22:13 +01:00
twinaphex
9d45d26f56 Update 2018-03-01 21:26:32 +01:00
twinaphex
13b6a016fc Fix d3d swap buffers call 2018-03-01 21:23:15 +01:00
twinaphex
16c1bd7a03 Create context get_api function 2018-03-01 21:16:54 +01:00
twinaphex
ba0e6bcdea Get rid of warning that is inaccurate 2018-03-01 18:17:04 +01:00
twinaphex
128dff15ab Add better fallback in case current_video_context_api is none 2018-03-01 18:15:04 +01:00
twinaphex
c8028f3150 Set current_video_context_api for GL and Vulkan 2018-03-01 17:51:55 +01:00
twinaphex
8b8b08aefd - Simplify video_shader_parse_type
- Fix welcome screen
2018-03-01 15:58:06 +01:00
twinaphex
7e8b9135c3 (Cg) If GL context is GLES2/3/Core context, Cg shaders are unavailable 2018-02-26 19:39:42 +01:00
twinaphex
fbead501f3 Move SHADER_DIR_INIT to end of video driver init function 2018-02-26 19:33:27 +01:00
twinaphex
826ca302ca video_shader_get_type_from_ext - the switch now covers the APIs
that support the shader type, not the ones that don't
2018-02-26 19:04:01 +01:00
twinaphex
f2e80fd8e8 hide cg and glsl for D3D10/11/12 drivers 2018-02-26 18:36:10 +01:00
twinaphex
a34c066e07 Hide glsl/cg shaders from Vulkan driver 2018-02-26 18:35:16 +01:00
twinaphex
d45189b853 Prevent crashes from occurring if we have the GL video driver
in use and we try to skip to a slang shader through next/previous
hotkeys
2018-02-26 18:15:38 +01:00
twinaphex
696fa900a1 Refactor macro functions which were unsafe 2018-02-26 18:08:17 +01:00
twinaphex
b67777f664 Update d3d9_hlsl_renderchainc. 2018-02-26 17:52:38 +01:00
twinaphex
5b79d2b942 Refactor video_shader_driver_set_parameters 2018-02-26 17:51:52 +01:00
twinaphex
5665e27324 Nits 2018-02-26 15:12:19 +01:00
twinaphex
826a5009b0 Cleanups 2018-02-25 23:54:46 +01:00
twinaphex
d8498d0de7 Cleanups 2018-02-25 23:49:00 +01:00
twinaphex
8dbe653e9f Cleanup 2018-02-25 23:24:21 +01:00
twinaphex
e75992a66f Get rid of HAVE_SHADER_MANAGER 2018-02-25 23:03:39 +01:00
twinaphex
74309e6e1c shader code - Get rid of more hashes 2018-02-25 17:20:22 +01:00
twinaphex
f00d194ae3 Get rid of more hashes 2018-02-25 16:32:54 +01:00
twinaphex
938f6cc26e Get rid of hashes in shader_gl_cg 2018-02-25 01:13:34 +01:00
twinaphex
016e24e5a5 (video_shader_parse) Get rid of hashes 2018-02-25 01:07:14 +01:00
twinaphex
5139241e87 Fix Python codepath 2018-02-19 09:11:33 +01:00
twinaphex
7acd4b1847 (Windows) Buildfixes - use fseek for MSVC 2003 and earlier 2018-02-17 19:11:49 +01:00
twinaphex
64db75a62e Prevent MSVC warning 2018-02-17 14:28:30 +01:00
twinaphex
89cd494ab7 (WiiU) Buildfix 2018-02-17 11:27:14 +01:00
radius
7913b88853 fix potential wiiu crash 2018-02-17 00:10:08 -05:00
twinaphex
070c09faec Avoid more pointer grabbing for video driver ptr 2018-02-16 20:42:37 +01:00
twinaphex
964e9db588 Reduce calls to video_driver_get_ptr - set it once for
video_frame_info_t
2018-02-16 17:19:55 +01:00
twinaphex
1e2d8de9ca Move renderchain code to the relevant files 2018-02-16 11:24:10 +01:00
radius
789897481b fix a bug with the || clean-up, tried to clean up the whole thing a bit 2018-02-14 22:32:19 -05:00
radius
5b99a74cd8 remove the empty || that is shown when FPS display is disabled 2018-02-13 22:43:34 -05:00
Andrés
d3504abc5d
try to fix shader preset loading on WiiU 2018-02-12 12:27:16 -05:00
Andrés
521433d1c7
Merge pull request #6293 from aliaspider/master
(D3D) better handling of frame duping.
2018-02-11 21:36:21 -05:00
aliaspider
72e6909aaa (D3D) better handling of frame duping. 2018-02-12 03:25:37 +01:00
Twinaphex
34edaaf98b
Merge pull request #6291 from aliaspider/master
(D3D12) silence warning.
2018-02-12 01:32:16 +01:00
aliaspider
8a93e8d503 (D3D12) silence warning. 2018-02-12 01:29:44 +01:00