mpv/video/out
Niklas Haas 91f23c7067 vo_gpu: vulkan: initial implementation
This time based on ra/vo_gpu. 2017 is the year of the vulkan desktop!

Current problems / limitations / improvement opportunities:

1. The swapchain/flipping code violates the vulkan spec, by assuming
   that the presentation queue will be bounded (in cases where rendering
   is significantly faster than vsync). But apparently, there's simply
   no better way to do this right now, to the point where even the
   stupid cube.c examples from LunarG etc. do it wrong.
   (cf. https://github.com/KhronosGroup/Vulkan-Docs/issues/370)

2. The memory allocator could be improved. (This is a universal
   constant)

3. Could explore using push descriptors instead of descriptor sets,
   especially since we expect to switch descriptors semi-often for some
   passes (like interpolation). Probably won't make a difference, but
   the synchronization overhead might be a factor. Who knows.

4. Parallelism across frames / async transfer is not well-defined, we
   either need to use a better semaphore / command buffer strategy or a
   resource pooling layer to safely handle cross-frame parallelism.
   (That said, I gave resource pooling a try and was not happy with the
   result at all - so I'm still exploring the semaphore strategy)

5. We aggressively use pipeline barriers where events would offer a much
   more fine-grained synchronization mechanism. As a result of this, we
   might be suffering from GPU bubbles due to too-short dependencies on
   objects. (That said, I'm also exploring the use of semaphores as a an
   ordering tactic which would allow cross-frame time slicing in theory)

Some minor changes to the vo_gpu and infrastructure, but nothing
consequential.

NOTE: For safety, all use of asynchronous commands / multiple command
pools is currently disabled completely. There are some left-over relics
of this in the code (e.g. the distinction between dev_poll and
pool_poll), but that is kept in place mostly because this will be
re-extended in the future (vulkan rev 2).

The queue count is also currently capped to 1, because of the lack of
cross-frame semaphores means we need the implicit synchronization from
the same-queue semantics to guarantee a correct result.
2017-09-26 17:25:35 +02:00
..
cocoa input: merge mouse wheel and axis keycodes 2017-09-03 20:31:44 +10:00
gpu vo_gpu: vulkan: initial implementation 2017-09-26 17:25:35 +02:00
opengl vo_gpu: angle: fix misleading struct name 2017-09-23 18:33:33 +10:00
vulkan vo_gpu: vulkan: initial implementation 2017-09-26 17:25:35 +02:00
wayland
win32
aspect.c aspect: change license to LGPL 2017-06-17 17:08:51 +02:00
aspect.h aspect: change license to LGPL 2017-06-17 17:08:51 +02:00
bitmap_packer.c
bitmap_packer.h
cocoa_common.h osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +02:00
cocoa_common.m Revert "cocoa: re-enable double buffering" 2017-09-22 23:08:46 +10:00
d3d_shader_420p.h
d3d_shader_yuv.hlsl
dither.c
dither.h
drm_common.c vo_drm: nake drm mode help output also output refresh rate 2017-06-18 20:54:44 +02:00
drm_common.h
filter_kernels.c vo_opengl: refactor scaler LUT weight packing/loading 2017-09-04 13:53:14 +02:00
filter_kernels.h vo_opengl: refactor scaler LUT weight packing/loading 2017-09-04 13:53:14 +02:00
vo.c build: make vo_gpu + infrastructure non-optional 2017-09-22 05:35:26 +02:00
vo.h vo: avoid putting large voctrl_performance_data on stack 2017-09-11 18:20:18 +02:00
vo_caca.c input: merge mouse wheel and axis keycodes 2017-09-03 20:31:44 +10:00
vo_direct3d.c vo_direct3d: fix build 2017-08-22 17:32:05 +02:00
vo_drm.c
vo_gpu.c vo_gpu: vulkan: initial implementation 2017-09-26 17:25:35 +02:00
vo_image.c image_writer, vo_image: change license to LGPL 2017-06-18 15:45:24 +02:00
vo_lavc.c
vo_null.c
vo_opengl_cb.c vo_opengl_cb: fix deprecated option usage 2017-09-26 17:24:39 +02:00
vo_rpi.c vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
vo_sdl.c input: merge mouse wheel and axis keycodes 2017-09-03 20:31:44 +10:00
vo_tct.c
vo_vaapi.c video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
vo_vdpau.c video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
vo_wayland.c
vo_x11.c
vo_xv.c video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
w32_common.c input: merge mouse wheel and axis keycodes 2017-09-03 20:31:44 +10:00
w32_common.h w32_common, w32_keyboard: change license to LGPL 2017-06-24 12:54:45 +02:00
wayland_common.c wayland: allow vo_wayland_uninit(NULL) 2017-09-21 15:15:55 +02:00
wayland_common.h
win_state.c win_state: change license to LGPL 2017-06-17 21:10:24 +02:00
win_state.h
x11_common.c input: merge mouse wheel and axis keycodes 2017-09-03 20:31:44 +10:00
x11_common.h Revert "x11: use xdg-screensaver suspend/resume" 2017-08-20 09:11:07 +02:00