aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items/qsgcontext2d_p_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/items/qsgcontext2d_p_p.h')
-rw-r--r--src/declarative/items/qsgcontext2d_p_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/items/qsgcontext2d_p_p.h b/src/declarative/items/qsgcontext2d_p_p.h
index 4fcf40406e..ed73b2fbd2 100644
--- a/src/declarative/items/qsgcontext2d_p_p.h
+++ b/src/declarative/items/qsgcontext2d_p_p.h
@@ -82,6 +82,7 @@ public:
, cachedImage(1,1, QImage::Format_ARGB32)
, canvas(0)
, waitingForPainting(false)
+ , valid(false)
{
}
~QSGContext2DPrivate()
@@ -180,6 +181,7 @@ public:
void clearCommands()
{
+ qDebug() << "painting commands:" << commands.size();
commands.remove(0, commands.size());
variants.remove(0, variants.size());
pens.remove(0, pens.size());
@@ -227,6 +229,8 @@ public:
QImage cachedImage;
QSGCanvasItem* canvas;
bool waitingForPainting;
+ bool valid;
+ QRectF tileRect;
};
QT_END_NAMESPACE