Commit Graph

7555 Commits

Author SHA1 Message Date
twinaphex
64b36ef5d8 (MSVC) Buildfix for Cg renderchain 2018-03-02 18:32:14 +01:00
twinaphex
3f1ae25713 (D3D8) Buildfix 2 2018-03-02 17:44:48 +01:00
twinaphex
ed67653086 (D3D8) Buildfix 2018-03-02 17:43:58 +01:00
twinaphex
371b6a604e (Xbox) Buildfix 2018-03-02 17:43:18 +01:00
twinaphex
588707f543 Cleanups 2018-03-02 17:30:21 +01:00
twinaphex
0ec5ce8cfe Get rid of d3d context drivers 2018-03-02 17:23:43 +01:00
twinaphex
95371cbda1 (Xbox 360) Buildfix 2018-03-02 17:05:30 +01:00
twinaphex
dfdbc00a84 Cleanup Xbox 360 code from d3d_ctx 2018-03-02 17:03:34 +01:00
twinaphex
dbf2fae5c1 (D3D9) Get rid of context driver 2018-03-02 17:00:11 +01:00
twinaphex
fc9e018534 Implement d3d9_set_video_mode 2018-03-02 16:53:15 +01:00
twinaphex
7c599b715e Implement d3d9_has_windowed 2018-03-02 16:46:32 +01:00
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