348 Commits

Author SHA1 Message Date
Stuart Carnie
367c15f488 feat(Metal): font rendering
* FPS and other OSD messages render correctly
* add autoreleasepool around entire render loop to avoid memory leaks
2018-06-23 23:54:23 -07:00
Twinaphex
fd11b205da Silence bunch of warnings 2018-06-21 07:52:01 +02:00
Stuart Carnie
411bcf8bdd feat(apple): Metal support for macOS
* includes rgui
* shader support

This is a work-in-progress and there are some bugs and visual artifacts
still to be fixed.
2018-06-20 21:33:45 -07:00
twinaphex
6a9b39da3f Get rid of d3d.h and xdk_defines.h 2018-05-14 03:57:27 +02:00
twinaphex
8beed4c1ec (360) Buildfix 2018-05-14 01:50:58 +02:00
twinaphex
82ebb9576f Create d3d9_video_t and d3d8_video_t 2018-05-03 22:03:12 +02:00
twinaphex
c4a03b6b45 (xdk360_fonts.cpp) Cleanups 2018-05-03 21:39:25 +02:00
twinaphex
789ef63dee (360) Don't bake in HAVE_XUI anymore; buildfixes for C++ 2018-04-23 17:35:36 +02:00
twinaphex
32c92a9a22 Rename d3dxbuffer_release 2018-04-23 15:04:19 +02:00
twinaphex
2a655116a6 Set #define CINTERFACE in these files 2018-04-22 14:27:39 +02:00
aliaspider
b78dcf9f4c update D3D10 driver. 2018-04-21 03:56:19 +01:00
twinaphex
9f2b56a929 Update Direct3D 10 driver 2018-04-21 03:27:41 +02:00
twinaphex
16df2ceb4e Fix Xbox OG 2018-04-17 11:39:59 +02:00
twinaphex
4d1b4f905f Start adding OSD statistics - doesn't work yet for SDL2/SDL 2018-03-23 17:43:49 +01:00
Brandon Wright
1f472db2aa Fix multi-line text spacing in menus with Vulkan driver. 2018-03-18 18:57:24 -05: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
696fa900a1 Refactor macro functions which were unsafe 2018-02-26 18:08:17 +01:00
twinaphex
64db75a62e Prevent MSVC warning 2018-02-17 14:28:30 +01:00
twinaphex
070c09faec Avoid more pointer grabbing for video driver ptr 2018-02-16 20:42:37 +01:00
aliaspider
92afd7387d (D3D12) add a font driver. 2018-02-08 00:18:04 +01:00
aliaspider
700fce3bd2 various fixes for CXX_BUILD. 2018-02-04 20:03:27 +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
aliaspider
e225e96025 (D3D11) multi-pass shaders: add support for history frames. 2018-02-03 13:29:00 +01:00
twinaphex
d446742d4b Some C89_BUILD build fixes 2018-02-03 12:47:53 +01:00
aliaspider
6fe3a31617 (D3D11) multi-pass shaders: add support for wrap modes and lut
mipmapping.
2018-02-02 17:18:41 +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
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
e6c455d2c6 (D3D11) move format support checks to d3d11_init_texture(); 2018-02-01 11:21:51 +01:00
twinaphex
911d01b1e4 CLeanups 2018-01-30 21:46:49 +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
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
f97ebfbf1f
Merge pull request #6179 from aliaspider/master
(D3D11) add the remaining menu shaders.
2018-01-25 17:18:59 +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
aliaspider
a2cddb27e5 (D3D11) refactors. 2018-01-25 15:48:53 +01:00
twinaphex
d4367ed993 Cleanups 2018-01-25 15:30:48 +01:00
twinaphex
8422e44a2d Start moving d3dx fonts code to d3d_common.c 2018-01-25 14:13:21 +01:00
twinaphex
6ee8f681da Remove comment 2018-01-25 12:33:27 +01:00
twinaphex
c76ce05070 Update d3d_w32_font 2018-01-25 12:16:57 +01:00
twinaphex
a18e7767f3 Fix some unreferenced local variable warnings 2018-01-25 10:25:50 +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
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
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