mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 00:42:57 +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:
parent
47d15a5b6b
commit
5d60ac11b5
@ -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.
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user