aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/util/qsgimagenode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/scenegraph/util/qsgimagenode.h')
-rw-r--r--src/quick/scenegraph/util/qsgimagenode.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/quick/scenegraph/util/qsgimagenode.h b/src/quick/scenegraph/util/qsgimagenode.h
index 7eab42c4e6..d25e732e4b 100644
--- a/src/quick/scenegraph/util/qsgimagenode.h
+++ b/src/quick/scenegraph/util/qsgimagenode.h
@@ -79,6 +79,12 @@ public:
virtual void setOwnsTexture(bool owns) = 0;
virtual bool ownsTexture() const = 0;
+
+ static void rebuildGeometry(QSGGeometry *g,
+ QSGTexture *texture,
+ const QRectF &rect,
+ QRectF sourceRect,
+ TextureCoordinatesTransformMode texCoordMode);
};
Q_DECLARE_OPERATORS_FOR_FLAGS(QSGImageNode::TextureCoordinatesTransformMode)