aboutsummaryrefslogtreecommitdiffstats
path: root/examples/external/matplotlib/widget3d
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-04-13 15:21:19 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-04-13 16:04:43 +0200
commitef707d2077862933b767bccf17ca0c54f9475de0 (patch)
tree738eab008fdfbdb4a027e2349f3619b79c2641e5 /examples/external/matplotlib/widget3d
parentaf1bdd8447771728321984f87447187f0284db6b (diff)
PySide6: Fix performance of QPainter::drawPoints(QPolygon)
Reorder the overloads so that the QPolygon overload is checked first before the costly sequence type check of the QPoint list. Speeds up the example from 1800ms to 80ms. Fixes: PYSIDE-1540 Pick-to: 6.0 5.15 Change-Id: I108b0e98c82540703ee80345026ecdc3b55dfd4e Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/external/matplotlib/widget3d')
0 files changed, 0 insertions, 0 deletions