diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2021-10-03 13:14:13 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2021-10-16 20:33:53 +0000 |
commit | e3883512b119429004376cefff8a29043dbaff8d (patch) | |
tree | f2cab542f325f7e17bc339a9f8103494fe1264e2 /DOCS | |
parent | e992ebe1287e9183a51cc771e76de5bdf7e0626f (diff) | |
download | mpv-e3883512b119429004376cefff8a29043dbaff8d.tar.bz2 mpv-e3883512b119429004376cefff8a29043dbaff8d.tar.xz |
vo_gpu: opengl: remove --opengl-restrict
As the documentation of the toggle says - the implementation can (and
will actually if they follow the GLX/EGL spec) return context version
greater than the one requested.
This happens with all Mesa drivers that I've tested as well as the
Nvidia binary drivers.
This toggle seems like a workaround for buggy drivers, yet it's lacking
context about the vendor and version.
Remove it for now - I'll be happy to reinstate it (partially or in full)
as we get concrete details.
This allows us to simplify ra_gl_ctx_test_version() making the whole
context creation business easier to follow by mere mortals.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/interface-changes.rst | 2 | ||||
-rw-r--r-- | DOCS/man/options.rst | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index d4b96f80df..8cf94ceaa0 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -46,7 +46,7 @@ Interface changes - add `--input-builtin-bindings` flag to control loading of built-in key bindings during start-up (default: yes). - add ``track-list/N/image`` sub-property - + - remove `--opengl-restrict` option --- mpv 0.33.0 --- - add `--d3d11-exclusive-fs` flag to enable D3D11 exclusive fullscreen mode when the player enters fullscreen. diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index e270f5ca92..08598cdc85 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -6101,13 +6101,6 @@ The following video options are currently all specific to ``--vo=gpu`` and no Only allow desktop/core GL -``--opengl-restrict=<version>`` - Restricts all OpenGL versions above a certain version. Versions are encoded - in hundreds, i.e. OpenGL 4.5 -> 450. As an example, --opengl-restrict=300 - would restrict OpenGL 3.0 and higher, effectively only allowing 2.x - contexts. Note that this only imposes a limit on context creation APIs, the - actual OpenGL context may still have a higher OpenGL version. (Default: 0) - ``--fbo-format=<fmt>`` Selects the internal format of textures used for FBOs. The format can influence performance and quality of the video output. ``fmt`` can be one |