summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-02 13:16:34 +0200
committerwm4 <wm4@nowhere>2015-09-02 13:17:23 +0200
commit418af6f0cb3a4716fcbf1edcabb771582283d350 (patch)
treefe818673757b5402d2b72502aa334952ffa6457d
parent79beb60c54be6944e766cdb91da4b7688ef0f61f (diff)
downloadmpv-418af6f0cb3a4716fcbf1edcabb771582283d350.tar.bz2
mpv-418af6f0cb3a4716fcbf1edcabb771582283d350.tar.xz
vo_opengl: enable pbo by default with opengl-hq
Can significantly help with very large video resolutions on nvidia drivers. It doesn't seem to have negative effects on Intel drivers either. (Although it could have on Intel drivers for older hardware.) For now, this is only for --vo=opengl-hq. Maybe --vo=opengl should use it too, but it's still meant to be the crappy, fail-safe default.
-rw-r--r--DOCS/man/vo.rst2
-rw-r--r--video/out/gl_video.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst
index 1865d848bb..ef4a677c62 100644
--- a/DOCS/man/vo.rst
+++ b/DOCS/man/vo.rst
@@ -821,7 +821,7 @@ Available video output drivers are:
This is equivalent to::
- --vo=opengl:scale=spline36:cscale=spline36:dscale=mitchell:dither-depth=auto:fancy-downscaling:sigmoid-upscaling
+ --vo=opengl:scale=spline36:cscale=spline36:dscale=mitchell:dither-depth=auto:fancy-downscaling:sigmoid-upscaling:pbo
Note that some cheaper LCDs do dithering that gravely interferes with
``opengl``'s dithering. Disabling dithering with ``dither-depth=no`` helps.
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index ec6b966374..15bedbd9c5 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -365,6 +365,7 @@ const struct gl_video_opts gl_video_opts_hq_def = {
.background = {0, 0, 0, 255},
.gamma = 1.0f,
.blend_subs = 0,
+ .pbo = 1,
};
static int validate_scaler_opt(struct mp_log *log, const m_option_t *opt,