From a0b43a11e4e0edd6077c926f012c5f5c31a04e45 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 3 Oct 2012 01:54:13 +0200 Subject: vo_gl3: make it work on OpenGL 2.1 Now vo_gl3 should work with standard OpenGL 2.1, as long as the GL_ARB_texture_rg extension is available. Optional features, which require features that are always in OpenGL 3.0, but are available as extensions only in OpenGL 2.1, are automatically disabled. The force-gl2 suboption, which was an unreliable hack to run vo_gl3 in an OpenGL 2.1 context, is removed. Significant changes are done to the extension loader to make it easier to identify optional OpenGL features. Context creation is a bit changed to simplify the code and to handle the fallback better if OpenGL 3 context creation fails, and creating an OpenGL legacy context is attempted. Based on the initial work by Rudolf Polzer , which included making the shader GLSL 1.20 compatible, and more. --- DOCS/man/en/vo.rst | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'DOCS') diff --git a/DOCS/man/en/vo.rst b/DOCS/man/en/vo.rst index 0ba7fe8b9f..34b547c4bc 100644 --- a/DOCS/man/en/vo.rst +++ b/DOCS/man/en/vo.rst @@ -413,6 +413,9 @@ gl enabled). This option is for testing; to disable the OSD use ``--osdlevel=0`` instead. + sw + Continue even if a software renderer is detected. + backend= auto auto-select (default) @@ -424,9 +427,7 @@ gl X11/GLX gl3 - OpenGL video output driver, extended version. The requires an OpenGL 3 - capable graphics driver. (Note: this is only because of developer pedantry. - The dependency on actual OpenGL 3 features is rather low.) + OpenGL video output driver, extended version. It supports extended scaling methods, dithering and color management. It tries to use sane defaults for good quality output. @@ -434,6 +435,8 @@ gl3 Note that some cheaper LCDs do dithering that gravely interferes with vo_gl3's dithering. Disabling dithering with ``dither-depth=-1`` helps. + Some features are available with OpenGL 3 capable graphics drivers only. + lscale= Set the scaling filter. Possible choices: bilinear @@ -579,6 +582,9 @@ gl3 glfinish Call glFinish() before swapping buffers + sw + Continue even if a software renderer is detected. + backend= auto auto-select (default) @@ -600,16 +606,12 @@ gl3 fbo-format= Selects the internal format of any FBO textures used. - fmt can be one of: rgb, rgba, rgb8, rgb16, rgb16f, rgb32f + fmt can be one of: rgb, rgba, rgb8, rgb10, rgb16, rgb16f, rgb32f Default: rgb16. gamma Always enable gamma control. (Disables delayed enabling.) - force-gl2 - Create a legacy GL context. This will randomly malfunction - if the proper extensions are not supported. - icc-profile= Load an ICC profile and use it to transform linear RGB to screen output. Needs LittleCMS2 support compiled in. -- cgit v1.2.3