Commit Graph

1726 Commits

Author SHA1 Message Date
Stuart Carnie
a19ea2ed07 feat(Metal): Add support for overlays 2018-07-04 13:12:40 -07:00
Stuart Carnie
048aa16599 feat(Metal): Support vsync enable / disable 2018-07-04 09:50:09 -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
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
Stuart Carnie
eacd52f009 fix(Metal): improve shader stability
* use MTKView, which handles layer and scaling changes automatically
  between displays
2018-06-23 13:33:27 -07:00
twinaphex
0d8729daa6 FIx warning 2018-06-21 08:12:02 +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
misson20000
1404b63219 fix for tearing (depends on libtransistor commit cf5d0403 in v2.0.0, which is yet to be released) 2018-05-30 18:04:58 -07:00
Tatsuya79
e96463645d
Disable gl hard sync in menu 2018-05-17 17:24:10 +02:00
twinaphex
6d2b5c8052 Move read_viewport function back to d3d9.c 2018-05-17 17:17:08 +02:00
twinaphex
2d540264e8 Start hooking up set_shader_mvp function 2018-05-15 06:02:10 +02:00
twinaphex
39f45a17d2 create d3d9_convert_geometry 2018-05-14 21:32:14 +02:00
twinaphex
e9054159ec Remove set_font_rect callback 2018-05-14 16:57:34 +02:00
twinaphex
232d3f4d92 Take out add_state_tracker function callback for D3D9 renderchain 2018-05-14 06:33:51 +02:00
twinaphex
94955eb3b5 (D3D8) Do less casting 2018-05-14 05:14:26 +02:00
twinaphex
cbe4c78979 (D3D8/D3D9) Cleanups 2018-05-14 04:55:33 +02: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
380fa6fd5e Updates 2018-05-13 18:51:05 +02:00
twinaphex
46f23f9fbd Get rid of d3d_video_viewport 2018-05-13 18:24:19 +02:00
twinaphex
c6cc2c930c Create d3d9_log_info 2018-05-13 18:01:09 +02:00
twinaphex
659d8a4ec6 (GL) Cleanups 2018-05-13 14:34:41 +02:00
twinaphex
5bde17025a Move min_filter_to_mag to gl_common.h 2018-05-13 14:24:49 +02:00
twinaphex
08820b5245 Cleanup gl_update_input_size 2018-05-13 06:43:24 +02:00
twinaphex
1f944afff7 (GL) Cleanups 2018-05-13 06:34:15 +02:00
twinaphex
999f1db694 Cleanup 2018-05-13 06:30:13 +02:00
twinaphex
41295ef7b9 Remove viewport_info callback from D3D9 renderchain interface 2018-05-13 06:29:17 +02:00
twinaphex
dee50349ba Rename d3d_renderchain_driver to d3d9_renderchain_driver 2018-05-13 06:03:26 +02:00
twinaphex
494ddb16d9 Get rid of viewport_info callback function - was the same for both
GL1 and GL2 renderchains
2018-05-13 05:56:44 +02:00
twinaphex
542294900f (WinRT) More compilation fixes 2018-05-12 19:03:39 +02:00
Diego A
3b738e0b2d
Always enable vfilter, enable deflicker setting in progressive scan, fix vsync set to off 2018-05-10 18:44:22 -04:00
twinaphex
41d2ebf8b5 Apparently not available 2018-05-08 00:16:20 +02:00
twinaphex
2c409c606e (Winphone) should be _DISCARD 2018-05-07 23:19:42 +02:00
twinaphex
244f167dd5 (D3D11) Start adding D3D feature level 9 and Windows Phone ifdefs 2018-05-07 23:18:59 +02:00
Ash
68d789a4ea
[WiiU] Fix out-of-bounds rendering bug 2018-05-06 21:18:03 +10:00
twinaphex
6c09195f5e (D3D8/D3D9) Updates 2018-05-03 22:08:14 +02:00
twinaphex
6d019284f8 Get rid of some of the casts 2018-05-03 22:06:04 +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
f1d707a043 Running gl_check_capability from gl_get_flags resulted in a crash
on some Android systems, so unfortunately we cannot selectively hide
away GPU Hard Sync for now
2018-04-26 20:45:01 +02:00
twinaphex
37b1c9e8e9 Add NULL entry 2018-04-26 16:05:57 +02:00
twinaphex
023e280319 win32_get_refresh_rate not available on Xbox 2018-04-25 14:20:37 +02:00
twinaphex
6b31bd8b48 Only show Menu Linear Filter for RGUI and only show it for
video drivers that implement it
2018-04-24 15:14:06 +02:00
twinaphex
c506f489df (D3D8) Hook up Menu Linear Filter 2018-04-24 14:49:58 +02:00
twinaphex
a75e7ede0d (D3D9) Implement Menu Linear Filter 2018-04-24 14:47:21 +02:00
twinaphex
45cea92ba2 Remove null_renderchain 2018-04-23 14:57:37 +02:00
twinaphex
e54cb1b121 Only show black frame insertion for the video drivers/context drivers
that support it
2018-04-23 14:15:21 +02:00
twinaphex
f1fa1d4879 Previously, GPU Hard Sync options would only show up if the
video driver was explicitly set to the GL driver; now, it can be
dynamically shown for more video drivers if there are going to be
more drivers supporting this feature other than GL
2018-04-23 13:42:09 +02:00
twinaphex
c4c8699ee3 Only show max swapchain images if supported by video driver and/or
context driver
2018-04-23 13:34:30 +02:00
twinaphex
b1a2d1991c (d3d10.c) Cleanups 2018-04-23 13:09:05 +02:00