d3d11decoder: Enable zero-copy for Qualcomm

Qualcomm GPU works fine with current implementation now.
Noticeable difference between when it was disabled and current
d3d11 implementation is that we now support GstD3D11Memory
pool, so there will be no more frequent re-binding decoder surface anymore.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2377>
This commit is contained in:
Seungha Yang 2021-07-05 02:05:03 +09:00 committed by GStreamer Marge Bot
parent 49b061241e
commit 0d2664c668

View file

@ -851,11 +851,8 @@ gst_d3d11_decoder_open (GstD3D11Decoder * self)
vendor = gst_d3d11_get_device_vendor (self->device); vendor = gst_d3d11_get_device_vendor (self->device);
switch (vendor) { switch (vendor) {
case GST_D3D11_DEVICE_VENDOR_XBOX: case GST_D3D11_DEVICE_VENDOR_XBOX:
case GST_D3D11_DEVICE_VENDOR_QUALCOMM:
/* FIXME: Need to figure out Xbox device's behavior /* FIXME: Need to figure out Xbox device's behavior
* https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1312 * https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1312
*
* Qualcomm driver seems to be buggy in zero-copy scenario
*/ */
self->can_direct_rendering = FALSE; self->can_direct_rendering = FALSE;
break; break;