From f17246fec15963e7cc098cf7ba7263ad02877b99 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 13 Feb 2018 18:07:20 +0100 Subject: vo_gpu: remove old window screenshot glue code and GL implementation There is now a better way. Reading the font framebuffer was always a hack. The new code via VOCTRL_SCREENSHOT renders it into a FBO, which does not come with the disadvantages of reading the front buffer (like not being supported by GLES, possibly black regions due to overlapping windows on some systems). For now keep VOCTRL_SCREENSHOT_WIN on the VO level, because there are still some lesser VOs and backends that use it. --- video/out/vulkan/context.c | 1 - 1 file changed, 1 deletion(-) (limited to 'video/out/vulkan/context.c') diff --git a/video/out/vulkan/context.c b/video/out/vulkan/context.c index 21ad5c30c7..cbe0911385 100644 --- a/video/out/vulkan/context.c +++ b/video/out/vulkan/context.c @@ -565,7 +565,6 @@ static void swap_buffers(struct ra_swapchain *sw) } static const struct ra_swapchain_fns vulkan_swapchain = { - // .screenshot is not currently supported .color_depth = color_depth, .start_frame = start_frame, .submit_frame = submit_frame, -- cgit v1.2.3