|virtual LinuxDmabufUnstableV1Buffer *||importBuffer (const QVector< Plane > &planes, uint32_t format, const QSize &size, Flags flags)=0|
The Iface class provides an interface from the LinuxDmabufInterface into the compositor.
Member Function Documentation
Imports a linux-dmabuf buffer into the compositor.
The parent LinuxDmabufUnstableV1Interface class takes ownership of returned buffer objects.
In return the returned buffer takes ownership of the file descriptor for each plane.
Note that it is the responsibility of the caller to close the file descriptors when the import fails.
- The imported buffer on success, and nullptr otherwise.
The documentation for this class was generated from the following file: