KWayland::Server::LinuxDmabufUnstableV1Interface::Impl
KWayland::Server::LinuxDmabufUnstableV1Interface::Impl Class Referenceabstract
#include <linuxdmabuf_v1_interface.h>
Public Member Functions | |
virtual LinuxDmabufUnstableV1Buffer * | importBuffer (const QVector< Plane > &planes, uint32_t format, const QSize &size, Flags flags)=0 |
Detailed Description
The Iface class provides an interface from the LinuxDmabufInterface into the compositor.
Definition at line 103 of file linuxdmabuf_v1_interface.h.
Member Function Documentation
◆ importBuffer()
|
pure virtual |
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.
- Returns
- The imported buffer on success, and nullptr otherwise.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 6 2023 03:55:52 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 6 2023 03:55:52 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.