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

virtual LinuxDmabufUnstableV1Buffer* KWayland::Server::LinuxDmabufUnstableV1Interface::Impl::importBuffer ( const QVector< Plane > &  planes,
uint32_t  format,
const QSize size,
Flags  flags 
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.

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-2020 The KDE developers.
Generated on Wed Jul 8 2020 22:48:53 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.