Commit Graph

843 Commits

Author SHA1 Message Date
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
Toad King
c8f03b4640 fix fullscreen sometimes losing state 2018-01-14 15:19:37 -06:00
Toad King
5ef595be1a fix fullscreen 2018-01-14 02:33:22 -06:00
Toad King
77b158e6a2 fix compiler warning 2018-01-13 20:47:30 -06:00
Toad King
a77f9c37c6 start on bringing the emscripten video code up to speed with latest emscripten
fix rwebinput
2018-01-13 00:05:07 -06:00
twinaphex
a8445c3ec4 D3D8 buildfix 2018-01-03 20:23:34 +01:00
twinaphex
df9cf9df21 (Xbox OG) Buildfix 2018-01-03 14:43:41 +01:00
Alcaro
9ab6957dc4 Fix #6009 v2.0 2017-12-31 14:32:14 +01:00
twinaphex
df3bb2e7e8 gfx_ctx_wgl_update_title - small cleanup 2017-12-31 13:54:34 +01:00
Brad Parker
81cd5435a1 x11: enable window transparency 2017-12-16 10:29:30 -05:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Themaister
75b84b4f94 Support pending swapchain creation. 2017-12-09 17:28:20 +01:00
clienthax
d6daf2f573 [PS3] Possible fix for 0x0 resolution on 2017-12-07 19:49:11 +00:00
Brad Parker
bc4bbe79aa don't define UNICODE at all, we don't need it and it causes dinput problems (names are wchar_t) 2017-12-05 14:26:59 -05:00