diff options
Diffstat (limited to 'basicsuite/shared/SharedMain.qml')
-rw-r--r-- | basicsuite/shared/SharedMain.qml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/basicsuite/shared/SharedMain.qml b/basicsuite/shared/SharedMain.qml index ec6d13b..543355c 100644 --- a/basicsuite/shared/SharedMain.qml +++ b/basicsuite/shared/SharedMain.qml @@ -60,6 +60,15 @@ Window { color: "black" + /* Updating Text properties dynamically can cause rebuild of whole SceneGraph node tree which is expensive. + Enabling this might help in that case to prevent full rebuild from happening. + More info see https://www.qt.io/blog/2017/01/19/shoot-foot-using-scene-graph-neat-optimization-trick-inside + */ + readonly property bool clipDynamicText: false + + /* SpeedView uses Canvas so it might be optimization when enabling layer for rendering it */ + readonly property bool enableLayerForSpeedView: false + Item { id: root anchors.centerIn: window.contentItem |