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

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

Returns the DRM format code for the buffer.

Definition at line 48 of file linuxdmabuf_v1_interface.cpp.

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

Returns the size of the buffer.

Definition at line 53 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 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.