Themaister
f2cae17021
Vulkan: Try to avoid creating swapchains redundantly.
...
Win32: Only make resize events when needed.
Do not create swapchain unless necessary.
Deal better with Windows WSI workarounds.
2018-07-01 16:21:09 +02:00
Themaister
c4ba8d26a0
Support multiple displays in VK_KHR_display.
2018-07-01 01:21:51 +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
Gustavo Maciel Dias Vieira
14c505117d
Add screensaver (idle) inhibition for Wayland driver
...
The Wayland driver currently has no implementation for gfx_ctx_wl_suppress_screensaver. This adds a Dbus implementation using the same infrastructure used by the X11 driver.
2018-05-29 09:56:58 -03:00
twinaphex
34eb78ad78
Silence some warnings
2018-05-14 00:35:01 +02:00
Twinaphex
d0a697ebf0
(MacOS) Another buildfix
2018-05-14 00:23:05 +02:00
Twinaphex
f3f0c6b1d1
One buildfix
2018-05-14 00:21:08 +02:00
Stuart Carnie
789933b333
wip: add Vulkan support to Apple platforms
2018-05-13 21:35:23 +02:00
twinaphex
542294900f
(WinRT) More compilation fixes
2018-05-12 19:03:39 +02:00
Brad Parker
a1aefc901c
Qt WIMP GUI
2018-04-30 14:33:05 -04:00
Rob Loach
71c031099b
Fix missing division in mali fbdev
2018-04-27 22:44:53 -04:00
Brandon Wright
0e013ced75
Fix typo in mali fbdev driver.
2018-04-27 12:42:46 -05:00
twinaphex
6f4fd8859a
Add customizable swapchain images flag to VC EGL context
2018-04-23 13:12:00 +02:00
twinaphex
1526c8a15d
(PS3) Should fix PS3 build with context driver
2018-04-21 18:05:25 +02:00
Twinaphex
f4c83157af
Fix CocoaGL context driver
2018-04-21 18:06:14 +02:00
Brandon Wright
c4f818599c
Add some fbdev refresh rate polls. Also Xv.
2018-04-16 16:23:59 -05:00
Brandon Wright
95f8205fd1
Add DRM interface for refresh rate.
2018-04-16 15:36:46 -05:00
Brandon Wright
df5528b1d0
Divide Wayland rate by 1000 instead of multiply.
2018-04-15 20:00:14 -05:00
Brandon Wright
e049605359
Add refresh rate polling to Win32 >= Windows 7.
2018-04-15 19:33:38 -05:00
Brandon Wright
533f898132
Add get refresh rate context function. Implement for X11 and Wayland.
2018-04-15 17:56:12 -05:00
Brandon Wright
9f15e39114
Also use the original fallback designed for older window managers.
2018-04-02 20:21:32 -05:00
Brandon Wright
0a5e65dc06
Add workarounds based on window manager for override-redirect.
2018-04-02 20:01:14 -05:00
Brandon Wright
8356300c3e
Apply the same fix to xegl_ctx.c
2018-04-01 17:47:47 -05:00
Brandon Wright
64686d8106
Set override-redirect on true fullscreen, but after window is mapped.
2018-04-01 17:47:27 -05:00
twinaphex
92b46a8275
Some cleanups
2018-03-30 15:50:27 +02:00
Brandon Wright
3bbff3c689
Use _NET_WM_STATE_FULLSCREEN as a first measure, only falling back to override-redirect when not supported.
2018-03-29 17:13:51 -05:00
Brandon Wright
5da1aa0af7
Allow compositor disabling on X11 fullscreen through _NET_WM_BYPASS_COMPOSITOR.
...
Note: KWin doesn't bypass compositor on override-redirect windows, so enabling windowed fullscreen is necessary.
2018-03-29 15:20:14 -05:00
twinaphex
923ab3b6f4
(DRM Ctx) Buildfix
2018-03-27 14:19:36 +02:00
Brandon Wright
eb6d04d430
With X context set vk.swapchain to VK_NULL_HANDLE when failing to create swapchain so Vulkan common functions don't try and use it and crash.
2018-03-18 19:31:25 -05:00
Brandon Wright
e8de264b75
Fix X11 Vulkan bug from Wayland driver.
2018-03-17 19:45:01 -05:00
Brad Parker
614521b238
fix building on windows without dinput
2018-03-16 21:03:43 +00:00
ajefr
1da67cecf3
declaration error
2018-03-08 21:44:26 +01:00
ajefr
98f8ed637c
typo
...
stati -> static
2018-03-08 21:19:00 +01:00
twinaphex
0ec5ce8cfe
Get rid of d3d context drivers
2018-03-02 17:23:43 +01:00
twinaphex
dfdbc00a84
Cleanup Xbox 360 code from d3d_ctx
2018-03-02 17:03:34 +01:00
twinaphex
9d45d26f56
Update
2018-03-01 21:26:32 +01:00
twinaphex
13b6a016fc
Fix d3d swap buffers call
2018-03-01 21:23:15 +01:00
twinaphex
16c1bd7a03
Create context get_api function
2018-03-01 21:16:54 +01:00
twinaphex
070c09faec
Avoid more pointer grabbing for video driver ptr
2018-02-16 20:42:37 +01:00
Brad Parker
43aa977a91
add menu setting to toggle window decorations
2018-02-10 23:46:09 -05:00
twinaphex
495c702860
Buildfixes/cleanups
2018-01-25 12:30:08 +01:00
twinaphex
4c390944bb
Remove some more HAVE_D3D8/HAVE_D3D9 ifdefs that depend on
...
compile-time instead of runtime
2018-01-25 12:22:06 +01:00
twinaphex
bc81a9dc88
Dehardcode LPDIRECT3DDEVICE usage
2018-01-25 01:45:03 +01:00
twinaphex
63ad668ff0
Add HAVE_DYNAMIC ifdefs
2018-01-24 02:12:58 +01:00
twinaphex
6f73bdf287
(Emscripten) Cleanups
2018-01-20 02:05:37 +01:00
twinaphex
f97d6ec909
(VC EGL) Cleanups
2018-01-20 02:03:49 +01:00
twinaphex
61ff51be2f
Start using string_is_equal predominantly
2018-01-16 22:53:38 +01:00
Toad King
19facdb066
reset drivers shortly after toggling fullscreen mode
...
fixes black screen after going fullscreen in game
2018-01-15 02:12:53 -06:00
Toad King
b75f4b4f67
implement setting vsync and swapinterval
...
vsync is not "true" vsync (that's always on in browsers) but changes the main loop timer from immediate to window.requestAnimationFrame
2018-01-14 23:29:20 -06:00
Toad King
60f203d344
fix emscripten build
2018-01-14 16:03:44 -06:00