Index: tools/debugger/SkDebugCanvas.h |
diff --git a/tools/debugger/SkDebugCanvas.h b/tools/debugger/SkDebugCanvas.h |
index d06637d42b26ba1ae95e5154de71cf8fdd9be227..9549cb06ad93b14226f94deca80bfdb3c2329703 100644 |
--- a/tools/debugger/SkDebugCanvas.h |
+++ b/tools/debugger/SkDebugCanvas.h |
@@ -43,6 +43,10 @@ public: |
void setClipVizColor(SkColor clipVizColor) { this->fClipVizColor = clipVizColor; } |
SkColor getClipVizColor() const { return fClipVizColor; } |
+ void setDrawGpuBatchBounds(bool drawGpuBatchBounds) { |
+ fDrawGpuBatchBounds = drawGpuBatchBounds; |
+ } |
+ |
bool getAllowSimplifyClip() const { return fAllowSimplifyClip; } |
void setPicture(SkPicture* picture) { fPicture = picture; } |
@@ -245,6 +249,7 @@ private: |
bool fOverrideFilterQuality; |
SkFilterQuality fFilterQuality; |
SkColor fClipVizColor; |
+ bool fDrawGpuBatchBounds; |
SkAutoTUnref<SkNWayCanvas> fPaintFilterCanvas; |