glshader: add glBindFragDataLocation
authorMatthew Waters <matthew@centricular.com>
Thu, 31 Mar 2016 08:25:32 +0000 (19:25 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:18 +0000 (19:32 +0000)
commitccbf43987ff300e1fe193d23ccdc351555680e62
treef50b48d07d2559f765f6679c39cf98f6d0f1b9c7
parente92bbb2a833e599c665d8bb8500226c0b574a769
glshader: add glBindFragDataLocation

There are some cases where it's needed for binding in/out variables in shaders.
e.g. glsl 150 (gl 3.2) doesn't support the 'layout (location = ?)' specifiers in
the shader source so we have to bind them ourselves.
gst-libs/gst/gl/glprototypes/shaders.h
gst-libs/gst/gl/gstglshader.c
gst-libs/gst/gl/gstglshader.h