diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2017-01-09 11:43:31 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2017-01-23 13:56:09 +0000 |
commit | 5575226f6b25bcf507c3412677756e07ce671cef (patch) | |
tree | 27cd18fdea64065c2cb944e8150032162a09beba /examples | |
parent | 03fe99ba3a7d29b1606660baa407cff21c4d4d35 (diff) |
PathItem: add optional threaded triangulation
Spending 300+ ms in polish for the tiger when running with the generic
backend is not going to fly.
Therefore, add an optional mode for asynchronous triangulation.
Change-Id: Ida44c7b8a28d38fb11243a6657221f039c62e21b
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/quick/pathitem/content/pathitemgallery.qml | 1 | ||||
-rw-r--r-- | examples/quick/pathitem/content/tiger.qml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/quick/pathitem/content/pathitemgallery.qml b/examples/quick/pathitem/content/pathitemgallery.qml index 88fe5b646d..3ade189ffd 100644 --- a/examples/quick/pathitem/content/pathitemgallery.qml +++ b/examples/quick/pathitem/content/pathitemgallery.qml @@ -170,7 +170,6 @@ Rectangle { cellHeight: 300 delegate: pathGalleryDelegate model: pathGalleryModel - cacheBuffer: 1000 } } diff --git a/examples/quick/pathitem/content/tiger.qml b/examples/quick/pathitem/content/tiger.qml index 2013cc9f2b..7d275ba22f 100644 --- a/examples/quick/pathitem/content/tiger.qml +++ b/examples/quick/pathitem/content/tiger.qml @@ -53,6 +53,8 @@ import QtQuick 2.9 PathItem { id: pathItem + asynchronous: true + anchors.fill: parent scale: 0.4 |