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

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

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/SkDrawCommand.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/debugger/SkDrawCommand.cpp
diff --git a/src/utils/debugger/SkDrawCommand.cpp b/src/utils/debugger/SkDrawCommand.cpp
index be7fdfc71674b02a232cbad3485bdbf9b2b42081..47b29f731f87772671edfdee96df432352c7f9e1 100644
--- a/src/utils/debugger/SkDrawCommand.cpp
+++ b/src/utils/debugger/SkDrawCommand.cpp
@@ -831,10 +831,6 @@ void SkRestoreCommand::execute(SkCanvas* canvas) const {
canvas->restore();
}
-void SkRestoreCommand::trackSaveState(int* state) {
- (*state)--;
-}
-
SkRotateCommand::SkRotateCommand(SkScalar degrees)
: INHERITED(ROTATE) {
fDegrees = degrees;
@@ -854,10 +850,6 @@ void SkSaveCommand::execute(SkCanvas* canvas) const {
canvas->save();
}
-void SkSaveCommand::trackSaveState(int* state) {
- (*state)++;
-}
-
SkSaveLayerCommand::SkSaveLayerCommand(const SkRect* bounds, const SkPaint* paint,
SkCanvas::SaveFlags flags)
: INHERITED(SAVE_LAYER) {
@@ -894,10 +886,6 @@ void SkSaveLayerCommand::vizExecute(SkCanvas* canvas) const {
canvas->save();
}
-void SkSaveLayerCommand::trackSaveState(int* state) {
- (*state)++;
-}
-
SkScaleCommand::SkScaleCommand(SkScalar sx, SkScalar sy)
: INHERITED(SCALE) {
fSx = sx;
« no previous file with comments | « src/utils/debugger/SkDrawCommand.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698