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

Unified Diff: debugger/SkDebugger.h

Issue 282283002: add pathops to debugger (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: make getAllowSimplifyClip const Created 6 years, 7 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/QT/SkSettingsWidget.cpp ('k') | debugger/SkDebugger.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: debugger/SkDebugger.h
diff --git a/debugger/SkDebugger.h b/debugger/SkDebugger.h
index 94300d83657170542150f55d829970fc8c1f6fd5..ffb2953272d8e674e6f1041c7a8a63012dbacf52 100644
--- a/debugger/SkDebugger.h
+++ b/debugger/SkDebugger.h
@@ -111,6 +111,12 @@ public:
}
}
+ void setPathOps(bool pathOps) {
+ if (NULL != fDebugCanvas) {
+ fDebugCanvas->setAllowSimplifyClip(pathOps);
+ }
+ }
+
void setMegaViz(bool megaViz) {
if (NULL != fDebugCanvas) {
fDebugCanvas->setMegaVizMode(megaViz);
@@ -126,6 +132,8 @@ public:
void getOverviewText(const SkTDArray<double>* typeTimes, double totTime,
SkString* overview, int numRuns);
+ void getClipStackText(SkString* clipStack);
+
private:
SkDebugCanvas* fDebugCanvas;
SkPicture* fPicture;
« no previous file with comments | « debugger/QT/SkSettingsWidget.cpp ('k') | debugger/SkDebugger.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698