From 7c1db05cbb386522017942a173cc9552637a660e Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Fri, 7 Jul 2017 14:46:46 +0200 Subject: vo_opengl: rework --opengl-dumb-mode It's now possible to request non-dumb mode as a user, even when not using any non-dumb features. This change is mostly intended for testing, so I can easily switch between dumb and non-dumb mode on default settings. The default behavior is unaffected. --- DOCS/interface-changes.rst | 2 ++ DOCS/man/options.rst | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'DOCS') diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 1b4cfdf4c1..a09329f264 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -54,6 +54,8 @@ Interface changes vf/af commands too) - remove --demuxer-lavf-cryptokey. Use --demux-lavf-o=cryptokey= or --demux-lavf-o=decryption_key= instead (whatever fits your situation). + - rename --opengl-dumb-mode=no to --opengl-dumb-mode=auto, and make `no` + always disable it (unless forced on by hardware limitation). --- mpv 0.25.0 --- - remove opengl-cb dxva2 dummy hwdec interop (see git "vo_opengl: remove dxva2 dummy hwdec backend") diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 8baf9708db..bb0e9107fd 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -4845,17 +4845,17 @@ The following video options are currently all specific to ``--vo=opengl`` and flipping GL front and backbuffers immediately (i.e. it doesn't call it in display-sync mode). -``--opengl-dumb-mode=`` +``--opengl-dumb-mode=`` This mode is extremely restricted, and will disable most extended OpenGL - features. This includes high quality scalers and custom shaders! + features. That includes high quality scalers and custom shaders! It is intended for hardware that does not support FBOs (including GLES, which supports it insufficiently), or to get some more performance out of bad or old hardware. This mode is forced automatically if needed, and this option is mostly - useful for debugging. It's also enabled automatically if nothing uses - features which require FBOs. + useful for debugging. The default of ``auto`` will enable it automatically + if nothing uses features which require FBOs. This option might be silently removed in the future. -- cgit v1.2.3