[Bug 730864] gl: manage GLSL versions

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jun 11 06:38:10 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=730864
  GStreamer | gst-plugins-bad | git

--- Comment #1 from Matthew Waters <ystreet00 at gmail.com> 2014-06-11 13:38:07 UTC ---
(In reply to comment #0)
> Or just put "#version 120" in top of our current shaders.

This is the correct thing to do.  However we don't ask for a core GL context
with any platform yet.

> For new features, i.e. in case of one of our shader require a minimal version
> to work, we would need to do some probing first to check which version is
> available and enable gl elements + some of their feature according to the
> actual version. (using GstDeviceMonitor ?)

There is a direct correlation between the GL version and the minimum required
GLSL version supported by that context.  There is API at the GstGLContext level
to get/check the GL version supported that elements can use.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list