libs: d3d11: Port to C++
authorSeungha Yang <seungha@centricular.com>
Sun, 20 Jun 2021 09:48:21 +0000 (18:48 +0900)
committerSeungha Yang <seungha@centricular.com>
Sun, 20 Jun 2021 11:10:24 +0000 (20:10 +0900)
commit2c14a7253bc37f455346fba631c255a970002a56
tree95ac9e1274f7bdf8f4ee5e231cbe61207aa4c826
parent300f25ae365694fcbcca93cbeeced759beb2bc69
libs: d3d11: Port to C++

In general, C++ COM APIs are slightly less verbose and more readable
than C APIs. And C++ supports some helper methods
(smart pointer and C++ only macros for example) which are not allowed for C.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2343>
gst-libs/gst/d3d11/gstd3d11_private.h
gst-libs/gst/d3d11/gstd3d11bufferpool.cpp [moved from gst-libs/gst/d3d11/gstd3d11bufferpool.c with 97% similarity]
gst-libs/gst/d3d11/gstd3d11device.cpp [moved from gst-libs/gst/d3d11/gstd3d11device.c with 86% similarity]
gst-libs/gst/d3d11/gstd3d11format.cpp [moved from gst-libs/gst/d3d11/gstd3d11format.c with 100% similarity]
gst-libs/gst/d3d11/gstd3d11memory.cpp [moved from gst-libs/gst/d3d11/gstd3d11memory.c with 92% similarity]
gst-libs/gst/d3d11/gstd3d11utils.cpp [moved from gst-libs/gst/d3d11/gstd3d11utils.c with 99% similarity]
gst-libs/gst/d3d11/meson.build