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

Side by Side Diff: src/core/SkReadBuffer.h

Issue 646213004: Adding an option to render only the shadow in SkDropShadowImageFilter (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Added dropshadowimagefilter to ignored-tests Created 6 years, 1 month 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 | « samplecode/SampleFilterFuzz.cpp ('k') | src/effects/SkDropShadowImageFilter.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 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 SkReadBuffer_DEFINED 8 #ifndef SkReadBuffer_DEFINED
9 #define SkReadBuffer_DEFINED 9 #define SkReadBuffer_DEFINED
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 kGradientFlippedFlag_Version = 24, 43 kGradientFlippedFlag_Version = 24,
44 kDashWritesPhaseIntervals_Version = 25, 44 kDashWritesPhaseIntervals_Version = 25,
45 kColorShaderNoBool_Version = 26, 45 kColorShaderNoBool_Version = 26,
46 kNoUnitMappers_Version = 27, 46 kNoUnitMappers_Version = 27,
47 kNoMoreBitmapFlatten_Version = 28, 47 kNoMoreBitmapFlatten_Version = 28,
48 kSimplifyLocalMatrix_Version = 30, 48 kSimplifyLocalMatrix_Version = 30,
49 kImageFilterUniqueID_Version = 31, 49 kImageFilterUniqueID_Version = 31,
50 kRemoveAndroidPaintOpts_Version = 32, 50 kRemoveAndroidPaintOpts_Version = 32,
51 kFlattenCreateProc_Version = 33, 51 kFlattenCreateProc_Version = 33,
52 kRemoveColorTableAlpha_Version = 36, 52 kRemoveColorTableAlpha_Version = 36,
53 kDropShadowMode_Version = 37,
53 }; 54 };
54 55
55 /** 56 /**
56 * Returns true IFF the version is older than the specified version. 57 * Returns true IFF the version is older than the specified version.
57 */ 58 */
58 bool isVersionLT(Version targetVersion) const { 59 bool isVersionLT(Version targetVersion) const {
59 SkASSERT(targetVersion > 0); 60 SkASSERT(targetVersion > 0);
60 return fVersion > 0 && fVersion < targetVersion; 61 return fVersion > 0 && fVersion < targetVersion;
61 } 62 }
62 63
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 SkPicture::InstallPixelRefProc fBitmapDecoder; 229 SkPicture::InstallPixelRefProc fBitmapDecoder;
229 230
230 #ifdef DEBUG_NON_DETERMINISTIC_ASSERT 231 #ifdef DEBUG_NON_DETERMINISTIC_ASSERT
231 // Debugging counter to keep track of how many bitmaps we 232 // Debugging counter to keep track of how many bitmaps we
232 // have decoded. 233 // have decoded.
233 int fDecodedBitmapIndex; 234 int fDecodedBitmapIndex;
234 #endif // DEBUG_NON_DETERMINISTIC_ASSERT 235 #endif // DEBUG_NON_DETERMINISTIC_ASSERT
235 }; 236 };
236 237
237 #endif // SkReadBuffer_DEFINED 238 #endif // SkReadBuffer_DEFINED
OLDNEW
« no previous file with comments | « samplecode/SampleFilterFuzz.cpp ('k') | src/effects/SkDropShadowImageFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698