d3d11: Add a helper method for GstContext creation
authorSeungha Yang <seungha@centricular.com>
Fri, 24 Jun 2022 13:17:28 +0000 (22:17 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 27 Jun 2022 19:33:57 +0000 (19:33 +0000)
commiteee0f97c18dcfb1a0aecf17b49f804c0cf82bff8
tree63461a44e44b3b5227ea2468970b14d5c24639fb
parent06b7b240af456fc740314cb231638e32a35ac0dd
d3d11: Add a helper method for GstContext creation

Add gst_d3d11_context_new() method for application to create
GstContext using GstD3D11Device.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2646>
subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11utils.cpp
subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11utils.h