summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/d3d11_helpers.h
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossy@jrg.systems>2018-02-12 21:08:17 +1100
committerJames Ross-Gowan <rossy@jrg.systems>2018-02-13 21:25:15 +1100
commit1b80e124dbec1c4bb80b8ce4aaeb84ff841f9b6d (patch)
tree15afbd5e96cd783ee51bc55607d1c17da4fe76fc /video/out/gpu/d3d11_helpers.h
parent7d2228c6738b8793bc616c9436cdc7a1cf149a79 (diff)
downloadmpv-1b80e124dbec1c4bb80b8ce4aaeb84ff841f9b6d.tar.bz2
mpv-1b80e124dbec1c4bb80b8ce4aaeb84ff841f9b6d.tar.xz
vo_gpu: d3d11: implement tex_download()
This allows the new GPU screenshot functionality introduced in 9f595f3a80ee to work with the D3D11 backend. It replaces the old window screenshot functionality, which was shared between D3D11 and ANGLE. The old code can be removed, since it's not needed by ANGLE anymore either.
Diffstat (limited to 'video/out/gpu/d3d11_helpers.h')
-rw-r--r--video/out/gpu/d3d11_helpers.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/video/out/gpu/d3d11_helpers.h b/video/out/gpu/d3d11_helpers.h
index 481c183b4d..996b93494f 100644
--- a/video/out/gpu/d3d11_helpers.h
+++ b/video/out/gpu/d3d11_helpers.h
@@ -78,6 +78,4 @@ bool mp_d3d11_create_swapchain(ID3D11Device *dev, struct mp_log *log,
struct d3d11_swapchain_opts *opts,
IDXGISwapChain **swapchain_out);
-struct mp_image *mp_d3d11_screenshot(IDXGISwapChain *swapchain);
-
#endif