mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
1458c31031
Originally the opened device only created one queue of one family queue, to say graphics one. This approach felt short when other queue family is required not shared with the graphics queue family, for example video decoding. This new approach proposes to create those queues with supported families. For now, only video decoding and encoder are created, if they are available. In order to hold multiple queues opened, an array of VkDeviceQueueCreateInfo is held along the live the device object, because it's used to traverse or get the opened queues. The algorithm to choose which queues create (or open) is to look for the queue with more family bits, which also supports the one we are requesting, thus minimizing the number of global queues of a certain family to create. Nonetheless, the number of queues to open per family is set to be all of them, widening the possibility of parallelism. Also, this commit do a cosmetic refactor the assigning the physical device nearer where it's used. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4351> |
||
---|---|---|
.. | ||
adaptivedemux | ||
audio | ||
basecamerabinsrc | ||
codecparsers | ||
codecs | ||
cuda | ||
d3d11 | ||
insertbin | ||
interfaces | ||
isoff | ||
mpegts | ||
opencv | ||
play | ||
player | ||
sctp | ||
transcoder | ||
uridownloader | ||
va | ||
vulkan | ||
wayland | ||
webrtc | ||
winrt | ||
glib-compat-private.h | ||
meson.build |