| OLD | NEW |
| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 kRemoveColorTableAlpha_Version = 36, | 59 kRemoveColorTableAlpha_Version = 36, |
| 60 kDropShadowMode_Version = 37, | 60 kDropShadowMode_Version = 37, |
| 61 kPictureImageFilterResolution_Version = 38, | 61 kPictureImageFilterResolution_Version = 38, |
| 62 kPictureImageFilterLevel_Version = 39, | 62 kPictureImageFilterLevel_Version = 39, |
| 63 kImageFilterNoUniqueID_Version = 40, | 63 kImageFilterNoUniqueID_Version = 40, |
| 64 kBitmapSourceFilterQuality_Version = 41, | 64 kBitmapSourceFilterQuality_Version = 41, |
| 65 kPictureShaderHasPictureBool_Version = 42, | 65 kPictureShaderHasPictureBool_Version = 42, |
| 66 kHasDrawImageOpCodes_Version = 43, | 66 kHasDrawImageOpCodes_Version = 43, |
| 67 kAnnotationsMovedToCanvas_Version = 44, | 67 kAnnotationsMovedToCanvas_Version = 44, |
| 68 kLightingShaderWritesInvNormRotation = 45, | 68 kLightingShaderWritesInvNormRotation = 45, |
| 69 kBlurMaskFilterWritesOccluder = 47, |
| 69 }; | 70 }; |
| 70 | 71 |
| 71 /** | 72 /** |
| 72 * Returns true IFF the version is older than the specified version. | 73 * Returns true IFF the version is older than the specified version. |
| 73 */ | 74 */ |
| 74 bool isVersionLT(Version targetVersion) const { | 75 bool isVersionLT(Version targetVersion) const { |
| 75 SkASSERT(targetVersion > 0); | 76 SkASSERT(targetVersion > 0); |
| 76 return fVersion > 0 && fVersion < targetVersion; | 77 return fVersion > 0 && fVersion < targetVersion; |
| 77 } | 78 } |
| 78 | 79 |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 SkPicture::InstallPixelRefProc fBitmapDecoder; | 263 SkPicture::InstallPixelRefProc fBitmapDecoder; |
| 263 | 264 |
| 264 #ifdef DEBUG_NON_DETERMINISTIC_ASSERT | 265 #ifdef DEBUG_NON_DETERMINISTIC_ASSERT |
| 265 // Debugging counter to keep track of how many bitmaps we | 266 // Debugging counter to keep track of how many bitmaps we |
| 266 // have decoded. | 267 // have decoded. |
| 267 int fDecodedBitmapIndex; | 268 int fDecodedBitmapIndex; |
| 268 #endif // DEBUG_NON_DETERMINISTIC_ASSERT | 269 #endif // DEBUG_NON_DETERMINISTIC_ASSERT |
| 269 }; | 270 }; |
| 270 | 271 |
| 271 #endif // SkReadBuffer_DEFINED | 272 #endif // SkReadBuffer_DEFINED |
| OLD | NEW |