241 Commits

Author SHA1 Message Date
Stuart Carnie
5e1f991e32 feat(Metal): initial xmb and glui menu support
TODOs

* menu shader pipeline effects
* refactor / optimize graphics rendering
2018-07-03 22:32:12 -07: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
3d7eaee7c9 (menu display driver) Cleanups to bind_texture 2018-05-13 14:43:40 +02:00
twinaphex
c88a7545a3 (menu display drivers) Cleanups 2018-05-13 14:15:04 +02:00
twinaphex
6c09195f5e (D3D8/D3D9) Updates 2018-05-03 22:08:14 +02:00
twinaphex
82ebb9576f Create d3d9_video_t and d3d8_video_t 2018-05-03 22:03:12 +02:00
twinaphex
7bc66ae710 Buildfixes for MSVC 2015 2018-05-03 15:20:06 +02:00
twinaphex
3a93377811 D3D8 buildfix 2018-04-22 14:55:15 +02:00
twinaphex
9e741019f3 (menu_display_d3d8.c) Buildfix 2018-04-22 14:46:20 +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
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
18d27468ae Set handles_transform for 3DS/D3D11/D3D12/Vita/WiiU menu
display drivers - this skips a bunch of costly matrix calculations
for menu display drivers that have a geometry shader or something
similar
2018-02-28 04:52:47 +01:00
twinaphex
696fa900a1 Refactor macro functions which were unsafe 2018-02-26 18:08:17 +01:00
twinaphex
bf610ba2e6 (D3D) Prevent crash with D3D8 2018-02-17 19:19:16 +01:00
twinaphex
070c09faec Avoid more pointer grabbing for video driver ptr 2018-02-16 20:42:37 +01:00
twinaphex
35f1c9ba33 (menu display driver) Get rid of remaining pointer grabbing 2018-02-16 19:42:13 +01:00
twinaphex
407d7e2c4e (menu display) Get rid of more pointer grabbing 2018-02-16 19:25:19 +01:00
twinaphex
a05d3bc4f7 Update 2018-02-16 19:15:55 +01:00
twinaphex
a0ba515337 Update 2018-02-16 19:08:16 +01:00
twinaphex
d19aebc0bf (menu_display_gl) Remove unused pointer variable 2018-02-16 18:26:11 +01:00
twinaphex
b25e2ce4e8 reduce more calls to video_driver_get_ptr 2018-02-16 17:54:39 +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
aliaspider
6fe379d978 (D3D12) add a compute shader for mipmap generation. 2018-02-09 14:57:07 +01:00
aliaspider
97813b9722 (D3D11/12) fix dialogbox / gradient. 2018-02-08 17:11:24 +01:00
aliaspider
0d88799e6d (D3D12) add menu display driver. 2018-02-08 00:18:05 +01:00
twinaphex
b2963a9124 (menu_display_d3d.c) Turn this into HAVE_D3D8 conditional instead 2018-02-05 01:26:43 +01:00
aliaspider
700fce3bd2 various fixes for CXX_BUILD. 2018-02-04 20:03:27 +01:00
twinaphex
dac1f10708 C89_BUILD fixes 2018-02-03 15:16:04 +01:00
aliaspider
e225e96025 (D3D11) multi-pass shaders: add support for history frames. 2018-02-03 13:29:00 +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
61971c2f0e Remove header requirements for menu_display_d3d.c 2018-01-26 03:53:56 +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
aliaspider
c0117f077b (D3D11) add the remaining menu shaders. 2018-01-25 17:07:23 +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
766f3b33c7 Dehardcode some more opaque types defined by macros 2018-01-25 11:50:07 +01:00
aliaspider
427003fa3b (D3D11) add ribbon shader.
- it doesn't look quite right though.
2018-01-25 09:48:07 +01:00
aliaspider
2a54cbca75 (D3D11) autogen mipmaps when needed. 2018-01-25 04:57:49 +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
013ecf3719 (D3D11) menu display: fix the order of gradient colors. 2018-01-25 00:53:57 +01:00
aliaspider
812eefa601 (D3D11) add menu display driver. 2018-01-25 00:20:06 +01:00
twinaphex
e601190ecb (D3D11/12) Fix warnings 2018-01-21 07:57:25 +01:00
twinaphex
9f7d0d59c5 (Xbox 1) Fix texture U/V 2018-01-20 07:00:03 +01:00
twinaphex
a3f95f58ec Cleanup menu_display_d3d 2018-01-19 03:40:34 +01:00
twinaphex
4ef66e6e8c This should make XMB/MaterialUI render correctly on D3D8 2018-01-19 02:24:10 +01:00