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

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

Issue 1758023003: Move annotations to canvas virtual (patchset #8 id:140001 of https://codereview.chromium.org/174410… (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: manual rebase Created 4 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
« no previous file with comments | « src/core/SkPictureRecord.cpp ('k') | src/core/SkReader32.h » ('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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 kFlattenCreateProc_Version = 33, 53 kFlattenCreateProc_Version = 33,
54 */ 54 */
55 kRemoveColorTableAlpha_Version = 36, 55 kRemoveColorTableAlpha_Version = 36,
56 kDropShadowMode_Version = 37, 56 kDropShadowMode_Version = 37,
57 kPictureImageFilterResolution_Version = 38, 57 kPictureImageFilterResolution_Version = 38,
58 kPictureImageFilterLevel_Version = 39, 58 kPictureImageFilterLevel_Version = 39,
59 kImageFilterNoUniqueID_Version = 40, 59 kImageFilterNoUniqueID_Version = 40,
60 kBitmapSourceFilterQuality_Version = 41, 60 kBitmapSourceFilterQuality_Version = 41,
61 kPictureShaderHasPictureBool_Version = 42, 61 kPictureShaderHasPictureBool_Version = 42,
62 kHasDrawImageOpCodes_Version = 43, 62 kHasDrawImageOpCodes_Version = 43,
63 kAnnotationsMovedToCanvas_Version = 44,
63 }; 64 };
64 65
65 /** 66 /**
66 * Returns true IFF the version is older than the specified version. 67 * Returns true IFF the version is older than the specified version.
67 */ 68 */
68 bool isVersionLT(Version targetVersion) const { 69 bool isVersionLT(Version targetVersion) const {
69 SkASSERT(targetVersion > 0); 70 SkASSERT(targetVersion > 0);
70 return fVersion > 0 && fVersion < targetVersion; 71 return fVersion > 0 && fVersion < targetVersion;
71 } 72 }
72 73
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 SkPicture::InstallPixelRefProc fBitmapDecoder; 241 SkPicture::InstallPixelRefProc fBitmapDecoder;
241 242
242 #ifdef DEBUG_NON_DETERMINISTIC_ASSERT 243 #ifdef DEBUG_NON_DETERMINISTIC_ASSERT
243 // Debugging counter to keep track of how many bitmaps we 244 // Debugging counter to keep track of how many bitmaps we
244 // have decoded. 245 // have decoded.
245 int fDecodedBitmapIndex; 246 int fDecodedBitmapIndex;
246 #endif // DEBUG_NON_DETERMINISTIC_ASSERT 247 #endif // DEBUG_NON_DETERMINISTIC_ASSERT
247 }; 248 };
248 249
249 #endif // SkReadBuffer_DEFINED 250 #endif // SkReadBuffer_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkPictureRecord.cpp ('k') | src/core/SkReader32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698