6#include <QtWaylandCompositor/private/qwlhardwarelayerintegration_p.h>
7#include <QtWaylandCompositor/private/qwlhardwarelayerintegrationfactory_p.h>
9#include <QtCore/private/qobject_p.h>
33 if (!environmentKey.
isEmpty()) {
34 if (
keys.contains(environmentKey)) {
37 qWarning() <<
"Unknown hardware layer integration:" << environmentKey
38 <<
"Valid layer integrations are" <<
keys;
40 }
else if (!
keys.isEmpty()) {
43 qWarning() <<
"No wayland hardware layer integrations found";
77 if (
d->layerIntegration())
78 d->layerIntegration()->remove(
this);
97 return d->m_stackingLevel;
103 if (
level ==
d->m_stackingLevel)
106 d->m_stackingLevel =
level;
113 return d->m_waylandItem;
120 if (
auto *
waylandItem = qobject_cast<QWaylandQuickItem *>(
p)) {
131 if (
auto integration =
d->layerIntegration())
132 integration->add(
this);
134 qWarning() <<
"No hardware layer integration. WaylandHarwareLayer has no effect.";
151#include "moc_qwaylandquickhardwarelayer_p.cpp"
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
QObject * parent() const
Returns a pointer to the parent object.
\macro QT_RESTRICTED_CAST_FROM_ASCII
static QString fromLocal8Bit(QByteArrayView ba)
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
static QtWayland::HardwareLayerIntegration * s_hardwareLayerIntegration
QtWayland::HardwareLayerIntegration * layerIntegration()
QWaylandQuickItem * m_waylandItem
QMatrix4x4 m_matrixFromRenderThread
void setSceneGraphPainting(bool)
QWaylandQuickHardwareLayer(QObject *parent=nullptr)
\qmltype WaylandHardwareLayer \inqmlmodule QtWayland.Compositor \preliminary
~QWaylandQuickHardwareLayer() override
void componentComplete() override
Invoked after the root component that caused this instantiation has completed construction.
void classBegin() override
Invoked after class creation, but before any properties have been set.
void stackingLevelChanged()
QWaylandQuickItem * waylandItem() const
void setStackingLevel(int level)
\qmltype WaylandQuickItem \instantiates QWaylandQuickItem \inqmlmodule QtWayland.Compositor
void setPaintEnabled(bool paintEnabled)
static QStringList keys()
static HardwareLayerIntegration * create(const QString &name, const QStringList &args)
Combined button and popup list for selecting options.
GLenum GLuint GLint level
Q_CORE_EXPORT QByteArray qgetenv(const char *varName)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent