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

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

Issue 197763008: Allow toString capability to be toggled independent of developer mode (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: remove gyp changes Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « src/effects/SkPixelXorXfermode.cpp ('k') | src/effects/SkTableColorFilter.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 * Copyright 2012 Google Inc. 2 * Copyright 2012 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 #include "SkStippleMaskFilter.h" 8 #include "SkStippleMaskFilter.h"
9 #include "SkString.h" 9 #include "SkString.h"
10 10
(...skipping 27 matching lines...) Expand all
38 scanline[x] = srcScanLine[x] && ((x+y) & 0x1) ? 0xFF : 0x00; 38 scanline[x] = srcScanLine[x] && ((x+y) & 0x1) ? 0xFF : 0x00;
39 } 39 }
40 scanline += dst->fRowBytes; 40 scanline += dst->fRowBytes;
41 srcScanLine += src.fRowBytes; 41 srcScanLine += src.fRowBytes;
42 } 42 }
43 } 43 }
44 44
45 return true; 45 return true;
46 } 46 }
47 47
48 #ifdef SK_DEVELOPER 48 #ifndef SK_IGNORE_TO_STRING
49 void SkStippleMaskFilter::toString(SkString* str) const { 49 void SkStippleMaskFilter::toString(SkString* str) const {
50 str->append("SkStippleMaskFilter: ()"); 50 str->append("SkStippleMaskFilter: ()");
51 } 51 }
52 #endif 52 #endif
OLDNEW
« no previous file with comments | « src/effects/SkPixelXorXfermode.cpp ('k') | src/effects/SkTableColorFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698