1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 08:12:17 +00:00

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.
This commit is contained in:
wm4 2012-09-29 18:40:54 +02:00
parent 47d15a5b6b
commit 5d60ac11b5
2 changed files with 2 additions and 2 deletions

View File

@ -446,7 +446,7 @@ opengl-hq
This is equivalent to:
| --vo=opengl:lscale=lanczos2:fancy-downscaling:dither-depth=0
| --vo=opengl:lscale=lanczos2:fancy-downscaling:dither-depth=0:pbo
Note that some cheaper LCDs do dithering that gravely interferes with
vo_opengl's dithering. Disabling dithering with ``dither-depth=-1`` helps.

View File

@ -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,