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

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

Issue 473543004: Revert of Remove SkPaintOptionsAndroid (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 4 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/SkPicture.h ('k') | src/core/SkPaint.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 29 matching lines...) Expand all
40 40
41 enum Version { 41 enum Version {
42 kFilterLevelIsEnum_Version = 23, 42 kFilterLevelIsEnum_Version = 23,
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,
51 }; 50 };
52 51
53 /** 52 /**
54 * Returns true IFF the version is older than the specified version. 53 * Returns true IFF the version is older than the specified version.
55 */ 54 */
56 bool isVersionLT(Version targetVersion) const { 55 bool isVersionLT(Version targetVersion) const {
57 SkASSERT(targetVersion > 0); 56 SkASSERT(targetVersion > 0);
58 return fVersion > 0 && fVersion < targetVersion; 57 return fVersion > 0 && fVersion < targetVersion;
59 } 58 }
60 59
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 SkPicture::InstallPixelRefProc fBitmapDecoder; 225 SkPicture::InstallPixelRefProc fBitmapDecoder;
227 226
228 #ifdef DEBUG_NON_DETERMINISTIC_ASSERT 227 #ifdef DEBUG_NON_DETERMINISTIC_ASSERT
229 // Debugging counter to keep track of how many bitmaps we 228 // Debugging counter to keep track of how many bitmaps we
230 // have decoded. 229 // have decoded.
231 int fDecodedBitmapIndex; 230 int fDecodedBitmapIndex;
232 #endif // DEBUG_NON_DETERMINISTIC_ASSERT 231 #endif // DEBUG_NON_DETERMINISTIC_ASSERT
233 }; 232 };
234 233
235 #endif // SkReadBuffer_DEFINED 234 #endif // SkReadBuffer_DEFINED
OLDNEW
« no previous file with comments | « include/core/SkPicture.h ('k') | src/core/SkPaint.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698