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

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

Issue 844493003: Remove incremental draw optimization from SkDebugCanvas (Closed) Base URL: https://skia.googlesource.com/skia.git@debugcanvas-stateless-draw-02-debugger-rasterwidget-update-on-need
Patch Set: rebase Created 5 years, 11 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 | « src/utils/debugger/SkDebugCanvas.cpp ('k') | src/utils/debugger/SkDrawCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/debugger/SkDrawCommand.h
diff --git a/src/utils/debugger/SkDrawCommand.h b/src/utils/debugger/SkDrawCommand.h
index 22ee700dd7ebd820640a7f48b78ba76aa7875cce..746bf5979c842a84820690ee4c49aea5d17778d1 100644
--- a/src/utils/debugger/SkDrawCommand.h
+++ b/src/utils/debugger/SkDrawCommand.h
@@ -42,10 +42,6 @@ public:
virtual void setUserMatrix(const SkMatrix&) {}
- /** Does nothing by default, but used by save() and restore()-type
- subclasses to track unresolved save() calls. */
- virtual void trackSaveState(int* state) {}
-
// The next "active" system is only used by save, saveLayer, and restore.
// It is used to determine which saveLayers are currently active (at a
// given point in the rendering).
@@ -80,7 +76,6 @@ class SkRestoreCommand : public SkDrawCommand {
public:
SkRestoreCommand();
void execute(SkCanvas* canvas) const SK_OVERRIDE;
- void trackSaveState(int* state) SK_OVERRIDE;
Action action() const SK_OVERRIDE { return kPopLayer_Action; }
private:
@@ -511,7 +506,6 @@ class SkSaveCommand : public SkDrawCommand {
public:
SkSaveCommand();
void execute(SkCanvas* canvas) const SK_OVERRIDE;
- void trackSaveState(int* state) SK_OVERRIDE;
Action action() const SK_OVERRIDE { return kPushLayer_Action; }
private:
typedef SkDrawCommand INHERITED;
@@ -523,7 +517,6 @@ public:
SkCanvas::SaveFlags flags);
void execute(SkCanvas* canvas) const SK_OVERRIDE;
void vizExecute(SkCanvas* canvas) const SK_OVERRIDE;
- void trackSaveState(int* state) SK_OVERRIDE;
Action action() const SK_OVERRIDE{ return kPushLayer_Action; }
void setActive(bool active) SK_OVERRIDE { fActive = active; }
bool active() const SK_OVERRIDE { return fActive; }
« no previous file with comments | « src/utils/debugger/SkDebugCanvas.cpp ('k') | src/utils/debugger/SkDrawCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698