gstreamer/subprojects/gst-plugins-bad/gst-libs/gst
Víctor Manuel Jáquez Leal 83e73a2f59 vulkan: find memory type index with requirements
The specification says:

VUID-vkAllocateMemory-pAllocateInfo-01713

must pAllocateInfo->allocationSize be less than or equal to
VkPhysicalDeviceMemoryProperties::memoryHeaps[memindex].size where memindex =
VkPhysicalDeviceMemoryProperties::memoryTypes[pAllocateInfo->memoryTypeIndex].heapIndex
as returned by vkGetPhysicalDeviceMemoryProperties for the VkPhysicalDevice that
device was created from.

Though this can be catch by the validation layer, the requested frame size
depends on the use case so it's better to check this restriction by our code.

This patch also makes use of this new function to find memory type index,
 and removes the unused function to find memory type index, which, as GstVulkan is
considered unstable, we can do it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4351>
2023-05-19 04:26:29 +00:00
..
adaptivedemux plugins: Fix wrong enum usage 2023-03-20 11:40:30 +00:00
audio gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
basecamerabinsrc meson: Add CameraBin and Va girs 2023-04-25 02:57:55 +00:00
codecparsers h264parser: Define level enum values 2023-05-17 21:29:25 +00:00
codecs h264parser: Define level enum values 2023-05-17 21:29:25 +00:00
cuda cudamemory: Fix for semi planar YUV memory size decision 2023-04-27 20:55:53 +00:00
d3d11 d3d11memory: Don't clear wrapped texture memory 2023-05-05 13:18:06 +00:00
insertbin gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
interfaces meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
isoff gst-plugins-bad: define G_LOG_DOMAIN for all libraries 2021-10-19 00:12:25 +00:00
mpegts gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
opencv meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
play gstplay: fix critical log when enable playbin3 2023-05-18 10:27:29 +00:00
player gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
sctp meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
transcoder gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
uridownloader meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
va meson: Add feature options for optional va deps libdrm and gudev 2023-04-28 15:22:31 +05:30
vulkan vulkan: find memory type index with requirements 2023-05-19 04:26:29 +00:00
wayland gst-plugins-bad: re-indent with GNU indent 2.2.12 2023-03-17 03:18:54 +00:00
webrtc webrtc/nice: support consent-freshness RFC7675 2023-05-08 13:50:44 +00:00
winrt gst-plugins-bad: define G_LOG_DOMAIN for all libraries 2021-10-19 00:12:25 +00:00
glib-compat-private.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
meson.build cuda: Factor out a public GstCUDA library 2022-04-19 16:39:43 +00:00