KWaylandServer::LinuxDmabufBuffer Class Reference

#include <linuxdmabuf_v1_interface.h>

Inherited by KWaylandServer::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 31 of file linuxdmabuf_v1_interface.h.

Member Function Documentation

uint32_t KWaylandServer::LinuxDmabufBuffer::format ( ) const

Returns the DRM format code for the buffer.

Definition at line 46 of file linuxdmabuf_v1_interface.cpp.

QSize KWaylandServer::LinuxDmabufBuffer::size ( ) const

Returns the size of the buffer.

Definition at line 51 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 Fri Sep 18 2020 23:06:16 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.