Commit Graph

476 Commits

Author SHA1 Message Date
Twinaphex
ea2094126b (iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix 2016-02-26 14:25:57 +01:00
twinaphex
4dfed7e930 Cast to NSOpenGLContext * 2016-02-26 13:39:01 +01:00
twinaphex
dcefb740f2 Create glcontext_get_ptr 2016-02-26 13:36:12 +01:00
twinaphex
c4b80e0e44 Fix CXX_BUILD - doesn't like a variable being named 'template' 2016-02-23 17:11:30 +01:00
Alcaro
7a6463a300 Add escape hatch if rarch (or the core) is in an infinite loop. 2016-02-23 16:11:39 +01:00
twinaphex
6f6ba98576 (DRM) Add more HAVE_EGL ifdefs 2016-02-23 01:34:28 +01:00
twinaphex
6429bb6a40 (X context) rename g_api to x_api 2016-02-22 13:29:32 +01:00
twinaphex
e688770e64 (SDL GL Ctx) Rename g_api to sdl_api 2016-02-22 13:26:26 +01:00
twinaphex
f8a2014b7e (DRM) Rename g_drm to drm 2016-02-22 13:25:48 +01:00
twinaphex
aa4015837f (DRM) DRM context driver should compile now without OpenGL 2016-02-22 13:04:34 +01:00
twinaphex
d537b6ee9f Rename some files 2016-02-22 13:01:16 +01:00
twinaphex
1a5d2ce85c Start divorcing DRM context from EGL 2016-02-22 12:59:13 +01:00
twinaphex
85804838ad (DRM) More refactors 2016-02-22 12:56:16 +01:00
twinaphex
09fba6016b (DRM) Cleanups 2016-02-22 12:50:45 +01:00
twinaphex
034f1769c9 (DRM) Cleanups 2016-02-22 12:43:18 +01:00
twinaphex
cc622b6905 Start getting rid of 'egl' namespace conventions in drm_egl context
driver
2016-02-22 12:37:38 +01:00
twinaphex
ef1feca097 Some C89_BUILD fixes 2016-02-22 12:25:41 +01:00
twinaphex
47b34b38d2 (DRM) More HAVE_EGL ifdefs 2016-02-22 12:10:23 +01:00
twinaphex
22a677b3a8 Don't use egl_common's 'api' variable anymore 2016-02-22 11:54:19 +01:00
twinaphex
fd7a62f5ca (Wayland) Context driver doesn't use egl api anymore 2016-02-22 11:48:17 +01:00
twinaphex
a8a871bd4e (DRM) Create drm_api 2016-02-22 11:47:18 +01:00
twinaphex
e4935d490c (DRM) Uses its own sighandler and atomic quit variable 2016-02-22 11:46:08 +01:00
twinaphex
3bebc2284f DRM gets its own interval variable inside data struct 2016-02-22 11:42:36 +01:00
twinaphex
b421bdf687 (drm_egl_ctx.c) More ifdefs 2016-02-22 11:37:37 +01:00
twinaphex
eceadcde2b (drm_egl_ctx.c) Add HAVE_EGL/HAVE_OPENGL ifdefs 2016-02-21 23:49:50 +01:00
Hans-Kristian Arntzen
c4104ae37c Wayland: Add metrics support. 2016-02-21 22:04:56 +01:00
Hans-Kristian Arntzen
52a515f0d3 Wayland: Add HiDPI awareness. 2016-02-21 21:35:06 +01:00
twinaphex
5f50034514 Refactor gfx_ctx_x_bind_api 2016-02-20 20:47:06 +01:00
twinaphex
481fa56f2c Move some code 2016-02-20 06:36:32 +01:00
twinaphex
fde9f1ce2c Start making GL optional (previously we assumed pretty much - hardware
context = GL) Still have the issue where the menu driver auto-switches
back to rgui instead of glui/xmb
2016-02-20 06:16:34 +01:00
twinaphex
11c1535fe3 Rename glx context driver to x 2016-02-20 05:48:45 +01:00
Hans-Kristian Arntzen
4540369fcb Use correct cast for WSI_XLIB. 2016-02-19 22:25:51 +01:00
Hans-Kristian Arntzen
88ec0f522b Vulkan: Add Vulkan backend to GLX context.
Also fixes some snags with libretro-test-vulkan.
2016-02-19 21:37:24 +01:00
twinaphex
11831a8b47 move shareable vulkan initialization code to vulkan_common.c 2016-02-19 14:38:15 +01:00
twinaphex
e1a1843edc Start moving code to vulkan_common.h 2016-02-19 14:23:51 +01:00
twinaphex
2d5e10e840 Fix this 2016-02-19 13:17:03 +01:00
twinaphex
140d65b994 Setup specific WSI extensions 2016-02-19 13:11:30 +01:00
twinaphex
7ec1a6836c (Vulkan WSI) Add Mir bits (we don't have Mir context driver yet
but whatever, add them all)
2016-02-19 13:06:38 +01:00
twinaphex
50efe142b9 Go through function pointers 2016-02-19 13:03:35 +01:00
twinaphex
eb1fe0476d Start implementing xlib/xcb bits (for when these context drivers
get added)
2016-02-19 12:46:42 +01:00
twinaphex
14d39be698 Move code around 2016-02-19 12:30:18 +01:00
twinaphex
cebefa6ae1 Refactor vulkan_surface_create 2016-02-19 12:23:16 +01:00
twinaphex
db074e1c1a Start implementing more WSI variants 2016-02-19 12:15:16 +01:00
twinaphex
353c421a5c Add function pointer for vkCreateAndroidSurfaceKHR 2016-02-19 12:08:34 +01:00
twinaphex
6fcd097e4c Start setting up vulkan_init_context for multiple WSI types 2016-02-19 12:04:56 +01:00
twinaphex
1c412eea5a Start adding preliminary implementation for vulkan_surface_create 2016-02-19 12:00:52 +01:00
twinaphex
96c9687a8a Create vulkan_surface_create 2016-02-19 11:55:57 +01:00
twinaphex
98990d6afc Add more WSI enum types 2016-02-19 11:50:25 +01:00
twinaphex
7205d76ab0 Cleanups 2016-02-19 11:36:46 +01:00
twinaphex
c105fb22f3 Style nits 2016-02-19 11:29:15 +01:00