vulkan: add caps feature names for the buffer and image memories
authorMatthew Waters <matthew@centricular.com>
Mon, 8 Feb 2016 07:27:16 +0000 (18:27 +1100)
committerMatthew Waters <matthew@centricular.com>
Tue, 16 Feb 2016 14:13:43 +0000 (01:13 +1100)
ext/vulkan/vkbuffermemory.h
ext/vulkan/vkimagememory.h

index 85eaee9..e25e57d 100644 (file)
@@ -40,6 +40,7 @@ GType gst_vulkan_buffer_memory_allocator_get_type(void);
 #define GST_VULKAN_BUFFER_MEMORY_ALLOCATOR_CAST(obj)            ((GstVulkanBufferMemoryAllocator *)(obj))
 
 #define GST_VULKAN_BUFFER_MEMORY_ALLOCATOR_NAME "VulkanBuffer"
+#define GST_CAPS_FEATURE_MEMORY_VULKAN_BUFFER "memory:" GST_VULKAN_BUFFER_MEMORY_ALLOCATOR_NAME
 
 struct _GstVulkanBufferMemory
 {
index f492df0..eb957b9 100644 (file)
@@ -42,6 +42,7 @@ GType gst_vulkan_image_memory_allocator_get_type(void);
 #define GST_VULKAN_IMAGE_MEMORY_ALLOCATOR_CAST(obj)            ((GstVulkanImageMemoryAllocator *)(obj))
 
 #define GST_VULKAN_IMAGE_MEMORY_ALLOCATOR_NAME "VulkanImage"
+#define GST_CAPS_FEATURE_MEMORY_VULKAN_IMAGE "memory:" GST_VULKAN_IMAGE_MEMORY_ALLOCATOR_NAME
 
 struct _GstVulkanImageMemory
 {