aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickpainteditem
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@digia.com>2014-08-19 16:08:23 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2014-08-27 08:13:46 +0200
commit9ae3e24e339b6f9b1f4f3bcf66d76b8f045932e7 (patch)
tree608d814a6dc576782590d6dde7ac12410b9ee8e1 /tests/auto/quick/qquickpainteditem
parentbfee76bdc96cfa8b4decf6d099ff690446d2f8eb (diff)
Added QSGPainterNode abstraction to QSGAdaptationLayer
This allows the scenegraph backend to customize how QSGPainterNodes are rendered. Change-Id: I640dcf121d0be6bda615cf30591d502329fc89d0 Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'tests/auto/quick/qquickpainteditem')
-rw-r--r--tests/auto/quick/qquickpainteditem/tst_qquickpainteditem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/quick/qquickpainteditem/tst_qquickpainteditem.cpp b/tests/auto/quick/qquickpainteditem/tst_qquickpainteditem.cpp
index d9e893692d..4ae880f95b 100644
--- a/tests/auto/quick/qquickpainteditem/tst_qquickpainteditem.cpp
+++ b/tests/auto/quick/qquickpainteditem/tst_qquickpainteditem.cpp
@@ -37,7 +37,7 @@
#include <QtQuick/qquickview.h>
#include <private/qquickitem_p.h>
-#include <private/qsgpainternode_p.h>
+#include <private/qsgdefaultpainternode_p.h>
class tst_QQuickPaintedItem: public QObject
{
@@ -78,11 +78,11 @@ public:
QSGNode *updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *data)
{
- paintNode = static_cast<QSGPainterNode *>(QQuickPaintedItem::updatePaintNode(oldNode, data));
+ paintNode = static_cast<QSGDefaultPainterNode *>(QQuickPaintedItem::updatePaintNode(oldNode, data));
return paintNode;
}
- QSGPainterNode *paintNode;
+ QSGDefaultPainterNode *paintNode;
int paintRequests;
QRectF clipRect;
};