Search for usage in LXR

KWaylandServer::LinuxDmaBufV1ClientBufferIntegration::RendererInterface Class Referenceabstract

#include <linuxdmabufv1clientbuffer.h>

Public Member Functions

virtual LinuxDmaBufV1ClientBufferimportBuffer (const QVector< LinuxDmaBufV1Plane > &planes, quint32 format, const QSize &size, quint32 flags)=0

Detailed Description

The Iface class provides an interface from the LinuxDmabufInterface into the compositor.

Definition at line 73 of file linuxdmabufv1clientbuffer.h.

Member Function Documentation

virtual LinuxDmaBufV1ClientBuffer* KWaylandServer::LinuxDmaBufV1ClientBufferIntegration::RendererInterface::importBuffer ( const QVector< LinuxDmaBufV1Plane > &  planes,
quint32  format,
const QSize size,
quint32  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-2021 The KDE developers.
Generated on Tue Oct 19 2021 23:10:30 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.