Commit Graph

566 Commits

Author SHA1 Message Date
twinaphex
8d5f34eeb9 Move signal handler code to frontend driver interface 2016-07-08 02:43:55 +02:00
twinaphex
76cc6fd8ec Start implementing signal handler code once in frontend driver code 2016-07-08 02:38:33 +02:00
Alcaro
4b75304d15 You missed a spot, maister 2016-07-07 21:03:30 +02:00
Hans-Kristian Arntzen
df7870c2ea Vulkan: Don't use sighandling on Win32 in khr_display.
Lots of the embedded backends do signal-handling like this
which is kinda awkward. This should be moved to frontend runloop or
something similar.
2016-07-07 20:34:42 +02:00
Hans-Kristian Arntzen
c561d8c4e6 Install sighandler for khr_display backend. 2016-07-07 19:32:09 +02:00
Hans-Kristian Arntzen
d382e1069e Basic VK_KHR_display integration works! :) 2016-07-07 19:28:27 +02:00
Hans-Kristian Arntzen
471d06d133 Fix Wayland refresh rate logging. 2016-07-06 23:22:13 +02:00
twinaphex
3c7dc0a62e Try to silence more Coverity warnings 2016-06-29 12:13:40 +02:00
twinaphex
a24d43c8fd Add GFX_CTX_FLAGS_CUSTOMIZABLE_SWAPCHAIN_IMAGES display flag 2016-06-27 23:43:57 +02:00
Twinaphex
1e91689919 (iOS) Fix FPS reporting 2016-06-22 17:42:32 +02:00
twinaphex
8a8fadc5b2 Implement max swapchain images setting, implement it first for DRM/KMS context 2016-06-21 21:36:58 +02:00
Hans-Kristian Arntzen
e7b4f4fd4d Fix various Android Vulkan issues.
Was getting bogus swapchain width/height causing weird issues.
Also, create swapchain after swap interval is correctly set.
2016-06-13 19:51:44 +02:00
Twinaphex
d178f90cc1 Remove this header 2016-06-08 08:19:06 +02:00
neville
f170856374 (OSX) Fixes 2016-06-08 07:41:59 +02:00
Twinaphex
f17b4fba05 Rename ui_cocoa_window.h 2016-06-07 16:47:48 +02:00
Hans-Kristian Arntzen
c374c9853d Some potential fixes for Android Vulkan. 2016-06-07 01:43:14 +02:00
twinaphex
ea5f458fbd Go through function pointer 2016-06-06 08:01:26 +02:00
Twinaphex
c4cea05399 Go through ui_window_t function pointer 2016-06-06 07:39:31 +02:00
twinaphex
ca6f539ff5 (iOS) Prevent unused variable 'buf' warning 2016-06-05 07:02:44 +02:00
twinaphex
80b194f491 (Cocoa) Cleanups 2016-06-04 08:20:39 +02:00
Twinaphex
860fb1d525 (Cocoa) Implement ui_window_cocoa_set_title 2016-06-04 08:09:55 +02:00
twinaphex
492818deed (d3d_ctx.cpp) Use set_title function 2016-06-04 06:07:11 +02:00
twinaphex
d739e4771e Use set_title function from wgl_ctx.cpp 2016-06-04 06:02:15 +02:00
twinaphex
f490b2b58a Simplify win32_monitor_from_window 2016-06-04 05:54:33 +02:00
twinaphex
5eb43846da Prevent explicit NULL dereferenced warnings 2016-06-01 04:14:48 +02:00
twinaphex
cf91d006b3 BB10 starts again 2016-05-31 05:16:35 +02:00
twinaphex
72d37e3917 Fix unreachable code 2016-05-24 21:48:32 +02:00
twinaphex
c17315cd27 (DRM) Prevent double free and prevent dereference before NULL check 2016-05-23 22:30:01 +02:00
Lionel Flandrin
b7d5c1d3e8 potential fix for AMD and GL core contexts 2016-05-20 20:12:41 +02:00
twinaphex
c104bc094b (QNX) Fix egl_create_surface call 2016-05-19 20:07:03 +02:00
Twinaphex
85331042be (QNX) Build fixes 2016-05-19 20:02:39 +02:00
twinaphex
0433d3ca6e (WGL) Make context driver more modular 2016-05-16 08:34:56 +02:00
twinaphex
822d66f401 (WGL) Avoid some warnings 2016-05-16 08:25:14 +02:00
twinaphex
0d833c903a Merge remote-tracking branch 'origin/vulkan-windows' 2016-05-16 07:51:01 +02:00
twinaphex
21438fc0af Some buildfixes for GL_DEBUG 2016-05-12 02:58:09 +02:00
twinaphex
5845a9944d Add more HAVE_THREADS ifdefs 2016-05-11 19:02:43 +02:00
twinaphex
b20d550cc4 Rename video context driver functions 2016-05-08 20:32:56 +02:00
Torsten Paul
1979ea52d2 Suppress screensaver only if requested by user settings. 2016-05-08 19:22:45 +02:00
Hans-Kristian Arntzen
66c4f608e6 Clear out rest of video_driver_ctl use. 2016-05-08 14:10:28 +02:00
Hans-Kristian Arntzen
d723411436 De ioctl video_driver. 2016-05-08 14:00:51 +02:00
Torsten Paul
ccb224043b Initialize window name at window creation time (fixes #1521).
The protocol error reported in #1521 is caused by two different issues.
First xdg-screensaver fails to parse decimal values for the window id
(https://bugzilla.redhat.com/show_bug.cgi?id=1274931). Using the hex
notation fixes this part.

Second, the script reads the WM_NAME property from the window which is
not yet available at this time. Calling x11_update_window_title() early
ensures the property is set when xdg-screensaver is run.
2016-05-06 00:17:47 +02:00
twinaphex
78cbf97e70 Another fix 2016-05-05 17:58:58 +02:00
twinaphex
493ad4dfb8 (WGL) Typo buildfix 2016-05-05 17:50:26 +02:00
twinaphex
60233d1abb Add set_flags to context driver 2016-05-05 17:35:28 +02:00
twinaphex
400f50ddac Comment this out for now until we fundamentally fix it 2016-05-05 05:58:40 +02:00
twinaphex
8136683ffc (context drivers) Start exposing core GL flag 2016-05-05 05:46:00 +02:00
twinaphex
a0425dfb14 (Context drivers) Add get_flags function 2016-05-05 05:35:35 +02:00
twinaphex
53fc458795 (Cocoa) Store idiom type inside unsigned variable 2016-05-02 14:53:23 +02:00
Twinaphex
fab90f4b96 (iOS) Avoid warning for unhandled CarPlay enum value 2016-05-02 01:55:02 +02:00
Hans-Kristian Arntzen
406f084c4b Vulkan: Set g_inited in Windows. 2016-03-29 18:02:32 +02:00