glshader element location property removed
Matthew Waters
ystreet00 at gmail.com
Mon Dec 14 18:45:08 PST 2015
Hi,
The location property was removed in favour of explicit fragment and
vertex properties which take the shader strings directly. You can
emulate the location property by reading the file in whatever language
you desire and setting its contents to the fragment property.
For gst-launch, you'll have to read the file in shell script and set the
fragment property to its contents. Note that gst-launch is only a
debugging tool.
Cheers
-Matt
On 15/12/15 05:53, pneves wrote:
> Hey,
>
> In the latest tagged release the location property in glshader which allows
> for a shader file to be loaded was removed with no mention on the commit log
> as far as I found. Is there any reasoning for this?
>
> How can I have the same functionality from gst-launch?
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/glshader-element-location-property-removed-tp4674911.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151215/98047fbb/attachment.sig>
More information about the gstreamer-devel
mailing list