aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/debugger/SkDebugCanvas.cpp1
-rw-r--r--src/utils/debugger/SkDebugCanvas.h9
-rw-r--r--src/utils/debugger/SkDrawCommand.cpp1
-rw-r--r--src/utils/debugger/SkDrawCommand.h4
4 files changed, 0 insertions, 15 deletions
diff --git a/src/utils/debugger/SkDebugCanvas.cpp b/src/utils/debugger/SkDebugCanvas.cpp
index 4b5e03bf1f..b1e906ae90 100644
--- a/src/utils/debugger/SkDebugCanvas.cpp
+++ b/src/utils/debugger/SkDebugCanvas.cpp
@@ -128,7 +128,6 @@ SkDebugCanvas::~SkDebugCanvas() {
}
void SkDebugCanvas::addDrawCommand(SkDrawCommand* command) {
- command->setOffset(this->getOpID());
fCommandVector.push(command);
}
diff --git a/src/utils/debugger/SkDebugCanvas.h b/src/utils/debugger/SkDebugCanvas.h
index 35dd6fb92d..8cf16d2f02 100644
--- a/src/utils/debugger/SkDebugCanvas.h
+++ b/src/utils/debugger/SkDebugCanvas.h
@@ -255,15 +255,6 @@ private:
*/
void applyUserTransform(SkCanvas* canvas);
- size_t getOpID() const {
-#if 0
- if (fPicture) {
- return fPicture->EXPERIMENTAL_curOpID();
- }
-#endif
- return 0;
- }
-
void resetClipStackData() { fClipStackData.reset(); fCalledAddStackData = false; }
void addClipStackData(const SkPath& devPath, const SkPath& operand, SkRegion::Op elementOp);
diff --git a/src/utils/debugger/SkDrawCommand.cpp b/src/utils/debugger/SkDrawCommand.cpp
index 38f02d9616..d09de78351 100644
--- a/src/utils/debugger/SkDrawCommand.cpp
+++ b/src/utils/debugger/SkDrawCommand.cpp
@@ -16,7 +16,6 @@
SkDrawCommand::SkDrawCommand(OpType type)
: fOpType(type)
- , fOffset(0)
, fVisible(true) {
}
diff --git a/src/utils/debugger/SkDrawCommand.h b/src/utils/debugger/SkDrawCommand.h
index 9e25f4d20d..760ce52052 100644
--- a/src/utils/debugger/SkDrawCommand.h
+++ b/src/utils/debugger/SkDrawCommand.h
@@ -59,9 +59,6 @@ public:
virtual SkString toString() const;
- void setOffset(size_t offset) { fOffset = offset; }
- size_t offset() const { return fOffset; }
-
virtual const char* toCString() const {
return GetCommandString(fOpType);
}
@@ -106,7 +103,6 @@ protected:
private:
OpType fOpType;
- size_t fOffset;
bool fVisible;
};