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

Side by Side Diff: include/effects/SkLayerDrawLooper.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/core/SkXfermode.h ('k') | include/gpu/GrCaps.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 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkLayerDrawLooper_DEFINED 8 #ifndef SkLayerDrawLooper_DEFINED
9 #define SkLayerDrawLooper_DEFINED 9 #define SkLayerDrawLooper_DEFINED
10 10
11 #include "SkDrawLooper.h" 11 #include "SkDrawLooper.h"
12 #include "SkPaint.h" 12 #include "SkPaint.h"
13 #include "SkPoint.h" 13 #include "SkPoint.h"
14 #include "SkXfermode.h" 14 #include "SkXfermode.h"
15 15
16 class SK_API SkLayerDrawLooper : public SkDrawLooper { 16 class SK_API SkLayerDrawLooper : public SkDrawLooper {
17 public: 17 public:
18 SK_DECLARE_INST_COUNT(SkLayerDrawLooper)
19
20 virtual ~SkLayerDrawLooper(); 18 virtual ~SkLayerDrawLooper();
21 19
22 /** 20 /**
23 * Bits specifies which aspects of the layer's paint should replace the 21 * Bits specifies which aspects of the layer's paint should replace the
24 * corresponding aspects on the draw's paint. 22 * corresponding aspects on the draw's paint.
25 * kEntirePaint_Bits means use the layer's paint completely. 23 * kEntirePaint_Bits means use the layer's paint completely.
26 * 0 means ignore the layer's paint... except for fColorMode, which is 24 * 0 means ignore the layer's paint... except for fColorMode, which is
27 * always applied. 25 * always applied.
28 */ 26 */
29 enum Bits { 27 enum Bits {
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 SkLayerDrawLooper* detachLooper(); 151 SkLayerDrawLooper* detachLooper();
154 152
155 private: 153 private:
156 Rec* fRecs; 154 Rec* fRecs;
157 Rec* fTopRec; 155 Rec* fTopRec;
158 int fCount; 156 int fCount;
159 }; 157 };
160 }; 158 };
161 159
162 #endif 160 #endif
OLDNEW
« no previous file with comments | « include/core/SkXfermode.h ('k') | include/gpu/GrCaps.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698