aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/tutorials/extending-qml/chapter6-plugins/main.cpp
diff options
context:
space:
mode:
authorMatthias Rauter <matthias.rauter@qt.io>2023-06-06 09:23:30 +0200
committerMatthias Rauter <matthias.rauter@qt.io>2023-06-07 14:14:47 +0200
commit2dc17a45fb586ef81fca43d60f079d053b66ac12 (patch)
tree891e68edf706316572497883f929103b6a07a81b /examples/qml/tutorials/extending-qml/chapter6-plugins/main.cpp
parentb478224053e59957f66b5636a291cb6478ca2ccd (diff)
Software renderer: Add floating point nodes to dirty list
m_obscuredRegion avoids overpainting of nodes that are not updated. However, due to the integer precision of QRegion, this mechanism does not work for nodes with a bounding rectangle with floats. Currently we add boundingRectMin to m_obscuredRegion, however, which is not sufficient. Nodes where the boundingRectMin is different from the real boundingRect (and boundingRectMax) can not be added correctly to m_obscuredRegion. Therefore these nodes are now also set to dirty and updated. Fixes: QTBUG-113745 Change-Id: I5cc5540ed45593b09b312a1704459e95bebab521 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'examples/qml/tutorials/extending-qml/chapter6-plugins/main.cpp')
0 files changed, 0 insertions, 0 deletions