* gst_vulkan_descriptor_cache_new:
* @pool: a #GstVulkanDescriptorPool
* @n_layouts: number of @layouts
- * @layouts: list of #GstVulkanHandle containing descriptor set layouts
+ * @layouts: (array length=n_layouts): list of #GstVulkanHandle containing
+ * descriptor set layouts
*
* Returns: (transfer full): a new #GstVulkanDescriptorCache
*
/**
* gst_vulkan_descriptor_pool_create:
* @pool: a #GstVulkanDescriptorPool
+ * @n_layouts: number of @layouts
+ * @layouts: (array length=n_layouts): list of #GstVulkanHandle containing
+ * descriptor set layouts
* @error: a #GError
*
* Returns: a new #GstVulkanDescriptorSet
/**
* gst_vulkan_descriptor_set_new_wrapped:
* @set: a VkDescriptorSet
+ * @n_layouts: number of @layouts
+ * @layouts: (array length=n_layouts): list of #GstVulkanHandle containing
+ * descriptor set layouts
*
* Returns: (transfer full): a new #GstVulkanDescriptorSet
*
/**
* gst_vulkan_instance_get_version:
* @instance: a #GstVulkanInstance
- * @major: major version
- * @minor: minor version
- * @patch: patch version
+ * @major: (out): major version
+ * @minor: (out): minor version
+ * @patch: (out): patch version
*
* Retrieve the vulkan instance configured version. Only returns the supported
* API version by the instance without taking into account the requested API
}
}
+/**
+ * gst_vulkan_window_get_surface_dimensions:
+ * @window: a #GstVulkanWindow
+ * @width: (out): Current width of @window
+ * @height: (out): Current height of @window
+ *
+ * Since: 1.18
+ */
void
gst_vulkan_window_get_surface_dimensions (GstVulkanWindow * window,
guint * width, guint * height)