mirror of https://github.com/FFmpeg/FFmpeg.git
The hack was added to enable exporting of vulkan images to DRM. On Intel hardware, specifically for DRM images, all planes must be allocated next to each other, due to hardware limitation, so the hack used a single large allocation and suballocated all planes from it. By natively supporting multiplane images, the driver is what decides the layout, so exporting just works. It's a hack because it conflicted heavily with image allocation, and with the whole ecosystem in general, before multiplane images were supported, which just made it redundant. This is also the commit which broke the hwcontext hardest and prompted the entire rewrite in the first place.pull/389/head
parent
46a77c6496
commit
e0f2d2e702
3 changed files with 4 additions and 15 deletions
Loading…
Reference in new issue