summaryrefslogtreecommitdiffstats
path: root/video/out/vo_gpu.c
diff options
context:
space:
mode:
authorAnton Kindestam <antonki@kth.se>2019-09-28 10:26:23 +0200
committerJan Ekström <jeebjp@gmail.com>2019-09-28 14:10:01 +0300
commit62904203804afb614f4809495f1a1bb6e4006aaa (patch)
treeffeaceaebb78c664c9d183333836594b245ba1e1 /video/out/vo_gpu.c
parent9538fb5a7af951e220f26c87c80aaaa2a5cfbc67 (diff)
downloadmpv-62904203804afb614f4809495f1a1bb6e4006aaa.tar.bz2
mpv-62904203804afb614f4809495f1a1bb6e4006aaa.tar.xz
vo: make swapchain-depth option generic for all VOs
In preparation for making vo_drm able to use swapchain-depth
Diffstat (limited to 'video/out/vo_gpu.c')
-rw-r--r--video/out/vo_gpu.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/video/out/vo_gpu.c b/video/out/vo_gpu.c
index 0162e420e8..3229594d9f 100644
--- a/video/out/vo_gpu.c
+++ b/video/out/vo_gpu.c
@@ -315,14 +315,9 @@ static const m_option_t options[] = {
OPT_STRING_VALIDATE("gpu-api", context_type, 0, ra_ctx_validate_api),
OPT_FLAG("gpu-debug", opts.debug, 0),
OPT_FLAG("gpu-sw", opts.allow_sw, 0),
- OPT_INTRANGE("swapchain-depth", opts.swapchain_depth, 0, 1, 8),
{0}
};
-static const struct gpu_priv defaults = { .opts = {
- .swapchain_depth = 3,
-}};
-
const struct vo_driver video_out_gpu = {
.description = "Shader-based GPU Renderer",
.name = "gpu",
@@ -339,6 +334,5 @@ const struct vo_driver video_out_gpu = {
.wakeup = wakeup,
.uninit = uninit,
.priv_size = sizeof(struct gpu_priv),
- .priv_defaults = &defaults,
.options = options,
};