3
0
Fork 0
mirror of https://github.com/lubosz/overte.git synced 2025-04-26 22:15:53 +02:00

Compile qml render thread on *nix

This commit is contained in:
Zach Pomerantz 2016-03-18 18:43:59 -07:00
parent f987da4c43
commit 62e635a52a

View file

@ -15,8 +15,9 @@
#include <QtQuick/QQuickItem>
#include <QtQuick/QQuickWindow>
#include <QtQuick/QQuickRenderControl>
#include <QtCore/QWaitCondition>
#include <QtCore/QThread>
#include <QtCore/QMutex>
#include <QtCore/QWaitCondition>
#include <shared/NsightHelpers.h>
#include <PerfStat.h>
@ -62,6 +63,7 @@ static const QEvent::Type STOP = QEvent::Type(QEvent::User + 4);
class OffscreenQmlRenderThread : public QThread {
public:
OffscreenQmlRenderThread(OffscreenQmlSurface* surface, QOpenGLContext* shareContext);
virtual ~OffscreenQmlRenderThread() = default;
virtual void run() override;
virtual bool event(QEvent *e) override;