Commit Graph

120 Commits

Author SHA1 Message Date
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
twinaphex
5516ff05b5 Create GFX_CTL_SET_VIDEO_MODE 2016-02-14 02:12:18 +01:00
twinaphex
637ee33ab6 Add GFX_CTL_IDENT_GET 2016-02-14 02:05:20 +01:00
twinaphex
154f85c6fa Add GFX_CTL_SUPPRESS_SCREENSAVER 2016-02-13 23:39:12 +01:00
twinaphex
f6afe72a1e Add GFX_CTL_IMAGE_BUFFER_WRITE 2016-02-13 23:35:47 +01:00
twinaphex
0a9787ec49 Create GFX_CTL_INPUT_DRIVER 2016-02-13 23:26:33 +01:00
twinaphex
098fc0a860 Cleanups 2016-02-13 23:20:04 +01:00
twinaphex
82dcd2cd94 Cleanups 2016-02-13 23:17:09 +01:00
twinaphex
3140e5f980 Implement GFX_CTL_GET_METRICS 2016-02-13 22:14:33 +01:00
twinaphex
f94e9c532e Create GFX_CTL_PROC_ADDRESS_GET 2016-02-13 22:02:49 +01:00
twinaphex
9e186b4587 Create GFX_CTL_SWAP_INTERVAL 2016-02-13 20:45:45 +01:00
twinaphex
46c9ff36ef Create GFX_CTL_CHECK_WINDOW 2016-02-13 19:53:14 +01:00
twinaphex
b9a5c326cd Create GFX_CTX_GET_VIDEO_OUTPUT_SIZE 2016-02-13 19:36:02 +01:00
twinaphex
46d210e977 Create GFX_CTL_FIND_NEXT_DRIVER/GFX_CTL_FIND_PREV_DRIVER 2016-02-13 19:12:08 +01:00
twinaphex
7c28ddbfc5 Add GFX_CTL_IMAGE_BUFFER_INIT 2016-02-13 18:51:16 +01:00
twinaphex
ef6ef13143 Add GFX_CTL_GET_VIDEO_OUTPUT_PREV/GFX_CTL_GET_VIDEO_OUTPUT_NEXT 2016-02-13 18:47:38 +01:00