meson: Install viv-fb GL headers, needed by i.MX

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/4613>
This commit is contained in:
Nirbheek Chauhan 2023-03-09 00:25:51 +05:30
parent f04a1eee71
commit 681f042f27

View 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