4742 Commits

Author SHA1 Message Date
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
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
Hans-Kristian Arntzen
4540369fcb Use correct cast for WSI_XLIB. 2016-02-19 22:25:51 +01:00
Hans-Kristian Arntzen
0bcdf6ebe0 More properly enumerate GPUs.
Just pick the first one for now.
2016-02-19 21:55:11 +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
Hans-Kristian Arntzen
1b5cc1ca9c Fix some types for WSI. 2016-02-19 19:50:04 +01:00
twinaphex
d6906ee7df (xcb) Buildfix 2016-02-19 15:43:12 +01:00
twinaphex
11831a8b47 move shareable vulkan initialization code to vulkan_common.c 2016-02-19 14:38:15 +01:00
twinaphex
5cb0aa51c0 Add includes to vulkan_common.h 2016-02-19 14:26:45 +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
72fed0d871 Add VULKAN_WSI_MIR (for when we ever get around to adding Mir support) 2016-02-19 12:24:20 +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
Hans-Kristian Arntzen
c74c7ae053 Vulkan: Work around broken push constants on Ivy Bridge.
Use UBOs instead, should be more compatible with early drivers.
2016-02-18 18:36:49 +01:00
Hans-Kristian Arntzen
a1ae86a808 Remove obsolete shaders. 2016-02-18 18:36:49 +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
twinaphex
51a94d6ac7 Remove unix_common 2016-02-17 22:09:37 +01:00
twinaphex
17e5e57bed Add unix_common 2016-02-17 08:01:30 +01:00
twinaphex
a539a6512b (D3D) Buildfix 2016-02-17 02:25:24 +01:00
twinaphex
2e853b3f04 Another ifdef 2016-02-17 01:24:38 +01:00
twinaphex
22452f6cb2 Ifdef hw_render_context_is_vulkan 2016-02-17 01:23:55 +01:00
Hans-Kristian Arntzen
adbf9fed16 Vulkan implementation. 2016-02-16 20:42:02 +01:00
twinaphex
f8b866c8c1 Combine file_ops.c and content.c 2016-02-15 21:49:29 +01:00
twinaphex
0784608604 Buildfix 2016-02-14 22:23:30 +01:00
twinaphex
954ac39b91 Create SHADER_CTL_GET_PREV_TEXTURES 2016-02-14 22:22:40 +01:00