KWayland::Server::LinuxDmabufBuffer
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
◆ format()
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.
◆ size()
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-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.