Skip to content

d3d11: Get rid of unnecessary memory object for memory usage optimization

d3d11upload/d3d11download: Make use of staging buffer

... instead of direct cpu map for d3d11memory object. In this way,
we don't need per GstD3D11Memory staging texture.
d3d11: Don't hold staging texture

Staging texture is used for memory transfer between system and
gpu memory. Apart from d3d11{upload,download} elements, it should
happen very rarely.
d3d11: Move to G_DECLARE_FINAL_TYPE

... and remove unnecessary forward declaration.

Merge request reports

Loading