832 Commits

Author SHA1 Message Date
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
twinaphex
273d94e549 Remove this 2018-01-19 22:09:58 +01:00
twinaphex
cdcca43233 remove _XBOX1 ifdefs 2018-01-19 05:42:54 +01:00
twinaphex
cb475f7815 Take out _XBOX1 codepath 2018-01-19 05:22:25 +01:00
twinaphex
dc81998c0b (Xbox OG) Buildfixes 2018-01-19 04:55:34 +01:00
aliaspider
ebd9430982 (D3D8) can now render content frame, rgui and overlays. 2018-01-17 07:10:45 +01:00
twinaphex
61ff51be2f Start using string_is_equal predominantly 2018-01-16 22:53:38 +01:00
twinaphex
830b2e429d Buildfix 2018-01-16 09:43:17 +01:00
twinaphex
c4d3ea6f8d Add want_mipmap function parameter to d3d_texture_new 2018-01-16 09:11:14 +01:00
twinaphex
e32ceb8f30 Rewrite d3d_texture_blit 2018-01-16 00:08:10 +01:00
twinaphex
86385dcaf7 Start creating d3d_texture_t 2018-01-15 23:13:16 +01:00
twinaphex
391fd3eadc Fix CXX_BUILD for D3D 2018-01-15 21:44:49 +01:00
twinaphex
59b5ecf7db (XDK) Buildfixes 2018-01-15 06:36:02 +01:00
twinaphex
27caf46616 Add d3d_get_render_state 2018-01-15 06:14:20 +01:00
twinaphex
510dfca756 Start adding C++ code path for SetVertexShaderConstantF and
refactor xdk360_fonts.cpp calls
2018-01-15 06:01:59 +01:00
aliaspider
25a7c04a27 (direct3D) fix scaling in the menu display driver. 2018-01-15 03:45:37 +01:00