mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
d3d12memory: Remove unused method
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6042>
This commit is contained in:
parent
a5cb2ef9cd
commit
1c0f224f05
2 changed files with 0 additions and 26 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue