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

Side by Side Diff: include/utils/SkDumpCanvas.h

Issue 1217573002: remove SkInstCnt (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 6 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 | « include/utils/SkBoundaryPatch.h ('k') | include/utils/SkLayer.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 2011 Google Inc. 3 * Copyright 2011 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 #ifndef SkDumpCanvas_DEFINED 8 #ifndef SkDumpCanvas_DEFINED
9 #define SkDumpCanvas_DEFINED 9 #define SkDumpCanvas_DEFINED
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 kDrawData_Verb, // obsolete 50 kDrawData_Verb, // obsolete
51 51
52 kCull_Verb 52 kCull_Verb
53 }; 53 };
54 54
55 /** Subclasses of this are installed on the DumpCanvas, and then called for 55 /** Subclasses of this are installed on the DumpCanvas, and then called for
56 each drawing command. 56 each drawing command.
57 */ 57 */
58 class Dumper : public SkRefCnt { 58 class Dumper : public SkRefCnt {
59 public: 59 public:
60 SK_DECLARE_INST_COUNT(Dumper) 60
61 61
62 virtual void dump(SkDumpCanvas*, SkDumpCanvas::Verb, const char str[], 62 virtual void dump(SkDumpCanvas*, SkDumpCanvas::Verb, const char str[],
63 const SkPaint*) = 0; 63 const SkPaint*) = 0;
64 64
65 private: 65 private:
66 typedef SkRefCnt INHERITED; 66 typedef SkRefCnt INHERITED;
67 }; 67 };
68 68
69 Dumper* getDumper() const { return fDumper; } 69 Dumper* getDumper() const { return fDumper; }
70 void setDumper(Dumper*); 70 void setDumper(Dumper*);
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 public: 158 public:
159 SkDebugfDumper(); 159 SkDebugfDumper();
160 160
161 private: 161 private:
162 typedef SkFormatDumper INHERITED; 162 typedef SkFormatDumper INHERITED;
163 }; 163 };
164 164
165 #endif 165 #endif
166 166
167 #endif 167 #endif
OLDNEW
« no previous file with comments | « include/utils/SkBoundaryPatch.h ('k') | include/utils/SkLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698