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

Side by Side Diff: src/utils/debugger/SkDebugCanvas.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/SkDebugger.h ('k') | src/utils/debugger/SkDebugCanvas.cpp » ('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 SKDEBUGCANVAS_H_ 10 #ifndef SKDEBUGCANVAS_H_
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 Sets the draw command for a given index. 95 Sets the draw command for a given index.
96 @param index The index to overwrite 96 @param index The index to overwrite
97 @param command The new command 97 @param command The new command
98 */ 98 */
99 void setDrawCommandAt(int index, SkDrawCommand* command); 99 void setDrawCommandAt(int index, SkDrawCommand* command);
100 100
101 /** 101 /**
102 Returns information about the command at the given index. 102 Returns information about the command at the given index.
103 @param index The index of the command 103 @param index The index of the command
104 */ 104 */
105 SkTDArray<SkString*>* getCommandInfo(int index); 105 const SkTDArray<SkString*>* getCommandInfo(int index) const;
106 106
107 /** 107 /**
108 Returns the visibility of the command at the given index. 108 Returns the visibility of the command at the given index.
109 @param index The index of the command 109 @param index The index of the command
110 */ 110 */
111 bool getDrawCommandVisibilityAt(int index); 111 bool getDrawCommandVisibilityAt(int index);
112 112
113 /** 113 /**
114 Returns the vector of draw commands 114 Returns the vector of draw commands
115 */ 115 */
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 bool lastClipStackData(const SkPath& devPath); 324 bool lastClipStackData(const SkPath& devPath);
325 void outputConicPoints(const SkPoint* pts, SkScalar weight); 325 void outputConicPoints(const SkPoint* pts, SkScalar weight);
326 void outputPoints(const SkPoint* pts, int count); 326 void outputPoints(const SkPoint* pts, int count);
327 void outputPointsCommon(const SkPoint* pts, int count); 327 void outputPointsCommon(const SkPoint* pts, int count);
328 void outputScalar(SkScalar num); 328 void outputScalar(SkScalar num);
329 329
330 typedef SkCanvas INHERITED; 330 typedef SkCanvas INHERITED;
331 }; 331 };
332 332
333 #endif 333 #endif
OLDNEW
« no previous file with comments | « debugger/SkDebugger.h ('k') | src/utils/debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698