commit | f4741c1322944e194ca34a8f5cf8188fe2c0efe2 | [log] [tgz] |
---|---|---|
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Feb 06 20:13:54 2013 +0000 |
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Feb 06 20:13:54 2013 +0000 |
tree | 74b63606c22344173fcd63af98d53a155ba8402b | |
parent | 848b9af52dd545afb1fa37df910bcc87bf657843 [diff] [blame] |
Add overdraw visualization to the debugger https://codereview.appspot.com/7267043/ git-svn-id: http://skia.googlecode.com/svn/trunk@7627 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/debugger/SkDebugger.h b/debugger/SkDebugger.h index 6b85de3..6749ff7 100644 --- a/debugger/SkDebugger.h +++ b/debugger/SkDebugger.h
@@ -99,6 +99,13 @@ return fIndex; } + void setOverdrawViz(bool overDrawViz) { + if (NULL != fDebugCanvas) { + fDebugCanvas->setOverdrawViz(overDrawViz); + } + } + + private: SkDebugCanvas* fDebugCanvas; SkPicture* fPicture;