mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-14 20:36:32 +00:00
7b4e1fd602
Adding Direct3D11 backend Qt6 QML videosink element, qml6d3d11sink. Implementation details are similar to the qt6 plugin in -good but there are a few notable differences. * qml6d3d11sink accepts all GstD3D11 supported video formats (e.g., NV12). * Scene graph (owned by qml6d3d11sink) will hold dedicated and sharable RGBA texture which belongs to Qt6's Direct3D11 device, instead of sharing GStreamer's own texture with Qt6. * All rendering operations will be done by using GStreamer's Direct3D11 device. Specifically, upstream texture will be copied (in case of RGBA) or converted to the above mentioned Qt6's sharable texture. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3707>
8 lines
358 B
Meson
8 lines
358 B
Meson
qt_preprocessed = qt6_mod.preprocess(qresources : 'qml6d3d11sink.qrc')
|
|
executable('qml6d3d11sink', 'qml6d3d11sink.cpp', qt_preprocessed,
|
|
dependencies : [gst_dep, qt6_example_deps],
|
|
override_options : ['cpp_std=c++17'],
|
|
c_args : gst_plugins_bad_args,
|
|
cpp_args : gst_plugins_bad_args,
|
|
include_directories : [configinc],
|
|
install: false)
|