I would like to clarify an ownership of an imported buffer by
An application can import their own buffer by passing the buffer
information with VASurfaceAttribExternalBufferDescriptor.
It may pass a prime fd to the driver.
I wonder if the application can close the fd after the CreateSurface()
I expect the application can.
Looking intel/media-driver implementation, the implementation creates
GEM handle internally.
It will be destroyed in calling DestroySurface().
Therefore, my expectation is true at least with intel/media-driver.
My question is if it is guaranteed in VA-API level.
In other words, all VA-API drivers must take ownership of the passed
Thanks in advance,