d3d11memory: Add private method for texture wrapped memory allocation
authorSeungha Yang <seungha@centricular.com>
Fri, 1 Jul 2022 12:35:15 +0000 (21:35 +0900)
committerSeungha Yang <seungha@centricular.com>
Fri, 1 Jul 2022 20:37:55 +0000 (05:37 +0900)
commit46a33945815a2c57af002f96f176b864ebad0081
treea6a5fedef77eb16bf5708bc02d4b1581b70c2c08
parent3919491eb244758ba68b2d19a4cb0cab079f4a3d
d3d11memory: Add private method for texture wrapped memory allocation

Unlike public method gst_d3d11_allocator_alloc_wrapped(), newly
added method by this commit will not calculate CPU accessible memory
size, since staging texture must be allocated to calculate the size.

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