131 Commits

Author SHA1 Message Date
twinaphex
0c5a87b1d7 Create scaler_ctx_scale_direct 2017-04-16 11:03:29 +02:00
twinaphex
257410d058 Turn matrix_4x4_multiply into macro 2017-04-16 07:55:02 +02:00
twinaphex
32cebbbcba Turn more matrix_4x4 functions into macros 2017-04-16 04:00:20 +02:00
twinaphex
fbd6d0ebc6 Turn more matrix 4x4 functions into macros 2017-04-16 03:53:07 +02:00
twinaphex
1b27c3dec1 Make some log messages more consistent 2017-03-24 00:28:21 +01:00
hunterk
a1124b8ded (Vulkan) add bokeh menu shader for vulkan 2017-02-20 22:59:05 -06:00
twinaphex
0d873b6da1 (Vulkan) Add fancy snow for Vulkan 2017-02-20 21:51:58 +01:00
Hans-Kristian Arntzen
2d88530c98 Vulkan: Simple snow pipeline works.
Some other fixes too.
2017-02-20 20:53:59 +01:00
twinaphex
374fd57270 Remove the few performance counters that depend on runloop_ctl 2017-01-25 18:15:58 +01:00
twinaphex
a9164b7124 Try to use performance counter plus functions in most cases 2017-01-25 17:12:43 +01:00
twinaphex
6661c0fb94 Rewrite performance counter stop/start/init into macros 2017-01-25 16:53:06 +01:00
twinaphex
a104c73738 Go back to this 2017-01-22 23:19:35 +01:00
twinaphex
8698525f86 Only show the frame when libretro_running is true 2017-01-22 21:42:42 +01:00
twinaphex
2f504b4057 (gfx/drivers) Get rid of remaining runloop.h / runloop_ctl
references inside gfx/drivers
2017-01-22 18:17:48 +01:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
57f8c637bf Cut down on runloop_ctl calls inside gfx/drivers 2017-01-22 12:38:20 +01:00
twinaphex
fe84312340 Add some header includes 2017-01-19 17:20:42 +01:00
twinaphex
e0ff0541a2 Pass video_info pointer to font drivers 2017-01-19 16:30:40 +01:00
twinaphex
9d1de5c974 Rewrite video_context_driver_set_resize 2017-01-19 14:31:57 +01:00
twinaphex
c5445d2980 Reduce amount of times video_driver_get_size is called 2017-01-18 23:02:24 +01:00
twinaphex
bf511b72e6 Create menu_driver_frame 2017-01-18 21:23:18 +01:00
twinaphex
a6a4808e94 Refactor frame monitor code 2017-01-18 17:41:27 +01:00
twinaphex
76ae7ac4a0 Cleanup some of the video drivers - add some members to
video_info_t to reduce the need for accessing the settings
struct
2017-01-10 18:16:22 +01:00
twinaphex
6b3cc9068d Pass video_info to swap_buffers too 2017-01-09 14:59:15 +01:00
twinaphex
3d92ce140e Pass video_frame_info_t to update_window_title 2017-01-09 14:42:07 +01:00
twinaphex
be2f921ee2 Don't use settings pointer inside video_frame function 2017-01-09 14:25:59 +01:00
twinaphex
6a45541f24 (Vulkan) Rename pipeline files 2016-12-12 13:17:20 +01:00
barbudreadmon
ad273d6299 Fix for issue #4165
vulkan video driver don't rotate the same way as gl video driver without this.
2016-12-11 10:53:02 +01:00
Hans-Kristian Arntzen
eb7870db5a Vulkan: Check for more cases in vulkan_load_texture().
*Sigh*
2016-12-03 18:54:34 +01:00
Hans-Kristian Arntzen
b96f1fa067 Vulkan: Load a dummy texture if needed. 2016-12-03 17:48:48 +01:00
Lioncash
d34202aea6 vulkan: Move vk_t pointer dereferences after the null check 2016-11-25 23:21:31 -05:00
Hans-Kristian Arntzen
0d718a9365 Vulkan: Workaround warning from validation layers. 2016-11-06 16:07:44 +01:00
twinaphex
456c4c4d58 Remove video_driver_cached_frame_render wrapper function 2016-10-25 00:42:26 +02:00
twinaphex
275814e291 Replace font_driver_free(NULL) calls with font_driver_free_osd()
inside video drivers
2016-10-20 00:39:33 +02:00
Higor Eurípedes
6f2cb9742d (font) Create font_data_t and update font_driver_init_first() 2016-10-18 20:07:00 -03:00
twinaphex
202e3e796e Get rid of more general.h includes 2016-09-11 14:46:53 +02:00
twinaphex
acd4dd527b Header include cleanups 2016-09-05 18:31:32 +02:00
twinaphex
064f74825a CXX_BUILD buildfix 2016-09-01 18:26:01 +02:00
twinaphex
467451fccc Cleanup more header includes 2016-09-01 18:18:55 +02:00
Hans-Kristian Arntzen
96818a297c Vulkan: Fix validation errors with OriginalHistory.
For some reason, OriginalHistory blit happened inside a render pass.
Also add more TRANSFER_SRC_BIT caps to images as they might have to be
copied to history.
2016-08-07 01:09:15 +02:00
Hans-Kristian Arntzen
4e8e79eabd Vulkan: Add mipmapping support. 2016-07-31 13:47:10 +02:00
Hans-Kristian Arntzen
d39a3619d6 Begin implementation of LUTs in Vulkan. 2016-07-31 12:26:14 +02:00
Hans-Kristian Arntzen
f54b0c0ff0 Vulkan: Implement swap_interval > 1.
We have to fake it by duping since Vulkan has no native support for
this.
2016-07-24 00:34:48 +02:00
Hans-Kristian Arntzen
8c1b935969 Vulkan: Implement BFI. 2016-07-24 00:07:32 +02:00
Hans-Kristian Arntzen
8569028189 Vulkan: Use manual memory management for cached/incoherent devices. 2016-07-15 16:12:30 +00:00
Hans-Kristian Arntzen
4729ec9e1b Add support for signalling semaphores from frontend.
Useful for conserving framebuffer memory.
2016-06-27 20:54:53 +02:00
Hans-Kristian Arntzen
54c1759f45 Vulkan: Make a more general purpose symbol loader.
Avoids painful manual loading and wrapping function pointers everywhere
...

Reusable for cores, so move to libretro-common.
Also update built-in Vulkan headers.
2016-06-26 13:10:58 +02:00
Hans-Kristian Arntzen
b013a9c863 Vulkan: Replace prebaked shaders with glslc -mfmt=c.
Far more clean and avoids illegal punning.
2016-06-25 14:55:03 +02:00
Hans-Kristian Arntzen
972a5db7ae Vulkan: Fix shader module leak. 2016-06-25 14:06:14 +02:00
Hans-Kristian Arntzen
07880e3f45 Vulkan: Begin hooking up validation layers.
Found lots of regressions due to bad reformatting.
2016-06-25 13:52:33 +02:00