From 42a0f4d87b601e1a3c797c31043d3ca777881974 Mon Sep 17 00:00:00 2001 From: Bin Jin Date: Wed, 2 Dec 2015 00:28:26 +0000 Subject: vo_opengl: enable NNEDI3 prescaler on OpenGL ES 3.0 It turns out that both UBO and intBitsToFloat() are supported in OpenGL ES 3.0[1][2], enable them so that NNEDI3 prescaler can be used in a wider range of backends. Also fixes some implicit int-to-float conversions so that the shader actually compiles on GLES. Tested on Linux desktop (nvidia 358.16) with "es" sub-option. [1]: https://www.khronos.org/opengles/sdk/docs/man3/html/glGetUniformBlockIndex.xhtml [2]: https://www.khronos.org/opengles/sdk/docs/manglsl/docbook4/xhtml/intBitsToFloat.xml --- DOCS/man/vo.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'DOCS') diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst index 0707f36224..c8f484aa72 100644 --- a/DOCS/man/vo.rst +++ b/DOCS/man/vo.rst @@ -618,11 +618,11 @@ Available video output drivers are: ``ubo`` Upload these weights via uniform buffer objects. This is the - default. (requires OpenGL 3.1) + default. (requires OpenGL 3.1 / GLES 3.0) ``shader`` Hard code all the weights into the shader source code. (requires - OpenGL 3.3) + OpenGL 3.3 / GLES 3.0) ``pre-shaders=``, ``post-shaders=``, ``scale-shader=`` -- cgit v1.2.3