d3d11: Move HLSL compiler to gst-libs
authorSeungha Yang <seungha@centricular.com>
Wed, 15 Jun 2022 18:57:37 +0000 (03:57 +0900)
committerSeungha Yang <seungha@centricular.com>
Thu, 14 Jul 2022 21:31:51 +0000 (06:31 +0900)
commit1dd29a2564805415bfd80b508d87da93a9ef97f4
tree10e0947fc12a9d8f6791df667eb0b54a1c35f00d
parent390518a296c1de0637d66463d3b2e4ab26a2a092
d3d11: Move HLSL compiler to gst-libs

We should move this functionality to gst-libs so that GstD3D11Converter
can be moved to gst-libs.
Another advantage is that applications can call our
HLSL compiler wrapper method without any worry about OS version
dependent system installed HLSL library.
Note that there are multiple HLSL compiler library versions
on Windows and system installed one would be OS version dependent.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2760>
14 files changed:
subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11.h
subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11compile.cpp [new file with mode: 0644]
subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11compile.h [new file with mode: 0644]
subprojects/gst-plugins-bad/gst-libs/gst/d3d11/meson.build
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11compositor.cpp
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11converter.cpp
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11overlaycompositor.cpp
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11screencapture.cpp
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11screencapturesrc.cpp
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11shader.cpp [deleted file]
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11shader.h [deleted file]
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11testsrc.cpp
subprojects/gst-plugins-bad/sys/d3d11/meson.build
subprojects/gst-plugins-bad/sys/d3d11/plugin.cpp