2020-08-02 22:22:19 +00:00
|
|
|
/*
|
|
|
|
KWin - the KDE window manager
|
|
|
|
This file is part of the KDE project.
|
2017-06-24 19:05:49 +00:00
|
|
|
|
2020-08-02 22:22:19 +00:00
|
|
|
SPDX-FileCopyrightText: 2017 Martin Flöser <mgraesslin@kde.org>
|
2017-06-24 19:05:49 +00:00
|
|
|
|
2020-08-02 22:22:19 +00:00
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
2017-06-24 19:05:49 +00:00
|
|
|
#pragma once
|
|
|
|
#include "kwin_wayland_test.h"
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
|
|
|
class GenericSceneOpenGLTest : public QObject
|
|
|
|
{
|
2022-03-23 10:13:38 +00:00
|
|
|
Q_OBJECT
|
2017-06-24 19:05:49 +00:00
|
|
|
public:
|
|
|
|
~GenericSceneOpenGLTest() override;
|
2022-03-23 10:13:38 +00:00
|
|
|
|
2017-06-24 19:05:49 +00:00
|
|
|
protected:
|
|
|
|
GenericSceneOpenGLTest(const QByteArray &envVariable);
|
|
|
|
private Q_SLOTS:
|
|
|
|
void initTestCase();
|
|
|
|
void cleanup();
|
|
|
|
void testRestart();
|
|
|
|
|
|
|
|
private:
|
|
|
|
QByteArray m_envVariable;
|
|
|
|
};
|