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

Side by Side Diff: src/utils/debugger/SkDebugCanvas.h

Issue 1034733004: Debugger: remove dead feature (SkPicture offset display) & fix bug (unbalanced indents) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 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 unified diff | Download patch
« no previous file with comments | « debugger/QT/SkListWidget.cpp ('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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 @param command The draw command for execution 248 @param command The draw command for execution
249 */ 249 */
250 void addDrawCommand(SkDrawCommand* command); 250 void addDrawCommand(SkDrawCommand* command);
251 251
252 /** 252 /**
253 Applies any panning and zooming the user has specified before 253 Applies any panning and zooming the user has specified before
254 drawing anything else into the canvas. 254 drawing anything else into the canvas.
255 */ 255 */
256 void applyUserTransform(SkCanvas* canvas); 256 void applyUserTransform(SkCanvas* canvas);
257 257
258 size_t getOpID() const {
259 #if 0
260 if (fPicture) {
261 return fPicture->EXPERIMENTAL_curOpID();
262 }
263 #endif
264 return 0;
265 }
266
267 void resetClipStackData() { fClipStackData.reset(); fCalledAddStackData = fa lse; } 258 void resetClipStackData() { fClipStackData.reset(); fCalledAddStackData = fa lse; }
268 259
269 void addClipStackData(const SkPath& devPath, const SkPath& operand, SkRegion ::Op elementOp); 260 void addClipStackData(const SkPath& devPath, const SkPath& operand, SkRegion ::Op elementOp);
270 void addPathData(const SkPath& path, const char* pathName); 261 void addPathData(const SkPath& path, const char* pathName);
271 bool lastClipStackData(const SkPath& devPath); 262 bool lastClipStackData(const SkPath& devPath);
272 void outputConicPoints(const SkPoint* pts, SkScalar weight); 263 void outputConicPoints(const SkPoint* pts, SkScalar weight);
273 void outputPoints(const SkPoint* pts, int count); 264 void outputPoints(const SkPoint* pts, int count);
274 void outputPointsCommon(const SkPoint* pts, int count); 265 void outputPointsCommon(const SkPoint* pts, int count);
275 void outputScalar(SkScalar num); 266 void outputScalar(SkScalar num);
276 267
277 typedef SkCanvas INHERITED; 268 typedef SkCanvas INHERITED;
278 }; 269 };
279 270
280 #endif 271 #endif
OLDNEW
« no previous file with comments | « debugger/QT/SkListWidget.cpp ('k') | src/utils/debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698