diff options
author | Bin Jin <bjin1990@gmail.com> | 2015-12-02 00:28:26 +0000 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-12-02 12:32:02 +0100 |
commit | 42a0f4d87b601e1a3c797c31043d3ca777881974 (patch) | |
tree | 8396475463a5f3dfbcf8a417544bcd43e14a7ec0 /video/out/opengl/utils.h | |
parent | 69cc002c9294a2982dc3753a9602c10d34c1020b (diff) | |
download | mpv-42a0f4d87b601e1a3c797c31043d3ca777881974.tar.bz2 mpv-42a0f4d87b601e1a3c797c31043d3ca777881974.tar.xz |
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
Diffstat (limited to 'video/out/opengl/utils.h')
0 files changed, 0 insertions, 0 deletions