--- /dev/null
+# GStreamer OpenGL Library - EGL
+
+This library should be linked to by getting cflags and libs from
+`gstreamer-gl-egl-{{ gst_api_version.md }}.pc`.
--- /dev/null
+# GStreamer OpenGL Library - Wayland
+
+This library should be linked to by getting cflags and libs from
+`gstreamer-gl-wayland-{{ gst_api_version.md }}.pc`.
--- /dev/null
+# GStreamer OpenGL Library - X11
+
+This library should be linked to by getting cflags and libs from
+`gstreamer-gl-x11-{{ gst_api_version.md }}.pc`.
]
if build_gstgl
- libs += [['gl', gl_gir, gstgl_dep, [
+ libs += [['gl', gl_gir, gstgl_dep]]
+ if enabled_gl_platforms.contains('egl')
+ libs += [['gl-egl', gl_egl_gir, gstgl_dep, [
join_paths('../gst-libs/gst', 'gl', 'egl', 'gstegl.[ch]'),
join_paths('../gst-libs/gst', 'gl', 'egl', 'gsteglimage.[ch]'),
join_paths('../gst-libs/gst', 'gl', 'egl', 'gstgldisplay_egl.[ch]'),
join_paths('../gst-libs/gst', 'gl', 'egl', 'gstgldisplay_egl_device.[ch]'),
join_paths('../gst-libs/gst', 'gl', 'egl', 'gstglmemoryegl.[ch]'),
+ ]]]
+ endif
+ if enabled_gl_winsys.contains('x11')
+ libs += [['gl-x11', gl_x11_gir, gstgl_dep, [
join_paths('../gst-libs/gst', 'gl', 'x11', 'gstgldisplay_x11.[ch]'),
+ ]]]
+ endif
+ if enabled_gl_winsys.contains('wayland')
+ libs += [['gl-wayland', gl_wayland_gir, gstgl_dep, [
join_paths('../gst-libs/gst', 'gl', 'wayland', 'gstgldisplay_wayland.[ch]'),
- ]]]
+ ]]]
+ endif
endif
# Used to avoid conflicts with known plugin names
endif
if glconf.get('GST_GL_HAVE_WINDOW_COCOA', 0) == 1
+ corefoundation_dep = dependency('appleframeworks', modules : ['CoreFoundation'], required : false)
foundation_dep = dependency('appleframeworks', modules : ['Foundation'], required : false)
quartzcore_dep = dependency('appleframeworks', modules : ['QuartzCore'], required : false)
- if foundation_dep.found() and quartzcore_dep.found() # have cocoa
+ if corefoundation_dep.found() and foundation_dep.found() and quartzcore_dep.found() # have cocoa
opengl_sources += [
'caopengllayersink.m',
]
- optional_deps += quartzcore_dep
+ optional_deps += [quartzcore_dep, foundation_dep, corefoundation_dep]
endif
endif
#define GST_GL_MEMORY_EGL_ALLOCATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_GL_MEMORY_EGL_ALLOCATOR, GstGLMemoryEGLAllocatorClass))
#define GST_GL_MEMORY_EGL_ALLOCATOR_CAST(obj) ((GstGLMemoryEGLAllocator *)(obj))
+typedef struct _GstGLMemoryEGL GstGLMemoryEGL;
+typedef struct _GstGLMemoryEGLAllocator GstGLMemoryEGLAllocator;
+typedef struct _GstGLMemoryEGLAllocatorClass GstGLMemoryEGLAllocatorClass;
+
/**
* GstGLMemoryEGL:
*
typedef struct _GstGLMemoryPBOAllocator GstGLMemoryPBOAllocator;
typedef struct _GstGLMemoryPBOAllocatorClass GstGLMemoryPBOAllocatorClass;
-typedef struct _GstGLMemoryEGL GstGLMemoryEGL;
-typedef struct _GstGLMemoryEGLAllocator GstGLMemoryEGLAllocator;
-typedef struct _GstGLMemoryEGLAllocatorClass GstGLMemoryEGLAllocatorClass;
-
typedef struct _GstGLRenderbuffer GstGLRenderbuffer;
typedef struct _GstGLRenderbufferAllocator GstGLRenderbufferAllocator;
typedef struct _GstGLRenderbufferAllocatorClass GstGLRenderbufferAllocatorClass;
'glprototypes/vao.h',
]
+gl_x11_sources = []
gl_x11_headers = []
+gl_wayland_sources = []
gl_wayland_headers = []
+gl_egl_sources = []
gl_egl_headers = []
glconf = configuration_data()
endif
if egl_dep.found()
- gl_sources += [
+ gl_egl_sources += [
'egl/gstegl.c',
'egl/gsteglimage.c',
'egl/gstglcontext_egl.c',
output: 'xdg-shell-client-protocol.c',
)
- gl_sources += [
+ gl_wayland_sources += [
'wayland/gstgldisplay_wayland.c',
- 'wayland/gstglwindow_wayland_egl.c',
- 'wayland/wayland_event_source.c',
]
gl_priv_sources += [
+ 'wayland/gstglwindow_wayland_egl.c',
+ 'wayland/wayland_event_source.c',
xdg_shell_header,
xdg_shell_code,
]
if need_win_x11 != 'no'
xcb_dep = dependency('x11-xcb', required : false)
if x11_dep.found() and xcb_dep.found()
- gl_sources += [
+ gl_x11_sources += [
'x11/gstgldisplay_x11.c',
+ ]
+ gl_priv_sources += [
'x11/gstglwindow_x11.c',
'x11/xcb_event_source.c',
]
if need_platform_glx != 'no' and glx_dep.found() and cc.has_function ('glXMakeCurrent', dependencies : glx_dep)
glconf.set('GST_GL_HAVE_PLATFORM_GLX', 1)
- gl_sources += [
+ gl_priv_sources += [
'x11/gstglcontext_glx.c',
]
# GLX is in the opengl library on linux
error('dispmanx requires the use of egl')
endif
- gl_sources += [
+ gl_priv_sources += [
'dispmanx/gstglwindow_dispmanx_egl.c'
]
if have_wgl or have_egl_win32
gl_includes += [compat_includes]
gl_platform_deps += gdi_dep
- gl_sources += [
- 'win32/gstglwindow_win32.c',
+ gl_priv_sources += [
'win32/gstglwindow_win32.c',
]
enabled_gl_winsys += 'win32'
endif
if have_wgl
- gl_sources += [
+ gl_priv_sources += [
'wgl/gstglcontext_wgl.c',
]
enabled_gl_platforms += 'wgl'
if windows_graphics_h and windows_app_dep.found() and runtimeobject_lib.found()
enabled_gl_winsys += 'winrt'
glconf.set10('GST_GL_HAVE_WINDOW_WINRT', 1)
- gl_sources += [
+ gl_priv_sources += [
'winrt/gstglwindow_winrt_egl.cpp'
]
gl_winsys_deps += runtimeobject_lib
if need_win_cocoa != 'no'
cocoa_dep = dependency('appleframeworks', modules : ['Cocoa'], required : false)
if cocoa_dep.found()
- gl_sources += [
+ gl_priv_sources += [
'cocoa/gstglcaopengllayer.m',
'cocoa/gstglcontext_cocoa.m',
'cocoa/gstgldisplay_cocoa.m',
quartzcore_dep,
uikit_dep,
]
- gl_sources += [
+ gl_priv_sources += [
'eagl/gstglcontext_eagl.m',
'eagl/gstglwindow_eagl.m',
]
gbm_libdrm_dep = dependency('libdrm', version : '>= 2.4.55', required : false)
gbm_dep = dependency('gbm', required : false)
if egl_dep.found() and gbm_gudev_dep.found() and gbm_libdrm_dep.found() and gbm_dep.found()
- gl_sources += [
+ gl_priv_sources += [
'gbm/gstgldisplay_gbm.c',
'gbm/gstgl_gbm_utils.c',
'gbm/gstglwindow_gbm_egl.c',
enabled_gl_winsys += 'viv-fb'
glconf.set10('GST_GL_HAVE_WINDOW_VIV_FB', 1)
glconf.set10('GST_GL_HAVE_VIV_DIRECTVIV', 1)
- gl_sources += [
+ gl_priv_sources += [
'viv-fb/gstgldisplay_viv_fb.c',
'viv-fb/gstglwindow_viv_fb_egl.c',
]
if gles2_dep.found() and egl_dep.found()
enabled_gl_winsys += ['android']
glconf.set10('GST_GL_HAVE_WINDOW_ANDROID', 1)
- gl_sources += [
+ gl_priv_sources += [
'android/gstglwindow_android_egl.c'
]
endif
build_gstgl = false
endif
+gstgl_dep = dependency('', required : false)
+gstglproto_dep = dependency('', required : false)
+gstglx11_dep = dependency('', required : false)
+gstglwayland_dep = dependency('', required : false)
+gstglegl_dep = dependency('', required : false)
+
if build_gstgl
# find some types that may or may not be defined
if cc.has_type('GLeglImageOES', prefix : gl_include_block, dependencies : gl_lib_deps, include_directories : gl_includes)
message('Building libgstgl with GL winsys: ' + ' '.join(enabled_gl_winsys))
install_headers(gl_headers, subdir : 'gstreamer-1.0/gst/gl')
- install_headers(gl_egl_headers, subdir : 'gstreamer-1.0/gst/gl/egl')
install_headers(gl_prototype_headers, subdir : 'gstreamer-1.0/gst/gl/glprototypes')
- install_headers(gl_x11_headers, subdir : 'gstreamer-1.0/gst/gl/x11')
- install_headers(gl_wayland_headers, subdir : 'gstreamer-1.0/gst/gl/wayland')
configure_file(input : 'gstglconfig.h.meson',
output : 'gstglconfig.h',
gen_sources = [gl_enumtypes_h]
gstgl = library('gstgl-' + api_version,
- gl_sources, gl_priv_sources, gl_enumtypes_c, gl_enumtypes_h,
+ gl_sources, gl_egl_sources, gl_x11_sources, gl_wayland_sources, gl_priv_sources, gl_enumtypes_c, gl_enumtypes_h,
c_args : gst_plugins_base_args + gl_cpp_args + ['-DBUILDING_GST_GL'],
cpp_args : gst_plugins_base_args + gl_cpp_args + ['-DBUILDING_GST_GL'],
objc_args : gst_plugins_base_args + gl_cpp_args + gl_objc_args + ['-DBUILDING_GST_GL'],
include_directories : [configinc, libsinc, gl_includes],
version : libversion,
soversion : soversion,
- darwin_versions : osxversion,
+ darwin_versions : osxversion,
install : true,
dependencies : [gst_base_dep, video_dep, allocators_dep, gmodule_dep,
gl_lib_deps, gl_platform_deps, gl_winsys_deps, gl_misc_deps])
+
if build_gir
gl_gir = gnome.generate_gir(gstgl,
- sources : gl_sources + [gl_enumtypes_h] + [gl_enumtypes_c] + gir_gl_headers + gl_x11_headers + gl_wayland_headers + gl_egl_headers,
+ sources : gl_sources + [gl_enumtypes_h] + [gl_enumtypes_c] + gir_gl_headers,
namespace : 'GstGL',
nsversion : api_version,
identifier_prefix : 'Gst',
gen_sources += gl_gir
endif
-
gstgl_dep = declare_dependency(link_with : gstgl,
include_directories : [libsinc, compat_includes],
sources: gen_sources,
- dependencies : [video_dep, gst_base_dep] + gl_lib_deps + gl_winsys_deps)
+ dependencies : [video_dep, gst_base_dep])
+ gstglproto_dep = declare_dependency(dependencies : [gstgl_dep] + gl_lib_deps)
+
+ if gl_x11_headers.length() > 0
+ install_headers(gl_x11_headers, subdir : 'gstreamer-1.0/gst/gl/x11')
+ gl_x11_gir = []
+ if build_gir
+ gl_x11_gir = gnome.generate_gir(gstgl,
+ sources : gl_x11_sources + gl_x11_headers,
+ namespace : 'GstGLX11',
+ nsversion : api_version,
+ identifier_prefix : 'Gst',
+ symbol_prefix : 'gst',
+ export_packages : 'gstreamer-gl-x11-1.0',
+ includes : ['Gst-1.0', 'GstBase-1.0', 'GstVideo-1.0', gl_gir[0]],
+ install : true,
+ extra_args : gir_init_section + ['--c-include=gst/gl/gl.h'],
+ dependencies : [video_dep, gst_dep, gst_base_dep]
+ )
+ endif
+ gstglx11_dep = declare_dependency(dependencies : [gstgl_dep],
+ sources : gl_x11_gir)
+ endif
+
+ if gl_wayland_headers.length() > 0
+ install_headers(gl_wayland_headers, subdir : 'gstreamer-1.0/gst/gl/wayland')
+ gl_wayland_gir = []
+ if build_gir
+ gl_wayland_gir = gnome.generate_gir(gstgl,
+ sources : gl_wayland_sources + gl_wayland_headers,
+ namespace : 'GstGLWayland',
+ nsversion : api_version,
+ identifier_prefix : 'Gst',
+ symbol_prefix : 'gst',
+ export_packages : 'gstreamer-gl-wayland-1.0',
+ includes : ['Gst-1.0', 'GstBase-1.0', 'GstVideo-1.0', gl_gir[0]],
+ install : true,
+ extra_args : gir_init_section + ['--c-include=gst/gl/gl.h'],
+ dependencies : [video_dep, gst_dep, gst_base_dep]
+ )
+ endif
+ gstglwayland_dep = declare_dependency(dependencies : [gstgl_dep],
+ sources : gl_wayland_gir)
+ endif
+
+ if gl_egl_headers.length() > 0
+ install_headers(gl_egl_headers, subdir : 'gstreamer-1.0/gst/gl/egl')
+ gl_egl_gir = []
+ if build_gir
+ gl_egl_gir = gnome.generate_gir(gstgl,
+ sources : gl_egl_sources + gl_egl_headers,
+ namespace : 'GstGLEGL',
+ nsversion : api_version,
+ identifier_prefix : 'Gst',
+ symbol_prefix : 'gst',
+ export_packages : 'gstreamer-gl-egl-1.0',
+ includes : ['Gst-1.0', 'GstBase-1.0', 'GstVideo-1.0', gl_gir[0]],
+ install : true,
+ extra_args : gir_init_section + ['--c-include=gst/gl/gl.h'],
+ dependencies : [video_dep, gst_dep, gst_base_dep]
+ )
+ endif
+ gstglegl_dep = declare_dependency(dependencies : [gstgl_dep],
+ sources : gl_egl_gir)
+ endif
elif get_option('gl').enabled()
error('GStreamer OpenGL integration required via options, but needed dependencies not found.')
-else
- gstgl_dep = dependency('', required : false)
endif
--- /dev/null
+prefix=
+exec_prefix=
+libdir=@gllibdir@
+includedir=@abs_top_builddir@/gst-libs
+girdir=@abs_top_builddir@/gst-libs/gst/gl
+typelibdir=@abs_top_builddir@/gst-libs/gst/gl
+
+Name: GStreamer OpenGL Plugins Libraries (EGL Specifics), Uninstalled
+Description: Streaming media framework, OpenGL plugins libraries (EGL specifics), uninstalled
+Version: @VERSION@
+Requires: gtreamer-gl-@GST_API_VERSION@ @GL_EGL_EXTRA_REQUIRES@
+
+Libs: @GL_EGL_EXTRA_LIBS@
--- /dev/null
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@/gstreamer-@GST_API_VERSION@
+
+Name: GStreamer OpenGL Plugins Libraries (Wayland specifics)
+Description: Streaming media framework, OpenGL plugins libraries (Wayland specifics)
+Version: @VERSION@
+Requires: gstreamer-gl-@GST_API_VERSION@ @GL_EGL_EXTRA_REQUIRES@
+
+Libs: @GL_EGL_EXTRA_LIBS@
--- /dev/null
+prefix=
+exec_prefix=
+libdir=@gllibdir@
+includedir=@abs_top_builddir@/gst-libs
+
+Name: GStreamer OpenGL Plugins Libraries (OpenGL Prototypes), Uninstalled
+Description: Streaming media framework, OpenGL plugins libraries (OpenGL Prototypes), uninstalled
+Version: @VERSION@
+Requires: gstreamer-gl-@GST_API_VERSION@ @GL_PROTO_EXTRA_REQUIRES@
+
+Libs: @GL_PROTO_EXTRA_LIBS@
--- /dev/null
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@/gstreamer-@GST_API_VERSION@
+
+Name: GStreamer OpenGL Plugins Libraries (OpenGL Prototypes)
+Description: Streaming media framework, OpenGL plugins libraries (OpenGL Prototypes)
+Version: @VERSION@
+Requires: gstreamer-gl-@GST_API_VERSION@ @GL_PROTO_EXTRA_REQUIRES@
+
+Libs: @GL_PROTO_EXTRA_LIBS@
exec_prefix=
libdir=@gllibdir@
includedir=@abs_top_builddir@/gst-libs
-girdir=@abs_top_builddir@/gst-libs/gst/base
-typelibdir=@abs_top_builddir@/gst-libs/gst/base
+girdir=@abs_top_builddir@/gst-libs/gst/gl
+typelibdir=@abs_top_builddir@/gst-libs/gst/gl
gl_platforms=@GL_PLATFORMS@
gl_winsys=@GL_WINDOWS@
gl_apis=@GL_APIS@
--- /dev/null
+prefix=
+exec_prefix=
+libdir=@gllibdir@
+includedir=@abs_top_builddir@/gst-libs
+girdir=@abs_top_builddir@/gst-libs/gst/gl
+typelibdir=@abs_top_builddir@/gst-libs/gst/gl
+
+Name: GStreamer OpenGL Plugins Libraries (Wayland Specifics), Uninstalled
+Description: Streaming media framework, OpenGL plugins libraries (Wayland specifics), uninstalled
+Version: @VERSION@
+Requires: gtreamer-gl-@GST_API_VERSION@ wayland-egl wayland-client
--- /dev/null
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@/gstreamer-@GST_API_VERSION@
+
+Name: GStreamer OpenGL Plugins Libraries (Wayland specifics)
+Description: Streaming media framework, OpenGL plugins libraries (Wayland specifics)
+Version: @VERSION@
+Requires: gstreamer-gl-@GST_API_VERSION@ wayland-egl wayland-client
--- /dev/null
+prefix=
+exec_prefix=
+libdir=@gllibdir@
+includedir=@abs_top_builddir@/gst-libs
+girdir=@abs_top_builddir@/gst-libs/gst/gl
+typelibdir=@abs_top_builddir@/gst-libs/gst/gl
+
+Name: GStreamer OpenGL Plugins Libraries (X11 Specifics), Uninstalled
+Description: Streaming media framework, OpenGL plugins libraries (X11 specifics), uninstalled
+Version: @VERSION@
+Requires: gtreamer-gl-@GST_API_VERSION@ x11-xcb
--- /dev/null
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@/gstreamer-@GST_API_VERSION@
+
+Name: GStreamer OpenGL Plugins Libraries (X11 specifics)
+Description: Streaming media framework, OpenGL plugins libraries (X11 specifics)
+Version: @VERSION@
+Requires: gstreamer-gl-@GST_API_VERSION@ x11-xcb
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/gstreamer-@GST_API_VERSION@
-pluginsdir=@libdir@/gstreamer-@GST_API_VERSION@
gl_platforms=@GL_PLATFORMS@
gl_winsys=@GL_WINDOWS@
gl_apis=@GL_APIS@
gllibdir = join_paths(meson.build_root(), gstgl.outdir())
pkgconf.set('gllibdir', gllibdir)
pkgconf.set('glliblinkerflag', '-L' + gllibdir)
- pkg_files += ['gstreamer-gl']
+ pkg_files += ['gstreamer-gl', 'gstreamer-gl-prototypes']
pkgconf.set('GL_APIS', ' '.join(enabled_gl_apis))
pkgconf.set('GL_WINDOWS', ' '.join(enabled_gl_winsys))
pkgconf.set('GL_PLATFORMS', ' '.join(enabled_gl_platforms))
pkgconf.set('gl_lib_name', 'gl')
+ gl_proto_requires = ''
+ gl_proto_libs = ''
+ if enabled_gl_apis.contains('gl')
+ if gl_dep.type_name() == 'pkgconfig'
+ gl_proto_requires += ' gl'
+ elif gl_dep.type_name() == 'library'
+ gl_proto_libs += ' -lGL'
+ elif gl_dep.type_name() == 'appleframework'
+ gl_proto_libs += ' -framework OpenGL'
+ endif
+ endif
+ if enabled_gl_apis.contains('gles2')
+ if gles2_dep.type_name() == 'pkgconfig'
+ gl_proto_requires += ' glesv2'
+ elif gles2_dep.type_name() == 'library'
+ gl_proto_libs += ' -lGLESv2'
+ elif gles2_dep.type_name() == 'appleframework'
+ gl_proto_libs += ' -framework OpenGLES'
+ endif
+ endif
+ pkgconf.set('GL_PROTO_EXTRA_REQUIRES', gl_proto_requires)
+ pkgconf.set('GL_PROTO_EXTRA_LIBS', gl_proto_libs)
+ if enabled_gl_platforms.contains('egl')
+ pkg_files += ['gstreamer-gl-egl']
+ if egl_dep.type_name() == 'pkgconfig'
+ pkgconf.set('GL_EGL_EXTRA_REQUIRES', 'egl')
+ pkgconf.set('GL_EGL_EXTRA_LIBS', '')
+ elif egl_dep.type_name() == 'library'
+ pkgconf.set('GL_EGL_EXTRA_REQUIRES', '')
+ pkgconf.set('GL_EGL_EXTRA_LIBS', '-lEGL')
+ endif
+ endif
+ if enabled_gl_winsys.contains('x11')
+ pkg_files += ['gstreamer-gl-x11']
+ endif
+ if enabled_gl_winsys.contains('wayland')
+ pkg_files += ['gstreamer-gl-wayland']
+ endif
else
pkgconf.set('glliblinkerflag', '')
pkgconf.set('gl_lib_name', '')
# FIXME: Unstable on Windows
if build_gstgl and host_machine.system() != 'windows'
base_tests += [
- [ 'libs/gstglcolorconvert.c', not build_gstgl, [gstgl_dep]],
- [ 'libs/gstglcontext.c', not build_gstgl, [gstgl_dep]],
- [ 'libs/gstglfeature.c', not build_gstgl, [gstgl_dep]],
- [ 'libs/gstglformat.c', not build_gstgl, [gstgl_dep]],
+ [ 'libs/gstglcolorconvert.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
+ [ 'libs/gstglcontext.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
+ [ 'libs/gstglfeature.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
+ [ 'libs/gstglformat.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
[ 'libs/gstglheaders.c', not build_gstgl, [gstgl_dep]],
- [ 'libs/gstglmatrix.c', not build_gstgl, [gstgl_dep]],
- [ 'libs/gstglmemory.c', not build_gstgl, [gstgl_dep]],
- [ 'libs/gstglquery.c', not build_gstgl, [gstgl_dep]],
- [ 'libs/gstglshader.c', not build_gstgl, [gstgl_dep]],
- [ 'libs/gstglsl.c', not build_gstgl, [gstgl_dep]],
- [ 'libs/gstglslstage.c', not build_gstgl, [gstgl_dep]],
- [ 'libs/gstglupload.c', not build_gstgl, [gstgl_dep]],
- [ 'elements/glimagesink.c', not build_gstgl, [gstgl_dep]],
+ [ 'libs/gstglmatrix.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
+ [ 'libs/gstglmemory.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
+ [ 'libs/gstglquery.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
+ [ 'libs/gstglshader.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
+ [ 'libs/gstglsl.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
+ [ 'libs/gstglslstage.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
+ [ 'libs/gstglupload.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
+ [ 'elements/glimagesink.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
[ 'elements/glbin.c', not build_gstgl ],
[ 'pipelines/gl-launch-lines.c', not build_gstgl ],
- [ 'elements/glfilter.c', not build_gstgl, [gstgl_dep]],
- [ 'elements/glstereo.c', not build_gstgl, [gstgl_dep]],
- [ 'elements/glmixer.c', not build_gstgl, [gstgl_dep]],
+ [ 'elements/glfilter.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
+ [ 'elements/glstereo.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
+ [ 'elements/glmixer.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
]
endif
if have_cxx
executable('cube', 'main.cpp',
- dependencies : [gstgl_dep, gl_dep],
+ dependencies : [gstgl_dep, gstglproto_dep],
install: false)
endif
if have_cxx
executable('cubeyuv', 'main.cpp',
- dependencies : [gstgl_dep, gl_dep],
+ dependencies : [gstgl_dep, gstglproto_dep],
install: false)
endif
if have_cxx
executable('doublecube', 'main.cpp',
- dependencies : [gstgl_dep, gl_dep],
+ dependencies : [gstgl_dep, gstglproto_dep],
install: false)
endif
if have_cxx
executable('recordgraphic', 'main.cpp',
- dependencies : [gstgl_dep, gl_dep],
+ dependencies : [gstgl_dep, gstglproto_dep],
install: false)
endif
qt5gui_dep = dependency('qt5', modules : ['Core', 'Gui', 'Widgets'], required : false)
qt5opengl_dep = dependency('qt5', modules : ['OpenGL'], required : false)
-# FIXME: other platforms
+#FIXME; other platforms
libgl = cc.find_library ('GL', required : false)
qt_cxx_warn_less = cxx.get_supported_arguments(['-Wno-aggregate-return'])
executable('mousevideoverlay', sources, moc_files,
cpp_args : [gst_plugins_base_args] + qt_cxx_warn_less,
include_directories: [configinc, libsinc],
- dependencies : [qt5core_dep, qt5gui_dep, gst_dep, video_dep, gstgl_dep, libgl],
+ dependencies : [qt5core_dep, qt5gui_dep, gst_dep, video_dep, gstgl_dep, gstglproto_dep],
install: false)
executable('qglwidgetvideoverlay', sources, moc_files,
cpp_args : [gst_plugins_base_args] + qt_cxx_warn_less,
include_directories: [configinc, libsinc],
- dependencies : [qt5core_dep, qt5gui_dep, qt5opengl_dep, gst_dep, video_dep, gstgl_dep, libgl],
+ dependencies : [qt5core_dep, qt5gui_dep, qt5opengl_dep, gst_dep, video_dep, gstgl_dep, gstglproto_dep],
install: false)
executable('qglwtextureshare', sources, moc_files,
cpp_args : [gst_plugins_base_args] + qt_cxx_warn_less,
include_directories: [configinc, libsinc],
- dependencies : [qt5core_dep, qt5gui_dep, qt5opengl_dep, qtwinsys_deps, gst_dep, video_dep, gstgl_dep, libgl],
+ dependencies : [qt5core_dep, qt5gui_dep, qt5opengl_dep, qtwinsys_deps, gst_dep, video_dep, gstgl_dep, gstglproto_dep],
install: false)