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

Side by Side Diff: src/effects/SkLayerDrawLooper.cpp

Issue 98703002: Fix compilation with SK_ENABLE_INST_COUNT=1 (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « src/effects/SkBitmapAlphaThresholdShader.cpp ('k') | src/effects/SkLightingImageFilter.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 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 #include "SkCanvas.h" 8 #include "SkCanvas.h"
9 #include "SkColor.h" 9 #include "SkColor.h"
10 #include "SkFlattenableBuffers.h" 10 #include "SkFlattenableBuffers.h"
11 #include "SkLayerDrawLooper.h" 11 #include "SkLayerDrawLooper.h"
12 #include "SkString.h" 12 #include "SkString.h"
13 #include "SkStringUtils.h" 13 #include "SkStringUtils.h"
14 #include "SkUnPreMultiply.h" 14 #include "SkUnPreMultiply.h"
15 15
16 SK_DEFINE_INST_COUNT(SkLayerDrawLooper)
17
18 SkLayerDrawLooper::LayerInfo::LayerInfo() { 16 SkLayerDrawLooper::LayerInfo::LayerInfo() {
19 fFlagsMask = 0; // ignore our paint flags 17 fFlagsMask = 0; // ignore our paint flags
20 fPaintBits = 0; // ignore our paint fields 18 fPaintBits = 0; // ignore our paint fields
21 fColorMode = SkXfermode::kDst_Mode; // ignore our color 19 fColorMode = SkXfermode::kDst_Mode; // ignore our color
22 fOffset.set(0, 0); 20 fOffset.set(0, 0);
23 fPostTranslate = false; 21 fPostTranslate = false;
24 } 22 }
25 23
26 SkLayerDrawLooper::SkLayerDrawLooper() 24 SkLayerDrawLooper::SkLayerDrawLooper()
27 : fRecs(NULL), 25 : fRecs(NULL),
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 str->append("true "); 339 str->append("true ");
342 } else { 340 } else {
343 str->append("false "); 341 str->append("false ");
344 } 342 }
345 343
346 rec->fPaint.toString(str); 344 rec->fPaint.toString(str);
347 rec = rec->fNext; 345 rec = rec->fNext;
348 } 346 }
349 } 347 }
350 #endif 348 #endif
OLDNEW
« no previous file with comments | « src/effects/SkBitmapAlphaThresholdShader.cpp ('k') | src/effects/SkLightingImageFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698