| commit | febc0ec41b4cff6ea69f2b89d72c0d330d198283 | [log] [tgz] |
|---|---|---|
| author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Mar 11 22:53:11 2013 +0000 |
| committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Mar 11 22:53:11 2013 +0000 |
| tree | 1abf2edbdde7b572077ee45e405ee3526599ea36 | |
| parent | 512977aead6e6b7483a4cb4866b3df435ca78214 [diff] [blame] |
Add misc. optimizations to filter tool https://codereview.appspot.com/7705043/ git-svn-id: http://skia.googlecode.com/svn/trunk@8087 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/debugger/SkDebugCanvas.cpp b/debugger/SkDebugCanvas.cpp index 4e71bc3..e8589f3 100644 --- a/debugger/SkDebugCanvas.cpp +++ b/debugger/SkDebugCanvas.cpp
@@ -226,6 +226,10 @@ return fCommandVector; } +SkTDArray <SkDrawCommand*>& SkDebugCanvas::getDrawCommands() { + return fCommandVector; +} + // TODO(chudy): Free command string memory. SkTArray<SkString>* SkDebugCanvas::getDrawCommandsAsStrings() const { SkTArray<SkString>* commandString = new SkTArray<SkString>(fCommandVector.count());