diff options
author | wm4 <wm4@nowhere> | 2012-09-29 18:40:54 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-10-03 03:17:53 +0200 |
commit | 5d60ac11b58308fd7d1d828fa9cfd9acd3ea0a96 (patch) | |
tree | fa0028daa7085148c6cfdd06011c76f4d6cbcb63 /libvo | |
parent | 47d15a5b6bfea3a17cd33605b8f5f2aebf3cc681 (diff) | |
download | mpv-5d60ac11b58308fd7d1d828fa9cfd9acd3ea0a96.tar.bz2 mpv-5d60ac11b58308fd7d1d828fa9cfd9acd3ea0a96.tar.xz |
vo_opengl: use PBOs by default with opengl-hq
It's not really known whether PBO use causes problems of any kind (most
likely not). They should slightly increase performance. Use them by
default with "opengl-hq".
Even though PBOs don't have anything to do with rendering quality,
"opengl-hq" provides a test bed for features that should be enabled by
default, but aren't out of fear for regressions.
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_opengl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_opengl.c b/libvo/vo_opengl.c index 111f5dcd11..842b9c49f5 100644 --- a/libvo/vo_opengl.c +++ b/libvo/vo_opengl.c @@ -2329,7 +2329,7 @@ static int preinit(struct vo *vo, const char *arg) .vo = vo, .colorspace = MP_CSP_DETAILS_DEFAULTS, .use_npot = 1, - .use_pbo = 0, + .use_pbo = hq, .swap_interval = vo_vsync, .osd_color = 0xffffff, .dither_depth = hq ? 0 : -1, |