From 33753f56c7b60d896a13810180ccc1e8d5864903 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Fri, 9 Oct 2020 10:59:46 +0200 Subject: Doc: mention that clipping can affect performance and link to page Change-Id: I85e60dd5c8643a8e443a14250987b2b38c78dc08 Reviewed-by: Laszlo Agocs (cherry picked from commit c1c01e21d1a745eccb17d61e10d7f8a4d54d3a43) Reviewed-by: Qt Cherry-pick Bot --- src/quick/items/qquickitem.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/quick/items/qquickitem.cpp b/src/quick/items/qquickitem.cpp index 9e32ccfee9..2645ce97a6 100644 --- a/src/quick/items/qquickitem.cpp +++ b/src/quick/items/qquickitem.cpp @@ -3753,6 +3753,9 @@ QList QQuickItem::childItems() const as the painting of its children, to its bounding rectangle. If you set clipping during an item's paint operation, remember to re-set it to prevent clipping the rest of your scene. + + \note Clipping can affect rendering performance. See \l {Clipping} for more + information. */ bool QQuickItem::clip() const { -- cgit v1.2.3