Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: src/utils/debugger/SkDebugCanvas.h

Issue 185293007: Add visualization of clips to debugger (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « debugger/SkDebugger.h ('k') | src/utils/debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/debugger/SkDebugCanvas.h
===================================================================
--- src/utils/debugger/SkDebugCanvas.h (revision 13635)
+++ src/utils/debugger/SkDebugCanvas.h (working copy)
@@ -23,8 +23,10 @@
SkDebugCanvas(int width, int height);
virtual ~SkDebugCanvas();
- void toggleFilter(bool toggle);
+ void toggleFilter(bool toggle) { fFilter = toggle; }
+ void setMegaVizMode(bool megaVizMode) { fMegaVizMode = megaVizMode; }
+
/**
* Enable or disable overdraw visualization
*/
@@ -252,11 +254,14 @@
virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERRIDE;
virtual void onClipRegion(const SkRegion& region, SkRegion::Op) SK_OVERRIDE;
+ void markActiveSaveLayers(int index);
+
private:
SkTDArray<SkDrawCommand*> fCommandVector;
int fWidth;
int fHeight;
bool fFilter;
+ bool fMegaVizMode;
int fIndex;
SkMatrix fUserMatrix;
SkMatrix fMatrix;
« no previous file with comments | « debugger/SkDebugger.h ('k') | src/utils/debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698