mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
glwindow/winrt: Move to c++
For native window size query, c++ API is much convenient than c API Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/745>
This commit is contained in:
parent
061e195e01
commit
ab89746f55
2 changed files with 2 additions and 1 deletions
|
@ -723,7 +723,7 @@ if need_win_winrt != 'no' and host_system == 'windows'
|
||||||
enabled_gl_winsys += 'winrt'
|
enabled_gl_winsys += 'winrt'
|
||||||
glconf.set10('GST_GL_HAVE_WINDOW_WINRT', 1)
|
glconf.set10('GST_GL_HAVE_WINDOW_WINRT', 1)
|
||||||
gl_sources += [
|
gl_sources += [
|
||||||
'winrt/gstglwindow_winrt_egl.c'
|
'winrt/gstglwindow_winrt_egl.cpp'
|
||||||
]
|
]
|
||||||
elif need_win_winrt == 'yes'
|
elif need_win_winrt == 'yes'
|
||||||
error('WinRT is enabled, but headers/libraries were not found')
|
error('WinRT is enabled, but headers/libraries were not found')
|
||||||
|
@ -978,6 +978,7 @@ if build_gstgl
|
||||||
gstgl = library('gstgl-' + api_version,
|
gstgl = library('gstgl-' + api_version,
|
||||||
gl_sources, gl_priv_sources, gl_enumtypes_c, gl_enumtypes_h,
|
gl_sources, gl_priv_sources, gl_enumtypes_c, gl_enumtypes_h,
|
||||||
c_args : gst_plugins_base_args + gl_cpp_args + ['-DBUILDING_GST_GL'],
|
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'],
|
objc_args : gst_plugins_base_args + gl_cpp_args + gl_objc_args + ['-DBUILDING_GST_GL'],
|
||||||
include_directories : [configinc, libsinc, gl_includes],
|
include_directories : [configinc, libsinc, gl_includes],
|
||||||
version : libversion,
|
version : libversion,
|
||||||
|
|
Loading…
Reference in a new issue