2020-08-02 22:22:19 +00:00
|
|
|
/*
|
|
|
|
KWin - the KDE window manager
|
|
|
|
This file is part of the KDE project.
|
2016-08-05 06:47:32 +00:00
|
|
|
|
2020-08-02 22:22:19 +00:00
|
|
|
SPDX-FileCopyrightText: 2016 Martin Gräßlin <mgraesslin@kde.org>
|
2016-08-05 06:47:32 +00:00
|
|
|
|
2020-08-02 22:22:19 +00:00
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
2016-08-05 06:47:32 +00:00
|
|
|
#ifndef MOCK_GL_H
|
|
|
|
#define MOCK_GL_H
|
|
|
|
|
|
|
|
#include <QByteArray>
|
2023-10-19 06:50:15 +00:00
|
|
|
#include <QList>
|
2016-08-05 06:47:32 +00:00
|
|
|
|
2022-03-23 10:13:38 +00:00
|
|
|
struct MockGL
|
|
|
|
{
|
|
|
|
struct
|
|
|
|
{
|
2016-08-05 06:47:32 +00:00
|
|
|
QByteArray vendor;
|
|
|
|
QByteArray renderer;
|
|
|
|
QByteArray version;
|
2023-10-19 06:50:15 +00:00
|
|
|
QList<QByteArray> extensions;
|
2016-08-05 06:47:32 +00:00
|
|
|
QByteArray extensionsString;
|
|
|
|
QByteArray shadingLanguageVersion;
|
|
|
|
} getString;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern MockGL *s_gl;
|
|
|
|
|
|
|
|
#endif
|