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
Twinaphex
e428cec428
Merge pull request #6290 from aliaspider/master
...
(D3D11/12) add overlays.
2018-02-12 01:25:19 +01:00
aliaspider
98682197c9
(D3D11/12) add overlays.
2018-02-12 01:19:43 +01:00
Twinaphex
327e2237d6
Merge pull request #6289 from aliaspider/master
...
(D3D11/12) prevent double-free when resizing framebuffers.
2018-02-11 23:03:04 +01:00
aliaspider
19aed2af36
(D3D11/12) prevent double-free when resizing framebuffers.
...
(D3D12)
- correctly support lut/filtering/wrap options for slang shaders.
- rework frame sync.
2018-02-11 22:56:37 +01:00
twinaphex
6738d64546
Cleanups
2018-02-11 16:45:40 +01:00
twinaphex
2d8623fa10
Cleanup unused variable
2018-02-11 16:42:53 +01:00
Twinaphex
4d1090dc53
Merge pull request #6281 from bparker06/decorations
...
add menu setting to toggle window decorations
2018-02-11 05:56:15 +01:00
Brad Parker
43aa977a91
add menu setting to toggle window decorations
2018-02-10 23:46:09 -05:00
Twinaphex
d8257f4817
Merge pull request #6279 from aliaspider/master
...
(D3D12) slang shaders support.
2018-02-11 02:00:46 +01:00
aliaspider
37bebb5b65
(D3D12) slang shaders support.
2018-02-11 00:00:20 +01:00
twinaphex
febfc18f0b
Silence warning
2018-02-10 23:28:35 +01:00
twinaphex
b31779c588
(D3D8/9) Don't do allocation for this struct
2018-02-10 22:27:38 +01:00
twinaphex
b45b1b3e55
(D3D8) Refactor texture loading to no longer be thread-unsafe
2018-02-10 21:36:40 +01:00
twinaphex
49bea666ff
(D3D9 Cg) Buildfix
2018-02-10 21:23:15 +01:00
twinaphex
b141c37fe9
Get rid of set_mvp function in D3D9 renderchain driver - use
...
one common set_mvp function instead
2018-02-10 21:21:09 +01:00
twinaphex
843a7f200c
(D3D9) Make video texture load functions thread-safe
2018-02-10 21:13:24 +01:00
aliaspider
e11209ac79
(D3D12) precompute alpha before scaling when generating mipmaps.
2018-02-09 16:33:08 +01:00
aliaspider
6fe379d978
(D3D12) add a compute shader for mipmap generation.
2018-02-09 14:57:07 +01:00
Twinaphex
8e33b35b09
Merge pull request #6257 from aliaspider/master
...
(D3D11/12) fix dialogbox / gradient.
2018-02-08 20:54:05 +01:00
aliaspider
97813b9722
(D3D11/12) fix dialogbox / gradient.
2018-02-08 17:11:24 +01:00
radius
ce5b481fc8
android build fix
2018-02-07 21:26:03 -05:00
radius
4eb7ca5db1
better fix for shader next / shader prev
2018-02-07 21:26:03 -05:00
radius
30353792a5
update gx2_gfx to use retroarch_get_shader_preset()
2018-02-07 21:26:01 -05:00
radius
e9b7c7267e
fix some potential crashes when a shader is not set in config
2018-02-07 21:26:01 -05:00
radius
37454f79a8
fix SHADER_NEXT/SHADER_PREV
2018-02-07 21:26:00 -05:00
radius
c64d5556c1
readd shader to config, let's use a runtime check instead of overwritting the shader preset all the time
2018-02-07 21:25:59 -05:00
aliaspider
0d88799e6d
(D3D12) add menu display driver.
2018-02-08 00:18:05 +01:00
aliaspider
92afd7387d
(D3D12) add a font driver.
2018-02-08 00:18:04 +01:00
aliaspider
e42015e026
(D3D12) allow for dynamic allocation of descriptors.
2018-02-08 00:18:04 +01:00
aliaspider
757a9c08de
(D3D) refactors.
2018-02-08 00:18:04 +01:00
aliaspider
4ccb844ad6
(D3D12) add font and menu pipelines.
2018-02-08 00:18:04 +01:00
aliaspider
b030588669
(D3D12) refactor d3d12_init_samplers, add support for wrap modes.
2018-02-08 00:18:04 +01:00
aliaspider
6d90aae5d6
(D3D12) refactor init_pipeline.
2018-02-08 00:18:04 +01:00
aliaspider
9b1e1af86e
check for empty string in font_driver_render_msg.
2018-02-06 09:28:18 +01:00
Twinaphex
24ea73b218
Merge pull request #6240 from aliaspider/master
...
add basic support for arabic.
2018-02-05 21:25:48 +01:00
aliaspider
45580cb9a8
add basic support for arabic.
2018-02-05 20:54:55 +01:00
twinaphex
d950794659
(video_shader_parse.c) Be safer with memory allocations
2018-02-05 13:55:04 +01:00
aliaspider
5549b136c2
(msvc) CXX_BUILD + griffin fixes.
2018-02-05 00:25:03 +01:00
twinaphex
6982dd838f
(MSVC 2017) Fix VS 2017 solution
2018-02-05 00:04:41 +01:00
twinaphex
f364d2d3ec
(C89) Don't build D3D9/10/11/12
2018-02-04 23:25:12 +01:00
twinaphex
cbd5e87711
Indenting nits
2018-02-04 22:12:53 +01:00
twinaphex
534e5bbf34
Make code compatible when compiled as C++
2018-02-04 21:50:05 +01:00
twinaphex
028fc18294
Fix more warnings
2018-02-04 21:12:42 +01:00
twinaphex
2b4890220a
(D3D) Silence CXX_BUILD warnings
2018-02-04 20:40:28 +01:00
Twinaphex
5483f5fc39
Merge pull request #6234 from aliaspider/master
...
various fixes for CXX_BUILD.
2018-02-04 20:08:43 +01:00
aliaspider
700fce3bd2
various fixes for CXX_BUILD.
2018-02-04 20:03:27 +01:00
Twinaphex
39406c3357
Merge pull request #6233 from fr500/fixes
...
Fixes
2018-02-04 18:17:37 +01:00
twinaphex
ac22a9ce20
(D3D10) Start making D3D10 ready for CXX_BUILD
2018-02-04 17:11:00 +01:00
radius
c4bb588f3b
fix small logging issue
2018-02-04 10:59:02 -05:00
twinaphex
8771171f63
(glslang) Compatibility tweaks for MSVC 2010 compatibility
2018-02-04 15:49:53 +01:00
Twinaphex
31a30f1496
Merge pull request #6229 from aliaspider/master
...
(slang) slang_process: preset alias setting has higher priority.
2018-02-03 23:36:59 +01:00
aliaspider
0e159a0ec0
(slang) slang_process: preset alias setting has higher priority.
2018-02-03 23:35:04 +01:00
twinaphex
c60f706f1e
(MSVC 2013) Update solution
...
Griffin - add better ifdefs
2018-02-03 20:50:31 +01:00
Twinaphex
e5610d5ddb
Merge pull request #6228 from aliaspider/master
...
(slang) slang_process: simplify data mappings.
2018-02-03 17:27:25 +01:00
aliaspider
76d07cd6a7
(slang) slang_process: simplify data mappings.
2018-02-03 17:22:47 +01:00
twinaphex
311de8138e
(Griffin) shader_vulkan - Uniquely name set_unique_map to avoid collision
2018-02-03 17:20:23 +01:00
twinaphex
df632814e6
Add appropriate HAVE_SPIRV_CROSS ifdefs
2018-02-03 17:13:36 +01:00
twinaphex
94022f0599
(MSVC 2013) Add HAVE_SLANG
...
(Griffin) Add SPIRV-Cross/slang rules to Griffin
2018-02-03 17:10:20 +01:00
twinaphex
1464995fdc
(D3D11) ability to compile without HAVE_SLANG
2018-02-03 17:01:47 +01:00
twinaphex
8e96700f0f
(D3D8/D3D9) Update headers to work with C89
2018-02-03 16:50:26 +01:00
twinaphex
5d2b7ce32f
(D3D8 headers) Start making this C89-compatible
2018-02-03 15:29:56 +01:00
twinaphex
0336c2f975
(Headers) Make Cg/D3D9 X headers C89-compatible
2018-02-03 15:18:19 +01:00
twinaphex
dac1f10708
C89_BUILD fixes
2018-02-03 15:16:04 +01:00
Twinaphex
50e902f2ea
Merge pull request #6227 from aliaspider/master
...
(D3D11) multi-pass shaders: add support for history frames.
2018-02-03 14:48:48 +01:00
twinaphex
0b4ccf25e7
Revert "* d3d11.c - minor cleanups for C89"
...
This reverts commit fa458b2f5c
.
2018-02-03 14:48:34 +01:00
twinaphex
fa458b2f5c
* d3d11.c - minor cleanups for C89
...
* C89 build fixes for D3D9X headers
2018-02-03 14:01:32 +01:00
aliaspider
e225e96025
(D3D11) multi-pass shaders: add support for history frames.
2018-02-03 13:29:00 +01:00
twinaphex
178730891d
- Silence more warnings
...
- Don't include d3dx headers when including cgD3D9
2018-02-03 13:11:31 +01:00
twinaphex
d446742d4b
Some C89_BUILD build fixes
2018-02-03 12:47:53 +01:00
twinaphex
88cb40834c
Style nits
2018-02-02 22:50:07 +01:00
aliaspider
e30c7edd8d
(D3D11) multi-pass shaders: add support for feed-back textures.
2018-02-02 19:57:45 +01:00
aliaspider
6fe3a31617
(D3D11) multi-pass shaders: add support for wrap modes and lut
...
mipmapping.
2018-02-02 17:18:41 +01:00
aliaspider
2a25e284af
(D3D11) better handling of FBO scale.
2018-02-02 14:39:53 +01:00
aliaspider
7f75e9f4cf
build fix for HAVE_GLSLANG=1 HAVE_VULKAN=0.
2018-02-02 13:35:31 +01:00
aliaspider
1fd1426388
(slang) no need for this anymore.
2018-02-02 12:32:31 +01:00
Twinaphex
1d118c46a3
Merge pull request #6220 from aliaspider/master
...
(D3D11) font + slang fixes.
2018-02-02 02:38:33 +01:00
aliaspider
1e96393228
(D3D11) font renderer: fix line spacing.
2018-02-02 02:21:18 +01:00
aliaspider
caad590d04
(slang) slang_process: fix compatibility with more shaders.
2018-02-02 01:50:18 +01:00
Twinaphex
b297bd7e6c
Merge pull request #6217 from aliaspider/master
...
(slang) slang_process: fix clash with HLSL keywords.
2018-02-01 23:09:03 +01:00
aliaspider
189ea0578d
(slang) slang_process: change the type of FragCoord only when it is a
...
pixel shader input.
2018-02-01 22:22:56 +01:00
aliaspider
b8e3933fe0
(slang) slang_process: 'linear' and 'point' are also reserved keywords
...
in HLSL.
2018-02-01 22:11:11 +01:00
Twinaphex
d24478d0d8
Merge pull request #6216 from aliaspider/master
...
(slang) slang_process.cpp: enforce the binding of the uniform and push constant blocks.
2018-02-01 21:50:11 +01:00
aliaspider
80880ec857
(slang) slang_process.cpp: enforce the binding of the uniform and push
...
constant blocks.
2018-02-01 21:45:36 +01:00
Twinaphex
ba3513fb70
Merge pull request #6215 from aliaspider/master
...
(slang) slang_process.cpp: add support for more shaders.
2018-02-01 21:10:04 +01:00
aliaspider
461a936eb4
(D3D11) correct the size data of the last pass.
2018-02-01 20:56:40 +01:00
aliaspider
8db625dd59
(slang) slang_process.cpp: add support for more shaders.
2018-02-01 20:10:07 +01:00
Twinaphex
7eecb5b2b8
Merge pull request #6213 from aliaspider/master
...
(d3d11) slang reflection fix.
2018-02-01 18:03:09 +01:00
aliaspider
d0b997a414
(slang) slang_process.cpp: stage_mask texture semantic doesn't apply to
...
the size uniforms.
2018-02-01 17:48:27 +01:00
Twinaphex
f096e667d8
Merge pull request #6204 from aliaspider/master
...
(D3D11) Implement slang shader specification using Spirv-Cross.
2018-02-01 16:33:58 +01:00
aliaspider
0aa1164a6f
(D3D11) fix fbo size when no scale factor is specified.
2018-02-01 16:29:40 +01:00
aliaspider
11a7171b51
(slang) set enum value SLANG_FORMAT_UNKNOWN to 0.
2018-02-01 15:13:58 +01:00
aliaspider
3865856aa2
(D3D11) add support for `#pragma format` in slang shaders.
2018-02-01 15:07:12 +01:00
aliaspider
91298255ad
(D3D11) resize fbos when the viewport size changes.
2018-02-01 12:45:35 +01:00
aliaspider
4dd8fb4df9
(D3D11) make sure the stock shader is set before drawing the menu
...
texture.
2018-02-01 12:31:24 +01:00
aliaspider
5d46e8bca4
(D3D11) plug leak.
2018-02-01 11:29:28 +01:00
aliaspider
e6c455d2c6
(D3D11) move format support checks to d3d11_init_texture();
2018-02-01 11:21:51 +01:00
twinaphex
b0013dbd68
Cleanups
2018-01-31 22:49:19 +01:00
aliaspider
f34dbdff8b
(slang) cleanups.
2018-01-31 19:36:31 +01:00
twinaphex
de1efd7878
This hack is no longer needed with latest nvidia windows
...
drivers (390.77)
2018-01-31 18:10:53 +01:00
aliaspider
0ccfa3804b
(D3D11) frame count is an unsigned int.
2018-01-31 17:21:18 +01:00
aliaspider
d8924d6fbb
(D3D11) clear out all unused texture/sampler bindings each pass to avoid
...
hazards with SetRenderTargets.
2018-01-31 17:05:48 +01:00
aliaspider
f7b5baccb6
(D3D11) always save emitted hlsl code when debugging.
2018-01-31 16:12:55 +01:00
aliaspider
f907f2ea7d
(D3D11) save spirv-cross's hlsl output when shader compilation fails.
2018-01-31 15:55:59 +01:00
aliaspider
5e09af9c77
(D3D11) attach identifiers to the generated slang semantic mappings to
...
simplify debugging.
2018-01-31 12:00:39 +01:00
radius
d953ec2b5f
load shader presets at startup on wiiu
2018-01-30 22:49:49 -05:00
aliaspider
5bc78d3ad5
(D3D11) Implement slang shader specification using Spirv-Cross.
...
(incomplete)
2018-01-31 01:08:36 +01:00
twinaphex
08e61230e9
Update video_poke_interface
2018-01-30 22:29:57 +01:00
twinaphex
b0b39ff899
Cleanups
2018-01-30 22:16:16 +01:00
twinaphex
7dcd46a20f
Get rid of HAVE_MENU ifdefs for video_driver_poke interface
2018-01-30 22:14:47 +01:00
twinaphex
911d01b1e4
CLeanups
2018-01-30 21:46:49 +01:00
aliaspider
b228775b0d
(D3D10/11/12) allow building without HAVE_D3D9
2018-01-30 21:33:25 +01:00
aliaspider
4a3e4fc7de
(mingw) include all of the sal.h defines in dxgi_common.h
2018-01-30 20:02:40 +01:00
aliaspider
13f18afcd9
(D3D10/11/12) cleanups / fixes.
2018-01-30 19:34:53 +01:00
twinaphex
27a133c4fd
Update
2018-01-30 17:20:34 +01:00
twinaphex
80bdcd89a6
(D3D10/11/12) Cleanup non-HAVE_DYNAMIC codepaths
2018-01-30 17:06:57 +01:00
twinaphex
a5f232793b
Silence warnings
2018-01-30 16:44:42 +01:00
twinaphex
aeab2e5bd1
enable d3d10/11/12 again for mingw build
2018-01-30 16:04:45 +01:00
twinaphex
05e35bd4b1
Compiles with MSVC 2013
2018-01-29 21:31:03 +01:00
twinaphex
a6f8013c24
More MSVC2013 buildfixes
2018-01-29 17:19:36 +01:00
twinaphex
2906744a0d
(D3D10) Add non_HAVE_DYNAMIC codepaths
2018-01-29 15:33:30 +01:00
twinaphex
03e800c1c8
Add HAVE_D3D11 to MSVC 2013 - we need non-HAVE_DYNAMIC codepaths
...
for D3D11
2018-01-29 14:05:44 +01:00
twinaphex
891d8741db
(HLSL shader driver) Cleanups
2018-01-29 12:01:52 +01:00
twinaphex
ee813ab76b
Create new functions for d3d_common.c
2018-01-29 11:44:55 +01:00
cucholix
648032bd75
Update gx2_gfx.c
2018-01-26 16:10:04 -03:00
cucholix
de6c185e88
Shader parameters saving fix
...
It's @aliaspider code :p
2018-01-26 15:49:34 -03:00
twinaphex
6b45447425
(d3d_common.c) Cleanups
2018-01-26 07:28:54 +01:00
twinaphex
d33772195f
(D3D9 Cg) CLeanups
2018-01-26 06:50:11 +01:00
twinaphex
8d6aafde95
(D3D9 Cg) Update
2018-01-26 06:36:24 +01:00
Brad Parker
9ef75473e0
fix coverity warnings
2018-01-26 00:14:59 -05:00
twinaphex
16cccb8796
(XDK360) Buildfixes
2018-01-26 05:29:44 +01:00
twinaphex
1f6b9e1c18
(Xbox 360) Buildfixes
2018-01-26 04:59:35 +01:00
twinaphex
4aca11693e
video_shader_driver_reset_to_defaults - early return if current_shader
...
is NULL
2018-01-26 04:14:44 +01:00
twinaphex
9436cc0234
- Add HAVE_HLSL to qb/config.params.sh, set to no by default
...
- (D3D9 HLSL) Fix build/compilation
2018-01-26 04:09:35 +01:00
twinaphex
6f57aa84a8
Remove unused variable
2018-01-26 04:07:23 +01:00
twinaphex
5328ce7375
Cleanups to headers
2018-01-26 04:02:22 +01:00
twinaphex
61971c2f0e
Remove header requirements for menu_display_d3d.c
2018-01-26 03:53:56 +01:00
Brad Parker
e2691c425c
fix display server memory leaks
2018-01-25 21:48:08 -05:00
Brad Parker
9e347ec71f
detect shader file changes on move and delete as well, and wait a few frames before re-applying changes
2018-01-25 19:09:55 -05:00
Brad Parker
f087b150c9
Add quick menu option to watch shader files for changes and recompile automatically (Linux only for now)
2018-01-25 15:50:57 -05:00
Twinaphex
f97ebfbf1f
Merge pull request #6179 from aliaspider/master
...
(D3D11) add the remaining menu shaders.
2018-01-25 17:18:59 +01:00
aliaspider
c0117f077b
(D3D11) add the remaining menu shaders.
2018-01-25 17:07:23 +01:00
twinaphex
c8c7ca0c30
(XDK1) Buildfix
2018-01-25 16:46:30 +01:00
twinaphex
3adb6cc5a8
CXX_BUILD fixes
2018-01-25 16:42:10 +01:00
twinaphex
8e3b3762ad
More compatibility fixes for CXX_BUILD
2018-01-25 16:33:28 +01:00
twinaphex
b0f7728606
CXX_BUILD - buildfixes
2018-01-25 15:54:37 +01:00
aliaspider
a2cddb27e5
(D3D11) refactors.
2018-01-25 15:48:53 +01:00
twinaphex
204f9aa484
(360) More buildfixes
2018-01-25 15:35:07 +01:00
twinaphex
d4367ed993
Cleanups
2018-01-25 15:30:48 +01:00
twinaphex
b9e65fc750
(D3D8) Buildfixes
2018-01-25 14:38:24 +01:00
twinaphex
8f4a1b748b
(D3D8/D3D9) More dehardcoding
2018-01-25 14:34:20 +01:00
twinaphex
8422e44a2d
Start moving d3dx fonts code to d3d_common.c
2018-01-25 14:13:21 +01:00
Twinaphex
994e07fa3d
Update d3d.h
2018-01-25 13:24:39 +01:00
twinaphex
e98b165761
Silence some warnings
2018-01-25 12:38:14 +01:00
twinaphex
282853873b
(360) Some buildfixes
2018-01-25 12:35:46 +01:00
twinaphex
6ee8f681da
Remove comment
2018-01-25 12:33:27 +01:00
twinaphex
495c702860
Buildfixes/cleanups
2018-01-25 12:30:08 +01:00
Twinaphex
4315b57791
Update d3d8.c
2018-01-25 12:27:02 +01:00
Twinaphex
8797fa95eb
Update d3d9.c
2018-01-25 12:26:45 +01:00
Twinaphex
1163c1aef8
Update d3d.h
2018-01-25 12:26:12 +01:00
twinaphex
4c390944bb
Remove some more HAVE_D3D8/HAVE_D3D9 ifdefs that depend on
...
compile-time instead of runtime
2018-01-25 12:22:06 +01:00
twinaphex
c76ce05070
Update d3d_w32_font
2018-01-25 12:16:57 +01:00
twinaphex
aa66ca8bf4
(D3D8) Buildfix
2018-01-25 11:51:24 +01:00
twinaphex
766f3b33c7
Dehardcode some more opaque types defined by macros
2018-01-25 11:50:07 +01:00
Twinaphex
1657b9b7c4
Merge pull request #6176 from aliaspider/master
...
(D3D11) build fix.
2018-01-25 10:49:12 +01:00
aliaspider
183d2fcabd
(D3D11) build fix.
2018-01-25 10:40:32 +01:00
twinaphex
a18e7767f3
Fix some unreferenced local variable warnings
2018-01-25 10:25:50 +01:00
twinaphex
2634a5ea2d
(D3D8) Cleanups
2018-01-25 10:12:49 +01:00
twinaphex
6cdde6d9aa
Get rid of warning
2018-01-25 10:06:16 +01:00
twinaphex
684374eec8
Remove D3DVIEWPORT dependency
2018-01-25 10:03:50 +01:00
Twinaphex
ef17085216
Merge pull request #6175 from aliaspider/master
...
(D3D11) add ribbon shader.
2018-01-25 09:50:57 +01:00
aliaspider
427003fa3b
(D3D11) add ribbon shader.
...
- it doesn't look quite right though.
2018-01-25 09:48:07 +01:00
Twinaphex
85fab182b8
Merge pull request #6174 from aliaspider/master
...
(D3D11) autogen mipmaps when needed / fix text colors.
2018-01-25 09:33:44 +01:00
aliaspider
17aa49004f
(D3D10/11/12) prevent some crashes on driver re-init.
2018-01-25 06:24:39 +01:00
aliaspider
da3a90a025
(D3D11) misc.
2018-01-25 05:47:19 +01:00
aliaspider
580c0184c2
(D3D11) font driver: fix text colors.
2018-01-25 05:46:48 +01:00
aliaspider
2a54cbca75
(D3D11) autogen mipmaps when needed.
2018-01-25 04:57:49 +01:00
twinaphex
0588c3c68e
Don't rely on LPDIRECT3DTEXTURE
2018-01-25 04:28:50 +01:00
twinaphex
26f9489f89
Replace LPDIRECT3D
2018-01-25 04:12:37 +01:00
Twinaphex
f07571f8eb
Merge pull request #6171 from aliaspider/master
...
(D3D11) sample the font atlas correctly.
2018-01-25 01:59:31 +01:00
aliaspider
ccc9d36949
(D3D11) sample the font atlas correctly.
2018-01-25 01:58:17 +01:00
twinaphex
3c664f51b2
(D3D8) Buildfix
2018-01-25 01:53:45 +01:00
Twinaphex
ccfd9d79dd
Merge pull request #6170 from aliaspider/master
...
(D3D11) update the included shader.
2018-01-25 01:49:16 +01:00
aliaspider
0cd2310a6f
(D3D11) forgot to update the included shader.
2018-01-25 01:46:30 +01:00
Twinaphex
3bfc13223c
Merge pull request #6169 from aliaspider/master
...
(D3D11) font + menu display drivers.
2018-01-25 01:46:17 +01:00
twinaphex
bc81a9dc88
Dehardcode LPDIRECT3DDEVICE usage
2018-01-25 01:45:03 +01:00
aliaspider
8354ffd452
(D3D12) add support for scaling/rotation im menu display driver.
2018-01-25 01:34:53 +01:00
aliaspider
45541a0d44
(D3D11) change the sprite vertex buffer to a ring buffer to avoid data
...
races with the gpu.
2018-01-25 01:03:54 +01:00
aliaspider
68a6b7f402
(D3D11) change the sampler adressing mode to clamp. fixes the background
...
in xmb.
2018-01-25 00:45:06 +01:00
aliaspider
812eefa601
(D3D11) add menu display driver.
2018-01-25 00:20:06 +01:00
twinaphex
4dc6eb0ae4
(D3D8) Rotation no longer affects RGUI
2018-01-24 22:50:44 +01:00
twinaphex
c227ce5ed2
Correct typo
2018-01-24 22:16:06 +01:00
twinaphex
e79c19e52a
Ifdef this for HAVE_D3D12
2018-01-24 21:38:32 +01:00
aliaspider
840bd459df
(D3D11) add a font driver.
2018-01-24 20:51:19 +01:00
Twinaphex
472abb1e8f
Merge pull request #6167 from aliaspider/master
...
(D3D10/11/12) add viewport settings.
2018-01-24 17:40:22 +01:00
aliaspider
30d5cd1a07
(D3D10/11/12) add viewport settings.
...
- move some common routines to video_driver.c
2018-01-24 15:00:32 +01:00
Twinaphex
c30715db10
Revert "Try to prevent rotation on menu"
...
This reverts commit 042c2e82a0
.
2018-01-24 10:28:55 +01:00
twinaphex
042c2e82a0
Try to prevent rotation on menu
2018-01-24 10:16:03 +01:00
twinaphex
9018012c5c
(D3D8) Now handles rotation properly (except for RGUI frame
...
being rotated as well)
2018-01-24 10:08:52 +01:00
aliaspider
a6b24ce995
(d3d10/11/12) reformat some files.
2018-01-24 07:45:45 +01:00
aliaspider
cba3c5b68c
(D3D12) add remaining guids.
2018-01-24 07:33:14 +01:00
twinaphex
63ad668ff0
Add HAVE_DYNAMIC ifdefs
2018-01-24 02:12:58 +01:00
twinaphex
80b17668b6
Add initial VS2013 solution
2018-01-24 01:29:45 +01:00
twinaphex
4dd3a22679
(D3D12) Silence MSVC warnings
2018-01-24 00:38:11 +01:00
twinaphex
1028dc7959
(D3D12) D3D32 works with Mingw now - based on this -
...
https://github.com/wolfgangfengel/graphicsdemoskeleton/blob/master/DirectX%2012/01_Skeleton/Window.c#L35
2018-01-24 00:32:18 +01:00
twinaphex
0e363164b1
Attempt to get further with D3D12 for mingw - now compiles
...
but doesn't link yet
2018-01-24 00:14:26 +01:00
twinaphex
d387cfbfbe
Add include/dxsdk
2018-01-23 23:40:17 +01:00
aliaspider
956c6ca25a
(d3d10/11/12) resize swapchain correctly when the window's size changes.
2018-01-23 20:27:03 +01:00
aliaspider
3a53010b13
(D3D10/12) frame duping. re-enable vsync.
2018-01-23 19:11:44 +01:00
aliaspider
a5bf9d8dc6
(D3D10/11/12)
...
.add a d3d10 driver.
.add more utility functions to d3d*_common files.
.add an image transfer/convert function to dxgi_common.
.various refactors / style nits.
2018-01-23 18:04:55 +01:00
twinaphex
c6fd61cc86
(D3D8) Buildfix
2018-01-23 07:21:53 +01:00
twinaphex
673a190d84
Merge d3d8_renderchain into d3d8.c
2018-01-23 07:18:46 +01:00