Index: src/utils/debugger/SkDebugCanvas.h |
diff --git a/src/utils/debugger/SkDebugCanvas.h b/src/utils/debugger/SkDebugCanvas.h |
index c61627d71d3230ae8320ddf4493bb4585df81c0a..0beb64237f2c814466890d0dc71671910e4e4dc3 100644 |
--- a/src/utils/debugger/SkDebugCanvas.h |
+++ b/src/utils/debugger/SkDebugCanvas.h |
@@ -149,6 +149,7 @@ public: |
void setUserMatrix(SkMatrix matrix) { |
fUserMatrix = matrix; |
+ fDrawNeedsReset = true; |
} |
SkString clipStackData() const { return fClipStackData; } |
@@ -261,6 +262,7 @@ private: |
bool fMegaVizMode; |
int fIndex; |
SkMatrix fUserMatrix; |
+ bool fDrawNeedsReset; // fUserMatrix has changed so the incremental draw won't work |
SkMatrix fMatrix; |
SkIRect fClip; |