7572 Commits

Author SHA1 Message Date
Brad Parker
614521b238 fix building on windows without dinput 2018-03-16 21:03:43 +00:00
aliaspider
b948cf46e7 (Vulkan) add missing queue locks when calling vkQueueWaitIdle. 2018-03-15 09:21:23 +01:00
twinaphex
32b2808fe0 Revert "Turn scaler_ctx_scale_direct into inline function"
This reverts commit d51edd82392df7c7b63926f8b3ca151635ed7003.
2018-03-14 23:48:47 +01:00
twinaphex
d51edd8239 Turn scaler_ctx_scale_direct into inline function 2018-03-11 18:14:17 +01:00
ajefr
1da67cecf3
declaration error 2018-03-08 21:44:26 +01:00
ajefr
98f8ed637c
typo
stati -> static
2018-03-08 21:19:00 +01:00
misson20000
e934f11065 NSW: skip frames if we can't acquire a buffer (newer libtransistors use three buffers, making this very unlikely to happen) 2018-03-06 20:55:40 -08:00
misson20000
4a4de74518 NSW(gfx): clear image row-by row for better caching (it's seriously a LOT faster), do pixel format conversion in scalers, and remove timing debug messages 2018-03-06 19:52:03 -08:00
misson20000
90c36c52ce NSW: fix graphics driver colors for rgb32 and don't break aspect ratio when scaling menu texture 2018-03-05 23:45:28 -08:00
misson20000
7487d938b3 NSW: remove global state in graphics driver, as it is no longer necessary 2018-03-05 20:14:52 -08:00
aliaspider
bb972a6dab (spirv) set flip_vert_y to true when emitting HLSL. 2018-03-06 04:12:58 +01:00
twinaphex
1d1acc8940 Cleanup 2018-03-03 16:33:49 +01:00
twinaphex
542cd6b6bf Uniquely name variables 2018-03-03 15:51:00 +01:00
twinaphex
63823b339a Buildfix for D3D8 2018-03-03 15:34:21 +01:00
twinaphex
b4a743fff4 Split up menu display drivers for D3D8/D3D9 into separate drivers;
split up d3d_common into separate files
2018-03-03 15:28:58 +01:00
twinaphex
0566b056a5 Take out d3d_common function call from d3d_w32_font.c 2018-03-03 05:42:14 +01:00
twinaphex
59dae251b0 Change to system dir include 2018-03-02 18:34:29 +01:00
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