d3d12memory: Remove unused method

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6042>
This commit is contained in:
Seungha Yang 2024-02-02 01:17:43 +09:00
parent a5cb2ef9cd
commit 1c0f224f05
2 changed files with 0 additions and 26 deletions

View file

@ -1267,26 +1267,3 @@ gst_d3d12_pool_allocator_acquire_memory (GstD3D12PoolAllocator * allocator,
return ret;
}
gboolean
gst_d3d12_pool_allocator_get_pool_size (GstD3D12PoolAllocator * allocator,
guint * max_size, guint * outstanding_size)
{
GstD3D12PoolAllocatorPrivate *priv;
g_return_val_if_fail (GST_IS_D3D12_POOL_ALLOCATOR (allocator), FALSE);
priv = allocator->priv;
if (max_size) {
if (priv->desc.DepthOrArraySize > 1)
*max_size = (guint) priv->desc.DepthOrArraySize;
else
*max_size = 0;
}
if (outstanding_size)
*outstanding_size = priv->outstanding;
return TRUE;
}

View file

@ -222,8 +222,5 @@ GstD3D12PoolAllocator * gst_d3d12_pool_allocator_new (GstD3D12Device * device,
GstFlowReturn gst_d3d12_pool_allocator_acquire_memory (GstD3D12PoolAllocator * allocator,
GstMemory ** memory);
gboolean gst_d3d12_pool_allocator_get_pool_size (GstD3D12PoolAllocator * allocator,
guint * max_size, guint * outstanding_size);
G_END_DECLS