mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-05 20:45:43 +00:00
Where the compositor's Vulkan driver has no VK_KHR_external_memory_fd and VK_EXT_external_memory_dma_buf (Kirin Mali r18p0 and similar), every client frame failed with INVALID_EXTERNAL_HANDLE and nothing reached the screen. A linear single-plane dma-buf is now mapped and copied into a host-visible buffer before each upload at its row pitch. Drivers that import dma-bufs keep the existing path. Based on XiaoyuZhou000's reference patch in ASEbrahim/MaliBridge#95.