Commit Graph

268 Commits

Author SHA1 Message Date
twinaphex
13ccf4d408 Silence some more static code analysis warnings 2019-01-11 01:35:18 +01:00
twinaphex
c98b2e2292 Buildfixes and more static code analysis warning fixes 2019-01-10 22:24:43 +01:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
twinaphex
dd60b5d576 MSVC2017 Non-UWP buildfixes 2018-12-29 02:54:17 +01:00
Themaister
f51ef85f27 Vulkan: Fix scissor in menu driver. 2018-11-08 21:57:53 +01:00
Stuart Carnie
8569ee79bc
feat(metal): Add scissor rect support
This is required for correct rendering of the ozone menu
2018-11-06 07:56:05 -07:00
twinaphex
c55e65c895 Change this to vita2d 2018-10-19 07:41:41 +02:00
Brad Parker
230a7fd7b0 Win95 buildfix 2018-10-10 10:59:49 -04:00
Twinaphex
1fae526337
Merge pull request #7403 from bparker06/gdi_imp
win32: Improvements to GDI drivers
2018-10-10 16:13:10 +02:00
Brad Parker
b9699f4780 gdi: texture load support, fix menu text alignment, support multi-line messages 2018-10-10 09:58:49 -04:00
twinaphex
1bd91193fd (Menu) All the ident names should be identical to the video driver ident names 2018-10-09 01:05:46 +02:00
twinaphex
57adfe0141 (WIIU) menu_display_wiiu.c should have the same ident name as the video driver 2018-10-09 01:03:29 +02:00
twinaphex
c496657556 Fix issue with GL 2018-10-06 17:52:03 +02:00
twinaphex
f1f2377826 (WiiU) Use MIN/MAX 2018-09-29 01:20:35 +02:00
twinaphex
b0dd64c9f3 Change function prototype for scissor_end 2018-09-28 22:52:00 +02:00
twinaphex
29b4da6643 (GX2) Implement end_scissor 2018-09-28 22:40:23 +02:00
twinaphex
fcaced91cc (GX2) Implement scissoring for GX2 2018-09-28 22:33:58 +02:00
twinaphex
624ffc98c1 (Vulkan) Implement scissoring for Vulkan 2018-09-28 22:00:47 +02:00
natinusala
7ec2011ccf menu_display_gl: added scissoring support 2018-09-20 14:48:07 +02:00
twinaphex
cc8b458ee3 Add menu_display_switch.c 2018-09-12 20:01:56 +02:00
twinaphex
a1d5b0fd03 Update MSVC 2012 solution 2018-08-16 20:49:31 +02:00
twinaphex
3fb039f9f0 Update menu_display_metal.m 2018-08-16 10:18:00 +02:00
Stuart Carnie
167ad3b57d fix(Metal): Various Metal fixes
* OSD message background
* clear glui background
* add Metal to configuration
* added optional config to compile Metal build without OpenGL
* fixed fill_pathname_join_delim; if out_path and dir are same, don't
  strlcpy, as the results are undefined.
2018-07-12 21:33:18 -07:00
Brad Parker
7e1074c40a sixel: add missing menu display driver 2018-07-12 17:24:52 -04:00
Brad Parker
ab27b7c85f initial SIXEL video driver 2018-07-12 16:55:08 -04:00
Stuart Carnie
a0900ec433 feat(Metal): full xmb pipeline support
Menu TODOs:

* understand why ribbon does not look the same as GL
* add clear support to `MenuDisplay` for glui
2018-07-03 22:32:12 -07:00
Stuart Carnie
4a101734a1 More cleanup
* use single render command encoder for display for better performance
* Context handles all rendering and presentation
2018-07-03 22:32:12 -07:00
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