aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/scenegraph/d3d12/qsgd3d12rendercontext_p.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2016-05-07 15:33:47 +0200
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2016-05-08 20:03:24 +0000
commit3fe2ecccc96ef1d8243e0683853c5db8c6ed9ee0 (patch)
tree8a71bdc03443808cbb6fa4cc27ac34f8e9fd861c /src/plugins/scenegraph/d3d12/qsgd3d12rendercontext_p.h
parente3716cdf88a09109e368adc4f73fc52ff6325f83 (diff)
D3D12: Massage tst_qquickwindow and some sg semantics
Change-Id: Ic4cc9ae5c1df2ab7e1da50ac414dc3d7f264e691 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/plugins/scenegraph/d3d12/qsgd3d12rendercontext_p.h')
-rw-r--r--src/plugins/scenegraph/d3d12/qsgd3d12rendercontext_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/scenegraph/d3d12/qsgd3d12rendercontext_p.h b/src/plugins/scenegraph/d3d12/qsgd3d12rendercontext_p.h
index e2cd6e3182..86a300831d 100644
--- a/src/plugins/scenegraph/d3d12/qsgd3d12rendercontext_p.h
+++ b/src/plugins/scenegraph/d3d12/qsgd3d12rendercontext_p.h
@@ -70,8 +70,12 @@ public:
void setEngine(QSGD3D12Engine *engine);
QSGD3D12Engine *engine() { return m_engine; }
+ void ensureInitializedEmitted();
+ void setInitializedPending() { m_pendingInitialized = true; }
+
private:
QSGD3D12Engine *m_engine = nullptr;
+ bool m_pendingInitialized = false;
};
QT_END_NAMESPACE