897 Commits

Author SHA1 Message Date
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
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
495c702860 Buildfixes/cleanups 2018-01-25 12:30:08 +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
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
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
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
3c664f51b2 (D3D8) Buildfix 2018-01-25 01:53:45 +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
812eefa601 (D3D11) add menu display driver. 2018-01-25 00:20:06 +01:00
aliaspider
840bd459df (D3D11) add a font driver. 2018-01-24 20:51:19 +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
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
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
aliaspider
956c6ca25a (d3d10/11/12) resize swapchain correctly when the window's size changes. 2018-01-23 20:27:03 +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
4b6c4e5a6a BUildfix for D3D enum 2018-01-23 04:25:37 +01:00
twinaphex
e2e411bfa5 BUildfixes 2018-01-23 03:20:14 +01:00
twinaphex
d28d14079a Create separate D3D8 and D3D9 drivers 2018-01-23 02:55:33 +01:00
aliaspider
80df049f41 (D3D11/12) refactors/fixes. add blending and selectable samplers for
d3d12.
2018-01-21 23:46:50 +01:00
twinaphex
6319dbcc8a d3d_common.c - cleanups 2018-01-21 06:41:54 +01:00
twinaphex
8d7e9b31a4 Cleanups 2018-01-21 06:34:33 +01:00
Twinaphex
ffff5df787
Merge pull request #6148 from aliaspider/master
(D3D11/D3D12) initial video driver implementation.
2018-01-21 04:59:18 +01:00
twinaphex
2178b6d10f Vulkan temporary workaround for swapchain recycling (nvidia) -
Both swapchain recreation methods are proper andwithin the Vulkan specs.
The differnece is retroarch follows method (apparently proposed in
vulkan samples) that "hopes" the driver will reuse some of the old
swapchain resources, while the other method destroys everything and
recreates from scratch. At the moment on Nvidia drivers the second
method is stable while the first method is unreliable in all cases
today.
2018-01-21 04:40:01 +01:00
aliaspider
094196220d (D3D11/D3D12) initial video driver implementation.
- some headers from the windows 10 sdk need to be added to the include
path when targeting mingw :
   d3d11.h
   d3d11sdklayers.h
   d3d12.h
   d3d12sdklayers.h
   d3d12shader.h
   d3dcommon.h
   d3dcompiler.h
2018-01-21 04:10:45 +01:00
twinaphex
983617372a (d3d_common.c) With D3D9 Xbox 360, these functions don't
return anything
2018-01-20 23:40:53 +01:00
twinaphex
4a5de7ed6a Use D3D common format functions 2018-01-20 16:45:45 +01:00
twinaphex
2cb8b50cef D3DXCompileShader - D3D9 only 2018-01-20 16:40:26 +01:00
twinaphex
fe72bc3ab6 (d3d_common.c) Get rid of Xbox 360-specific ifdefs 2018-01-20 16:38:10 +01:00
twinaphex
5fc2f3db51 Add HAVE_D3DX ifdefs 2018-01-20 07:04:21 +01:00