[Bug 751540] gltestsrc: implement missing patterns, port to GL3 / ES3, load shaders with GIO

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jul 7 05:51:30 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=751540

Matthew Waters <ystreet00 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ystreet00 at gmail.com

--- Comment #9 from Matthew Waters <ystreet00 at gmail.com> ---
Right, so the shaders should be backported to GL2/GLES2 and then they will work
everywhere (even GL3).

(In reply to Lubosz Sarnecki from comment #7)
> I wonder how the folder stucture for the shaders should look like in that
> case.
> GL2 / GLES2 and GL3 /GLES3 shaders look pretty similar, except for the
> version header.

If you can use GLES2 shaders, then they can be used for GLES3/GL3 as well as is
done everywhere else.

> Also there is currently no separation between GLES2 and GLES3 in the
> framework.

There doesn't need to be.  GLES3 is a superset of GLES2.  As such a simple
version check is enough.  In fact, GLES3 is returned by many implementation by
default when you ask for a GLES2 context anyway.

-- 
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