4 'gstgluploadelement.c',
5 'gstgldownloadelement.c',
6 'gstglcolorconvertelement.c',
14 'effects/gstgleffectscurves.c',
15 'effects/gstgleffectssources.c',
16 'effects/gstgleffectidentity.c',
17 'effects/gstgleffectmirror.c',
18 'effects/gstgleffectsqueeze.c',
19 'effects/gstgleffectstretch.c',
20 'effects/gstgleffectfisheye.c',
21 'effects/gstgleffecttwirl.c',
22 'effects/gstgleffectbulge.c',
23 'effects/gstgleffecttunnel.c',
24 'effects/gstgleffectsquare.c',
25 'effects/gstgleffectlumatocurve.c',
26 'effects/gstgleffectrgbtocurve.c',
27 'effects/gstgleffectsin.c',
28 'effects/gstgleffectxray.c',
29 'effects/gstgleffectglow.c',
30 'effects/gstgleffectblur.c',
31 'effects/gstgleffectsobel.c',
32 'effects/gstgleffectlaplacian.c',
34 'gstglcolorbalance.c',
37 'gstglfiltershader.c',
48 if build_gstgl and gstgl_dep.found()
52 if gl_dep.found() # have desktop GL
59 graphene_dep = dependency('graphene-1.0', version : '>=1.4.0', required : false)
60 if graphene_dep.found()
61 optional_deps += graphene_dep
62 opengl_defines += '-DHAVE_GRAPHENE=1'
64 'gstgltransformation.c',
69 png_dep = dependency('libpng', version : '>=1.0', required : false)
70 jpeg_dep = cc.find_library('jpeg-mmx', required : false)
71 if not jpeg_dep.found()
72 jpeg_dep = cc.find_library('jpeg', required : false)
76 optional_deps += png_dep
77 opengl_defines += '-DHAVE_PNG=1'
79 'gstgldifferencematte.c',
82 optional_deps += jpeg_dep
83 opengl_defines += '-DHAVE_JPEG=1'
92 'caopengllayersink.m',
98 optional_deps += x11_dep
101 if bcm_host_dep.found()
102 optional_deps += bcm_host_dep
105 if egl_dep.found() and cc.has_header('libdrm/drm_fourcc.h', required : false)
106 optional_deps += gstallocators_dep
109 gstopengl = library('gstopengl',
111 c_args : gst_plugins_bad_args + opengl_defines,
112 link_args : noseh_link_args,
113 include_directories : [configinc],
114 dependencies : [gstgl_dep, gstbadvideo_dep, gstvideo_dep,
115 gstbase_dep, gstcontroller_dep, libm] + optional_deps,
117 install_dir : plugins_install_dir,