Skip to content

Draft: vulkan: Add a helper function to support explicit layouts

What does this MR do and why?

The function extracts buffer information from the gralloc and fills the VkImageDrmFormatModifierExplicitCreateInfoEXT structure, making possible to rely on VK_EXT_image_drm_format_modifier logic for importing gralloc buffers.

A few MRs that are currently on review may benefit from this functionality already. Quick review/merge is appreciated. Tested in scope of !14195 (merged).

Edited by Roman Stratiienko

Merge request reports