225 Commits

Author SHA1 Message Date
Hans-Kristian Arntzen
8550c16f86 Always try to use cached memory if we can for linear textures.
Should improve cores which use SOFTWARE_FRAMEBUFFER.
2016-02-20 15:17:25 +01:00
Hans-Kristian Arntzen
b61c05e10f Log the number of swapchain images we get. 2016-02-20 14:24:36 +01:00
Hans-Kristian Arntzen
111c37832a Make sure we get a queue which also supports compute.
Graphics + Compute queue must be supported.
2016-02-20 14:20:17 +01:00
Hans-Kristian Arntzen
5542427246 Try to use cached memory for readbacks.
Speeds up nVidia readbacks by order of magnitude.
2016-02-20 12:04:53 +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
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
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
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
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
Hans-Kristian Arntzen
adbf9fed16 Vulkan implementation. 2016-02-16 20:42:02 +01:00
twinaphex
4941cd7dbd gl_ff_vertex - avoid glLoadIdentity 2016-02-14 03:47:33 +01:00
twinaphex
2fa46bcef8 Cleanups 2016-02-05 13:36:18 +01:00
twinaphex
a267bdfbe3 MOve gfx/image/image.c to gfx/video_texture_image.c 2016-01-30 02:39:08 +01:00
aliaspider
2ff854177c (WIN32) build fix 2016-01-18 20:03:34 +01:00
aliaspider
ee8e05050a (WIN32) fix runtime availability check for PowerCreateRequest. 2016-01-18 18:05:49 +01:00
twinaphex
54f46f4ee3 Update headers 2016-01-10 04:41:52 +01:00
twinaphex
c9017a5e09 buildfix 2016-01-09 07:14:46 +01:00
twinaphex
4178950483 move translate_filter to d3d_common.cpp 2016-01-09 06:28:42 +01:00
twinaphex
8327302d6b Have win32_set_video_mode use this code too 2016-01-09 05:28:52 +01:00
twinaphex
dad51f5677 Create win32_set_style 2016-01-09 05:24:27 +01:00
twinaphex
3e9820f6ae (D3D) Use win32_set_window 2016-01-09 05:04:47 +01:00
twinaphex
c1d79c2205 (Win32) Buildfix 2016-01-09 05:00:56 +01:00
twinaphex
c18cfee6d0 Create win32_set_window 2016-01-09 04:59:12 +01:00
twinaphex
93fed31e3a N/A 2016-01-08 20:51:30 +01:00
twinaphex
d8f851365f Cleanups 2016-01-08 09:48:46 +01:00
twinaphex
3d9f7117e4 Cleanups 2016-01-08 05:46:14 +01:00
twinaphex
3a30649876 Pass through data variable to win32_window_create correctly 2016-01-08 05:13:10 +01:00
twinaphex
377c1f2661 N/A 2016-01-08 04:52:49 +01:00
twinaphex
281de92d79 Fix function name clashes pt. 1 2016-01-07 09:22:04 +01:00
twinaphex
186a9fe61b Try to set g_inited to true 2016-01-07 07:18:52 +01:00
twinaphex
e8656333f1 Make it possible to manually set one of the devices with d3d_device_free 2016-01-07 02:22:53 +01:00
twinaphex
5a60055aa9 Make curD3D a static variable 2016-01-07 01:18:51 +01:00
twinaphex
b4b3574665 use void pointer 2016-01-07 01:00:11 +01:00
twinaphex
3b8932b302 Turn returntype of set_resize into bool 2016-01-07 00:58:33 +01:00
twinaphex
28b615e62c (D3D) Buildfixes 2016-01-07 00:45:09 +01:00
twinaphex
3b34d6b6f1 WM_SIZE - we need to call the context driver's d3d_resize function 2016-01-07 00:43:16 +01:00
twinaphex
56a17b21f1 Create d3d_device_free 2016-01-07 00:19:27 +01:00
twinaphex
2199e22e63 Remove d3d_restore_device 2016-01-06 04:26:24 +01:00
twinaphex
b8d41df24f (D3D) Add some logging to d3d_restore_device 2016-01-06 04:17:21 +01:00
twinaphex
aa488dda25 Create video driver poke load_texture / unload_texture 2015-12-20 20:52:23 +01:00