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

Side by Side Diff: debugger/SkDebugger.h

Issue 706363002: SkDrawCommand scrubbing (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: getType -> const Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « debugger/QT/SkDebuggerGUI.cpp ('k') | src/utils/debugger/SkDebugCanvas.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SKDEBUGGER_H_ 10 #ifndef SKDEBUGGER_H_
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 void setUserMatrix(SkMatrix userMatrix) { 73 void setUserMatrix(SkMatrix userMatrix) {
74 // Should this live in debugger instead? 74 // Should this live in debugger instead?
75 fDebugCanvas->setUserMatrix(userMatrix); 75 fDebugCanvas->setUserMatrix(userMatrix);
76 } 76 }
77 77
78 int getCommandAtPoint(int x, int y, int index) { 78 int getCommandAtPoint(int x, int y, int index) {
79 return fDebugCanvas->getCommandAtPoint(x, y, index); 79 return fDebugCanvas->getCommandAtPoint(x, y, index);
80 } 80 }
81 81
82 SkTDArray<SkString*>* getCommandInfo(int index) { 82 const SkTDArray<SkString*>* getCommandInfo(int index) const {
83 return fDebugCanvas->getCommandInfo(index); 83 return fDebugCanvas->getCommandInfo(index);
84 } 84 }
85 85
86 const SkMatrix& getCurrentMatrix() { 86 const SkMatrix& getCurrentMatrix() {
87 return fDebugCanvas->getCurrentMatrix(); 87 return fDebugCanvas->getCurrentMatrix();
88 } 88 }
89 89
90 const SkIRect& getCurrentClip() { 90 const SkIRect& getCurrentClip() {
91 return fDebugCanvas->getCurrentClip(); 91 return fDebugCanvas->getCurrentClip();
92 } 92 }
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 private: 131 private:
132 SkDebugCanvas* fDebugCanvas; 132 SkDebugCanvas* fDebugCanvas;
133 SkPicture* fPicture; 133 SkPicture* fPicture;
134 134
135 int fIndex; 135 int fIndex;
136 }; 136 };
137 137
138 138
139 #endif /* SKDEBUGGER_H_ */ 139 #endif /* SKDEBUGGER_H_ */
OLDNEW
« no previous file with comments | « debugger/QT/SkDebuggerGUI.cpp ('k') | src/utils/debugger/SkDebugCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698