Dirty flags
Compare changes
Files
4- Mårten Nordheim authored
Adds a CameraDirty entry to QDemonRenderNode::Flag. It already has Orthographic, so if it should move then they can move together. Camera now stores the previous viewport and design dimensions it calculated projection with so we can avoid the calculation completely if nothing changed.
+ 17
− 9
@@ -34,6 +34,8 @@
@@ -365,7 +367,7 @@ bool QQuick3DCamera::enableFrustumCulling() const
@@ -375,19 +377,25 @@ QDemonRenderGraphObject *QQuick3DCamera::updateSpatialNode(QDemonRenderGraphObje