diff options
author | 2016-02-29 12:46:04 -0800 | |
---|---|---|
committer | 2016-02-29 12:46:05 -0800 | |
commit | 5d5207a39e294e4e810685b2cff1d7c770e21b9c (patch) | |
tree | e14ebe0f4add5680385834159831e520686c39b8 /tools/debugger | |
parent | 84a4e5a8d683bf17d6c3058b977b9dfb000428af (diff) |
fix minor bug drawing batch bounds by default
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1746953002
Review URL: https://codereview.chromium.org/1746953002
Diffstat (limited to 'tools/debugger')
-rw-r--r-- | tools/debugger/SkDebugCanvas.cpp | 2 | ||||
-rw-r--r-- | tools/debugger/SkDebugCanvas.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tools/debugger/SkDebugCanvas.cpp b/tools/debugger/SkDebugCanvas.cpp index 4fc6d14625..91f88d2b66 100644 --- a/tools/debugger/SkDebugCanvas.cpp +++ b/tools/debugger/SkDebugCanvas.cpp @@ -75,7 +75,7 @@ SkDebugCanvas::SkDebugCanvas(int width, int height) , fOverrideFilterQuality(false) , fFilterQuality(kNone_SkFilterQuality) , fClipVizColor(SK_ColorTRANSPARENT) - , fDrawGpuBatchBounds(true) { + , fDrawGpuBatchBounds(false) { fUserMatrix.reset(); // SkPicturePlayback uses the base-class' quickReject calls to cull clipped diff --git a/tools/debugger/SkDebugCanvas.h b/tools/debugger/SkDebugCanvas.h index 9549cb06ad..d81d471970 100644 --- a/tools/debugger/SkDebugCanvas.h +++ b/tools/debugger/SkDebugCanvas.h @@ -47,6 +47,8 @@ public: fDrawGpuBatchBounds = drawGpuBatchBounds; } + bool getDrawGpuBatchBounds() const { return fDrawGpuBatchBounds; } + bool getAllowSimplifyClip() const { return fAllowSimplifyClip; } void setPicture(SkPicture* picture) { fPicture = picture; } |