[443/906] sobel: move some highly duplicated code into glfilter
authorFilippo Argiolas <filippo.argiolas@gmail.com>
Thu, 29 Apr 2010 06:27:29 +0000 (08:27 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:23 +0000 (19:31 +0000)
commit306526a19f7da05a7f614efaaaf5dc3da259f813
tree351897bc697499c5b959ea60d2c6acdf627025bb
parentc390c30aac81289ce224b8e6485693c29c257cfb
[443/906] sobel: move some highly duplicated code into glfilter

Add a new convenience function in GstGLFilter that just draws an input
texture to a target texture using a simple shader with just a "tex"
uniform sampler.
Move draw_texture from glfiltersobel to glfilter. Still need to update
other plugins to this.
gst-libs/gst/gl/gstglfilter.c
gst-libs/gst/gl/gstglfilter.h