KWayland::Server::LinuxDmabufBuffer Class Reference

#include <linuxdmabuf_v1_interface.h>

Inherited by KWayland::Server::LinuxDmabufUnstableV1Buffer.

Public Member Functions

uint32_t format () const
QSize size () const

Detailed Description

The base class for linux-dmabuf buffers.

Compositors should reimplement this class to store objects specific to the underlying graphics stack.

Definition at line 33 of file linuxdmabuf_v1_interface.h.

Member Function Documentation

uint32_t KWayland::Server::LinuxDmabufBuffer::format ( ) const

Returns the DRM format code for the buffer.

Definition at line 47 of file linuxdmabuf_v1_interface.cpp.

QSize KWayland::Server::LinuxDmabufBuffer::size ( ) const

Returns the size of the buffer.

Definition at line 52 of file linuxdmabuf_v1_interface.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Dec 3 2020 22:51:09 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.