gstreamer/gst-libs/gst/gl
Julien Isorce 4952fdd956 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-12-09 19:32:29 +00:00
..
android gl: fix build 2017-12-09 19:32:29 +00:00
cocoa glwindow_cocoa: fix video overlay support 2017-12-09 19:32:29 +00:00
dispmanx gl: fix build 2017-12-09 19:32:29 +00:00
eagl gl: fix build 2017-12-09 19:32:29 +00:00
egl gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
glprototypes glmemory: Use glBlitFramebuffer() instead of glCopyTexImage2D() if available 2017-12-09 19:32:26 +00:00
utils gl: Fix compiler warning about unused const variable with gcc 6 2017-12-09 19:32:17 +00:00
viv-fb gl: fix build 2017-12-09 19:32:29 +00:00
wayland gl: make some debug categories private 2017-12-09 19:32:29 +00:00
win32 gl: fix build 2017-12-09 19:32:29 +00:00
x11 gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
.gitignore [644/906] update .gitignore for some new files 2017-12-09 19:31:27 +00:00
gl.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstgl_enums.h gl*memory: document new functionality and objects 2017-12-09 19:32:17 +00:00
gstgl_fwd.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglapi.c gl/docs: some documentation updates 2017-12-09 19:32:29 +00:00
gstglapi.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglbasefilter.c gl/utils: also take care of the local GL context in query functions 2017-12-09 19:32:26 +00:00
gstglbasefilter.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglbasememory.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglbasememory.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglbuffer.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglbuffer.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglbufferpool.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglbufferpool.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglcolorconvert.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglcolorconvert.h gl/docs: massive update 2017-12-09 19:32:23 +00:00
gstglconfig.h.meson build/gl/meson: check for GLES3/gl3ext.h existence 2017-12-09 19:32:27 +00:00
gstglcontext.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglcontext.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglcontext_private.h gl: add missing new header files 2017-12-09 19:32:29 +00:00
gstgldebug.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstgldebug.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstgldisplay.c gl/viv-fb: Fix user-choice string comparisons 2017-12-09 19:32:28 +00:00
gstgldisplay.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglfeature.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglfeature.h glfeature: move internal functions into a private header 2017-12-09 19:32:23 +00:00
gstglfeature_private.h glfeature: move internal functions into a private header 2017-12-09 19:32:23 +00:00
gstglfilter.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglfilter.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglformat.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglformat.h gl/docs: document GstGLFormat enum 2017-12-09 19:32:29 +00:00
gstglframebuffer.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglframebuffer.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglfuncs.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglmemory.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglmemory.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglmemorypbo.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglmemorypbo.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstgloverlaycompositor.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstgloverlaycompositor.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglpixelformat.c glfilter: rewrite subclasses for filter_texture() occuring on GL thread 2017-12-09 19:32:21 +00:00
gstglquery.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglquery.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglrenderbuffer.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglrenderbuffer.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglshader.c gl: document missing GstGLShader functions 2017-12-09 19:32:29 +00:00
gstglshader.h gl: Fixup for last commit 2017-12-09 19:32:27 +00:00
gstglshaderstrings.c gl: take the affine transformation in NDC 2017-12-09 19:32:19 +00:00
gstglshaderstrings.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglsl.c gl/docs: some documentation updates 2017-12-09 19:32:29 +00:00
gstglsl.h gl/docs: some documentation updates 2017-12-09 19:32:29 +00:00
gstglsl_private.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglslstage.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglslstage.h gl/docs: massive update 2017-12-09 19:32:23 +00:00
gstglsyncmeta.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglsyncmeta.h gl/docs: massive update 2017-12-09 19:32:23 +00:00
gstglupload.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglupload.h gl/docs: some documentation updates 2017-12-09 19:32:29 +00:00
gstglutils.c glutils: Fix GValue leak in gst_gl_value_set_texture_target_from_mask() 2017-12-09 19:32:28 +00:00
gstglutils.h glutils: privatise matrix multiplication/videoaffinetransformation retrieval 2017-12-09 19:32:26 +00:00
gstglutils_private.h glutils: Mark private functions as G_GNUC_INTERNAL 2017-12-09 19:32:26 +00:00
gstglviewconvert.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglviewconvert.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglwindow.c gl: make some debug categories private 2017-12-09 19:32:29 +00:00
gstglwindow.h gl: make some debug categories private 2017-12-09 19:32:29 +00:00
gstglwindow_private.h gl: add missing new header files 2017-12-09 19:32:29 +00:00
Makefile.am gl: make some debug categories private 2017-12-09 19:32:29 +00:00
meson.build meson: specify fallback for libgmodule_dep 2017-12-09 19:32:29 +00:00