gstreamer/gst-libs/gst/gl/egl
Norbert Wesp 574607702b Add GBM_CFLAGS and define EGL_PLATFORM_GBM_MESA
Building an image with yocto for an 'am335x' processor will fail,
because 'gbm.h' can not be found and 'EGL_PLATFORM_GBM_MESA' is not defined.

So simply adding define of 'EGL_PLATFORM_GBM_MESA' in 'gstgldisplay_egl.c'
and adding 'GBM_CFLAGS' in 'gst-gl.m4' to get rid of this errors and complete
a full build process.

ERRORs were:
-----------
gst-plugins-base-1.14.1/gst-libs/gst/gl/gbm/gstglwindow_gbm_egl.h:24:10:
fatal error: gbm.h: No such file or directory
  #include <gbm.h>
           ^~~~~~~

gst-plugins-base-1.14.1/gst-libs/gst/gl/egl/gstgldisplay_egl.c:157:39:
error: 'EGL_PLATFORM_GBM_MESA' undeclared (first use in this function);
did you mean 'EGL_PLATFORM_WAYLAND'?
  ret = _gst_eglGetPlatformDisplay (EGL_PLATFORM_GBM_MESA, (gpointer) display,
                                    ^~~~~~~~~~~~~~~~~~~~~

https://bugzilla.gnome.org/show_bug.cgi?id=796885
2018-08-02 12:17:56 +10:00
..
gstegl.c gl/docs: add symbols from -unused.txt 2017-12-09 19:32:26 +00:00
gstegl.h gl: GST_EXPORT -> GST_GL_API 2018-03-13 12:10:29 +00:00
gsteglimage.c gl/build: fixed failed compilation due to missing EGLuint64KHR typedef 2018-07-18 14:02:01 +10:00
gsteglimage.h libs: Documentation cleanup 2018-04-02 08:53:28 +02:00
gstglcontext_egl.c glcontextegl: only dump configs once 2018-06-22 22:43:08 +10:00
gstglcontext_egl.h gl: remove more deprecated type aliases 2018-02-08 21:14:56 +11:00
gstgldisplay_egl.c Add GBM_CFLAGS and define EGL_PLATFORM_GBM_MESA 2018-08-02 12:17:56 +10:00
gstgldisplay_egl.h gl: GST_EXPORT -> GST_GL_API 2018-03-13 12:10:29 +00:00
gstglmemoryegl.c libs: Documentation cleanup 2018-04-02 08:53:28 +02:00
gstglmemoryegl.h libs: Documentation cleanup 2018-04-02 08:53:28 +02:00
Makefile.am gl/egl: move get_error_string() into gstegl 2017-12-09 19:32:24 +00:00