Commit Graph

555 Commits

Author SHA1 Message Date
twinaphex 8467ce114c (Android) Followup to earlier commit 2016-03-12 08:53:27 +01:00
twinaphex 432d7a358a (Android) Move Android-specific Moto G2 DPI workaround to android graphics context
driver
2016-03-12 08:52:29 +01:00
Jean-André Santoni 0863a8eb84 Reorder static functions in vivante context 2016-03-12 04:29:26 +07:00
Jean-André Santoni a16ce4a146 Fix a typo in mali_fbdev_ctx 2016-03-10 01:50:30 +07:00
twinaphex 64a77af881 Use RARCH_DISPLAY_CTL_HW_CONTEXT_GET directly instead of
going through video_driver_callback
2016-03-04 20:49:55 +01:00
Christopher Bransden 2d0c02d21e Fix compilation error:
gfx/drivers_context/vc_egl_ctx.c:591:13: error: static declaration of ‘gfx_ctx_vc_set_swap_interval’ follows non-static declaration
gfx/drivers_context/vc_egl_ctx.c:312:4
2016-03-02 21:31:56 +00:00
twinaphex 0f8e31cad3 (iOS) Use -1 instead of UIUserInterfaceIdiomUnspecified for backwards
compatibility
2016-03-02 17:25:13 +01:00
twinaphex 702d4f9e3a (Android) Buildfix 2016-03-01 22:26:57 +01:00
twinaphex efb1c88215 (opendingux_fbdev_ctx.c) Another ifdef 2016-03-01 22:23:40 +01:00
twinaphex f3cc1a9b59 (opendingux_fbdev_ctx.c) More HAVE_EGL ifdefs 2016-03-01 22:23:17 +01:00
twinaphex ac584330bb (Android) Bugfix 2016-03-01 21:58:35 +01:00
twinaphex 1b0a9d0b1d Backport Opendingux/GCW Zero patches courtesy of gama.coder 2016-03-01 21:50:23 +01:00
twinaphex c44107949d (Vulkan) Pass width and height to vulkan_surface_create 2016-03-01 18:35:41 +01:00
twinaphex 5f125bc1f6 (Android) Only need to pass window for Android 2016-03-01 18:22:17 +01:00
twinaphex eaa0b08bc2 (Android) Hook up Vulkan for gfx_ctx_bind_api 2016-03-01 18:21:09 +01:00
twinaphex b8c1e31c13 (Android/Vulkan) Start hooking up Vulkan for Android context driver 2016-03-01 18:16:22 +01:00
twinaphex dc12f07a55 (mali_fbdev) Add some ifdefs 2016-03-01 07:17:57 +01:00
twinaphex 59ed4b939f Cleanups 2016-03-01 07:09:55 +01:00
twinaphex 47fddf28e5 (Emscripten context) Cleanups 2016-03-01 07:07:56 +01:00
twinaphex 32c4f13761 (XEGL) Add HAVE_VG ifdefs 2016-03-01 06:56:41 +01:00
twinaphex e938be3747 Have to rewrite EGL context code 2016-03-01 06:49:05 +01:00
twinaphex ae6302ede2 (Android EGL context) Add missing break 2016-03-01 05:09:07 +01:00
twinaphex 00741d06fb Add android_gfx_ctx_bind_hw_render 2016-03-01 05:08:18 +01:00
twinaphex c5667d8253 (Android EGL context) Refactor more code 2016-03-01 05:07:11 +01:00
twinaphex 2480181469 (Android) Add android_api variable 2016-03-01 04:53:48 +01:00
twinaphex 481196c55c Add some more ifdefs 2016-03-01 04:19:33 +01:00
twinaphex f8f2f7d03c Rename androidegl_ctx.c to android_ctx.c 2016-03-01 04:18:43 +01:00
twinaphex 0ec1c5ade5 Start adding HAVE_OPENGLES ifdefs to androidegl_ctx.c 2016-03-01 04:17:02 +01:00
twinaphex 65b628cf20 Cover more edge cases for crashes initiated by Zarch 2016-02-29 01:49:58 +01:00
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
twinaphex a61536ffdc More refactors - create vulkan_destroy_context 2016-02-19 11:12:43 +01:00
twinaphex 6be1453d9c Create vulkan_init_context 2016-02-19 11:04:51 +01:00
twinaphex 50a605e9db Cleanups 2016-02-19 10:54:00 +01:00
twinaphex 1165d1c0b7 Create gfx_ctx_vulkan_data_t 2016-02-19 10:35:59 +01:00
twinaphex 02e3d6eba7 Only one Wayland context driver now 2016-02-19 07:58:14 +01:00
twinaphex 0b85951abe (Wayland context) Cleanup some defines 2016-02-18 07:40:13 +01:00
twinaphex a21444fc9a (Wayland ctx) More improvements to Vulkan support 2016-02-18 07:29:20 +01:00
twinaphex f5c5c82729 Add extra conditionals for all possible usecases (HAVE_EGL/HAVE_OPENGL/HAVE_OPENGLES/etc) 2016-02-18 07:18:58 +01:00
twinaphex bd672b8b72 Add vulkan path in registry_handle_global 2016-02-18 05:31:24 +01:00
twinaphex 620fbe8976 Forgot to set this 2016-02-18 00:20:23 +01:00
twinaphex eeada0c458 Start making general-purpose Wayland context driver that could work
for both Vulkan and EGL/GL
2016-02-17 23:22:54 +01:00
twinaphex 56a14ffc3c Start adding HAVE_OPENGL/HAVE_VG ifdefs 2016-02-17 22:20:43 +01:00
Hans-Kristian Arntzen adbf9fed16 Vulkan implementation. 2016-02-16 20:42:02 +01:00
twinaphex cbf84b8d6e Style nits 2016-02-14 16:39:27 +01:00
twinaphex 64e891124c (ps3_ctx.c) Cleanups 2016-02-14 16:36:06 +01:00
twinaphex b0995e6eee (GLX) 80-char width limit style nits 2016-02-14 16:34:31 +01:00
twinaphex e842ebbfc4 80-char width limit style nits 2016-02-14 16:31:39 +01:00
twinaphex 602c40c228 (bbqnx) Style nits 2016-02-14 16:29:58 +01:00
netux79 a2851ab70b (GX) Resolution Saving's Video Corruption Fix.
Also some cleanups for the RA GX version included.
2016-02-12 16:58:59 -05:00
twinaphex 157eb71606 Use string_is_equal more 2016-01-20 06:16:55 +01:00
twinaphex 0e1d00a85c (CocoaTouch) Cleanup 2016-01-18 22:13:35 +01:00