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

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

Issue 1078113002: Add serialization of SkBitmapSource's new filterQuality member variable (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Added SKP version number comment Created 5 years, 8 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/effects/SkBitmapSource.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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 kSimplifyLocalMatrix_Version = 30, 49 kSimplifyLocalMatrix_Version = 30,
50 kImageFilterUniqueID_Version = 31, 50 kImageFilterUniqueID_Version = 31,
51 kRemoveAndroidPaintOpts_Version = 32, 51 kRemoveAndroidPaintOpts_Version = 32,
52 kFlattenCreateProc_Version = 33, 52 kFlattenCreateProc_Version = 33,
53 */ 53 */
54 kRemoveColorTableAlpha_Version = 36, 54 kRemoveColorTableAlpha_Version = 36,
55 kDropShadowMode_Version = 37, 55 kDropShadowMode_Version = 37,
56 kPictureImageFilterResolution_Version = 38, 56 kPictureImageFilterResolution_Version = 38,
57 kPictureImageFilterLevel_Version = 39, 57 kPictureImageFilterLevel_Version = 39,
58 kImageFilterNoUniqueID_Version = 40, 58 kImageFilterNoUniqueID_Version = 40,
59 kBitmapourceFilterQuality_Version = 41
mtklein 2015/04/10 16:44:55 (pelling)
59 }; 60 };
60 61
61 /** 62 /**
62 * Returns true IFF the version is older than the specified version. 63 * Returns true IFF the version is older than the specified version.
63 */ 64 */
64 bool isVersionLT(Version targetVersion) const { 65 bool isVersionLT(Version targetVersion) const {
65 SkASSERT(targetVersion > 0); 66 SkASSERT(targetVersion > 0);
66 return fVersion > 0 && fVersion < targetVersion; 67 return fVersion > 0 && fVersion < targetVersion;
67 } 68 }
68 69
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 SkPicture::InstallPixelRefProc fBitmapDecoder; 235 SkPicture::InstallPixelRefProc fBitmapDecoder;
235 236
236 #ifdef DEBUG_NON_DETERMINISTIC_ASSERT 237 #ifdef DEBUG_NON_DETERMINISTIC_ASSERT
237 // Debugging counter to keep track of how many bitmaps we 238 // Debugging counter to keep track of how many bitmaps we
238 // have decoded. 239 // have decoded.
239 int fDecodedBitmapIndex; 240 int fDecodedBitmapIndex;
240 #endif // DEBUG_NON_DETERMINISTIC_ASSERT 241 #endif // DEBUG_NON_DETERMINISTIC_ASSERT
241 }; 242 };
242 243
243 #endif // SkReadBuffer_DEFINED 244 #endif // SkReadBuffer_DEFINED
OLDNEW
« no previous file with comments | « include/core/SkPicture.h ('k') | src/effects/SkBitmapSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698