[Bug 751068] gl: Use pkg-config if found to configure GL/EGL/GLES (as provided by mesa and libmali)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 15 16:30:29 PST 2015


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

--- Comment #10 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
I found some more difficulties (specially for builds with -Wall -Werror
enabled). I also found a case where we'd be using the wrong headers. Those two
patches hopefully fixes it.

commit 516047f66f3acc5dd3b975c5d0abcee0d98c9316
Author: Nicolas Dufresne <nicolas.dufresne at collabora.com>
Date:   Tue Dec 15 19:28:05 2015 -0500

    qtsink: Add configured GL cflags to the build

    We don't directly link to GL in the element, though we use GL headers.
    For this reason we need to include the proper GL headers path. This
    prevent this element from using a different GL header then libgstgl.

commit 4c19b415bd75accbb13cb4a4149e6858f6f37f9c
Author: Nicolas Dufresne <nicolas.dufresne at collabora.com>
Date:   Tue Dec 15 19:25:16 2015 -0500

    gl: Allow using non-system mesa with both GL and GLES

    GCC automatically disable redundance warnings for system headers. As
    soon as we start using a non-system installed mesa, we would start
    having issues. The test for both wasn't setting any flags, so it would
    work but then fail at runtime.

    This is being fixed by disabling in the code (where needed only) that
    GCC warning. The test is also fixed to avoid the false positive we had.

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