Commit Graph

135 Commits

Author SHA1 Message Date
twinaphex
6247d6ea1d Update check_window - we no longer need runloop.h inside context driver 2017-01-23 01:02:33 +01:00
twinaphex
1ea3bea0ee Don't pass video_info by value to context_driver init function 2017-01-22 18:29:22 +01:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
9d1de5c974 Rewrite video_context_driver_set_resize 2017-01-19 14:31:57 +01:00
twinaphex
34da27c36b Don't need 'frame_count' variable for check_window 2017-01-18 21:47:12 +01:00
twinaphex
a6a4808e94 Refactor frame monitor code 2017-01-18 17:41:27 +01:00
Brad Parker
a220815b40 fix race condition in frame count with video_threaded on 2017-01-17 18:42:58 -05:00
Brad Parker
05c37bd39f initial GDI driver skeleton 2017-01-16 20:41:04 -05:00
twinaphex
666534cc74 Grab settings pointer only once inside wrapper 'input_driver' function 2017-01-16 00:14:10 +01:00
twinaphex
1fa3475d79 Add parameter to video_context_driver's 'init' function 2017-01-13 16:52:07 +01:00
twinaphex
8c9e0405fb Create video_driver_build_info 2017-01-13 16:09:32 +01:00
twinaphex
24dc890b78 (gfx) Cleanups/style nit 2017-01-12 10:52:04 +01:00
twinaphex
7d0056d422 Minimize dependence on settings struct from within context drivers 2017-01-11 06:44:41 +01:00
twinaphex
80f79130c0 Update set_video_mode context driver callback function 2017-01-11 06:35:50 +01:00
Josh Palmer
b85e2a8897 Fix references to bbctx-qnx post-rebase 2017-01-09 20:26:09 +00:00
twinaphex
011f1012fb Cleanup 2016-11-20 15:21:02 +01:00
twinaphex
2dcf79bb4e Cleanups 2016-11-20 15:14:00 +01:00
twinaphex
1dcef5e429 Turn some video context driver functions into macros 2016-11-20 15:06:28 +01:00
twinaphex
06c86f0852 (video_context_driver.c) Simplifications 2016-11-20 14:52:50 +01:00
Brad Parker
d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
radius
f58f7a5923 Revert "Make emscripten_egl default context for emscripten"
fixes gamepad support. It seems it only works when we use the SDL2 video context

This reverts commit 1177edf825.
2016-09-23 22:38:37 -05:00
Logan McNaughton
1177edf825 Make emscripten_egl default context for emscripten 2016-09-22 15:22:08 -06:00
twinaphex
075aea2289 Header include cleanups 2016-09-06 00:56:00 +02:00
twinaphex
562c1e996c Get rid of more header includes 2016-09-01 05:38:26 +02:00
Brad Parker
2afd72252c make GLX context current when creating font textures with threaded video 2016-08-31 01:33:35 -04:00
orbea
698579c2b5 Shorten HAVE_VULKAN_KHR_DISPLAY 2016-08-27 16:48:13 -07:00
Higor Eurípedes
8752313961 (gfx) Add OSMesa context 2016-08-02 02:16:02 +02:00
Hans-Kristian Arntzen
cd4ff2eac8 Move KHR_display backend behind configure flag.
Enabled by default since it is technically not platform specific.
2016-07-07 22:05:57 +02:00
Hans-Kristian Arntzen
d382e1069e Basic VK_KHR_display integration works! :) 2016-07-07 19:28:27 +02:00
twinaphex
b9ce94b360 (WGL) Change ifdef 2016-05-16 08:36:22 +02:00
twinaphex
b20d550cc4 Rename video context driver functions 2016-05-08 20:32:56 +02:00
twinaphex
7399ba386a Rename gfx_ctx_ prefix 2016-05-08 19:24:23 +02:00
twinaphex
bc74e7199b Move variables outside of gfx_ctx_ctl 2016-05-08 19:18:17 +02:00
Hans-Kristian Arntzen
d723411436 De ioctl video_driver. 2016-05-08 14:00:51 +02:00
twinaphex
10b0fca258 Add GFX_CTL_SET_FLAGS 2016-05-05 17:37:24 +02:00
twinaphex
9d225e388f Add GFX_CTL_GET_FLAGS 2016-05-05 05:49:48 +02:00
twinaphex
15fa7f9cd1 GFX_CTL_CHECK_WINDOW - prevent null pointer dereferences 2016-04-02 20:53:13 +02:00
twinaphex
5c0f4f4ac8 Cleanups 2016-03-20 17:41:28 +01:00
twinaphex
d8ebcde5ec Implement GFX_CTL_SHOW_MOUSE 2016-03-14 14:39:58 +01:00
twinaphex
e9a0aba85b Silence bunch of warnings and fix an error 2016-03-04 19:42:30 +01:00
twinaphex
1b0a9d0b1d Backport Opendingux/GCW Zero patches courtesy of gama.coder 2016-03-01 21:50:23 +01:00
twinaphex
1a5d2ce85c Start divorcing DRM context from EGL 2016-02-22 12:59:13 +01:00
twinaphex
dbe6bc5cfb Move wayland context driver up the context driver foodchain,
should hopefully have Gnome Wayland default to it instead of the
slower X11/XCB context
2016-02-20 09:23:17 +01:00
twinaphex
9bc889b908 Add improved preprocessor conditionals for x context 2016-02-20 05:50:37 +01:00
twinaphex
11c1535fe3 Rename glx context driver to x 2016-02-20 05:48:45 +01:00
twinaphex
02e3d6eba7 Only one Wayland context driver now 2016-02-19 07:58:14 +01:00
Hans-Kristian Arntzen
adbf9fed16 Vulkan implementation. 2016-02-16 20:42:02 +01:00
twinaphex
9f26e3bc69 Move static local variables to gfx_ctx_ctl - and other cleanups 2016-02-14 02:30:24 +01:00
twinaphex
68969d1363 Add GFX_CTL_GET_VIDEO_SIZE 2016-02-14 02:26:20 +01:00
twinaphex
bcaf08ad2d Add GFX_CTL_SET_RESIZE 2016-02-14 02:15:43 +01:00