KWayland
6 #ifndef WAYLAND_BUFFER_H
7 #define WAYLAND_BUFFER_H
9 #include <QScopedPointer>
11 #include <QWeakPointer>
13 #include "KWayland/Client/kwaylandclient_export.h"
45 void copy(
const void *src);
52 void setReleased(
bool released);
65 void setUsed(
bool used);
67 wl_buffer *buffer()
const;
75 int32_t stride()
const;
79 bool isReleased()
const;
91 Format format()
const;
93 operator wl_buffer *();
94 operator wl_buffer *()
const;
102 static quint32 getId(wl_buffer *b);
106 explicit Buffer(
ShmPool *parent, wl_buffer *buffer,
const QSize &size, int32_t stride,
size_t offset, Format format);
Wrapper class for wl_buffer interface.
Wrapper class for wl_shm interface.
Format
All image formats supported by the implementation.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Jun 4 2023 03:50:50 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.