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:
parent
f987da4c43
commit
62e635a52a
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue