gstreamer/ext/gtk
Julien Isorce 2fd84a6c86 gl: do not include GL headers in public gstgl headers
Except for gst/gl/gstglfuncs.h

It is up to the client app to include these headers.
It is coherent with the fact that gstreamer-gl.pc does not
require any egl.pc/gles.pc. I.e. it is the responsability
of the app to search these headers within its build setup.

For example gstreamer-vaapi includes explicitly EGL/egl.h
and search for it in its configure.ac.

For example with this patch, if an app includes the headers
  gst/gl/egl/gstglcontext_egl.h
  gst/gl/egl/gstgldisplay_egl.h
  gst/gl/egl/gstglmemoryegl.h
it will *no longer* automatically include EGL/egl.h and GLES2/gl2.h.
Which is good because the app might want to use the gstgl api only
without the need to bother about gl headers.

Also added a test: cd tests/check && make libs/gstglheaders.check

https://bugzilla.gnome.org/show_bug.cgi?id=784779
2017-08-22 10:00:19 +01:00
..
gstgtkbasesink.c docs: Port all docstring to gtk-doc markdown 2017-04-12 12:57:57 -03:00
gstgtkbasesink.h gtk(gl)sink: remove the signal handlers on finalize 2016-02-16 20:09:08 +11:00
gstgtkglsink.c gl: do not include GL headers in public gstgl headers 2017-08-22 10:00:19 +01:00
gstgtkglsink.h gtkglsink: Add overlay composition support 2015-08-15 15:55:08 +02:00
gstgtksink.c docs: Port all docstring to gtk-doc markdown 2017-04-12 12:57:57 -03:00
gstgtksink.h gtksink: Port to GstGtkBaseSink 2015-07-17 15:14:09 -04:00
gstgtkutils.c gtk: Factor out a function to run a function on main thread 2015-09-24 12:03:01 +02:00
gstgtkutils.h gtk: Factor out a function to run a function on main thread 2015-09-24 12:03:01 +02:00
gstplugin.c Rename plugin filesnames to match plugin names 2017-03-08 20:04:23 -05:00
gtkgstbasewidget.c gtk: Fix logging in base widget and fix desc of GL sink 2016-03-27 12:04:16 +03:00
gtkgstbasewidget.h gtkglsink: Fix unsafe handling of buffer life time 2015-08-15 15:55:08 +02:00
gtkgstglwidget.c gl: do not include GL headers in public gstgl headers 2017-08-22 10:00:19 +01:00
gtkgstglwidget.h gtkglsink: Port to GtkGstBaseWidget 2015-07-17 15:13:11 -04:00
gtkgstwidget.c docs: Port all docstring to gtk-doc markdown 2017-04-12 12:57:57 -03:00
gtkgstwidget.h gtksink: Port to GtkGstBaseWidget 2015-07-16 17:12:30 -04:00
Makefile.am gl: do not include GL headers in public gstgl headers 2017-08-22 10:00:19 +01:00
meson.build meson: add build files for the gtk plugin 2016-09-09 16:36:03 +10:00