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

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

Issue 377623002: Split SkPicturePlayback out of SkPictureData (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add virtual dtor for SkPicturePlayback Created 6 years, 5 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 | « src/utils/SkPictureUtils.cpp ('k') | tools/CopyTilesRenderer.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 SKDEBUGCANVAS_H_ 10 #ifndef SKDEBUGCANVAS_H_
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 */ 307 */
308 void addDrawCommand(SkDrawCommand* command); 308 void addDrawCommand(SkDrawCommand* command);
309 309
310 /** 310 /**
311 Applies any panning and zooming the user has specified before 311 Applies any panning and zooming the user has specified before
312 drawing anything else into the canvas. 312 drawing anything else into the canvas.
313 */ 313 */
314 void applyUserTransform(SkCanvas* canvas); 314 void applyUserTransform(SkCanvas* canvas);
315 315
316 size_t getOpID() const { 316 size_t getOpID() const {
317 #if 0
317 if (NULL != fPicture) { 318 if (NULL != fPicture) {
318 return fPicture->EXPERIMENTAL_curOpID(); 319 return fPicture->EXPERIMENTAL_curOpID();
319 } 320 }
321 #endif
320 return 0; 322 return 0;
321 } 323 }
322 324
323 void resetClipStackData() { fClipStackData.reset(); fCalledAddStackData = fa lse; } 325 void resetClipStackData() { fClipStackData.reset(); fCalledAddStackData = fa lse; }
324 326
325 void addClipStackData(const SkPath& devPath, const SkPath& operand, SkRegion ::Op elementOp); 327 void addClipStackData(const SkPath& devPath, const SkPath& operand, SkRegion ::Op elementOp);
326 void addPathData(const SkPath& path, const char* pathName); 328 void addPathData(const SkPath& path, const char* pathName);
327 bool lastClipStackData(const SkPath& devPath); 329 bool lastClipStackData(const SkPath& devPath);
328 void outputConicPoints(const SkPoint* pts, SkScalar weight); 330 void outputConicPoints(const SkPoint* pts, SkScalar weight);
329 void outputPoints(const SkPoint* pts, int count); 331 void outputPoints(const SkPoint* pts, int count);
330 void outputPointsCommon(const SkPoint* pts, int count); 332 void outputPointsCommon(const SkPoint* pts, int count);
331 void outputScalar(SkScalar num); 333 void outputScalar(SkScalar num);
332 334
333 typedef SkCanvas INHERITED; 335 typedef SkCanvas INHERITED;
334 }; 336 };
335 337
336 #endif 338 #endif
OLDNEW
« no previous file with comments | « src/utils/SkPictureUtils.cpp ('k') | tools/CopyTilesRenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698