meson: Install viv-fb GL headers, needed by i.MX
authorNirbheek Chauhan <nirbheek@centricular.com>
Wed, 8 Mar 2023 18:55:51 +0000 (00:25 +0530)
committerMatthew Waters <matthew@centricular.com>
Wed, 12 Jul 2023 12:44:58 +0000 (22:44 +1000)
Needed by qmlglsink at build time to allocate a viv-fb display.

Without this, the GL fastpath doesn't work, and performance is really
bad.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4959>

subprojects/gst-plugins-base/gst-libs/gst/gl/meson.build

index 1080b5d..5fc775d 100644 (file)
@@ -929,6 +929,11 @@ if need_platform_egl != 'no' and need_win_viv_fb != 'no'
         'viv-fb/gstglwindow_viv_fb_egl.c',
       ]
       gl_cpp_args += ['-DEGL_API_FB']
+      gl_viv_fb_headers = [
+        'viv-fb/gstgldisplay_viv_fb.h',
+        'viv-fb/gstglwindow_viv_fb_egl.h',
+      ]
+      install_headers(gl_viv_fb_headers, subdir : 'gstreamer-1.0/gst/gl/viv-fb')
     endif
   endif
 endif