|
|
|
@ -23,8 +23,6 @@ |
|
|
|
#include <QPainter> |
|
|
|
#include <QPainter> |
|
|
|
#include <QScreen> |
|
|
|
#include <QScreen> |
|
|
|
|
|
|
|
|
|
|
|
Q_DECLARE_METATYPE(PipeWireFrame); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define QCOMPAREIMG(actual, expected, id) \ |
|
|
|
#define QCOMPAREIMG(actual, expected, id) \ |
|
|
|
{ \
|
|
|
|
{ \
|
|
|
|
if ((actual) != (expected)) { \
|
|
|
|
if ((actual) != (expected)) { \
|
|
|
|
@ -49,8 +47,6 @@ public: |
|
|
|
ScreencastingTest() |
|
|
|
ScreencastingTest() |
|
|
|
: GenericSceneOpenGLTest(QByteArrayLiteral("O2")) |
|
|
|
: GenericSceneOpenGLTest(QByteArrayLiteral("O2")) |
|
|
|
{ |
|
|
|
{ |
|
|
|
qRegisterMetaType<PipeWireFrame>(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
auto wrap = [this](const QString &process, const QStringList &arguments = {}) { |
|
|
|
auto wrap = [this](const QString &process, const QStringList &arguments = {}) { |
|
|
|
// Make sure PipeWire is running. If it's already running it will just exit
|
|
|
|
// Make sure PipeWire is running. If it's already running it will just exit
|
|
|
|
QProcess *p = new QProcess(this); |
|
|
|
QProcess *p = new QProcess(this); |
|
|
|
|