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

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

Issue 2201133002: Implement GPU occluded blur mask filter (Closed) Base URL: https://skia.googlesource.com/skia.git@occluded-blur
Patch Set: update to ToT Created 4 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 | « src/core/SkMaskFilter.cpp ('k') | src/effects/SkBlurMaskFilter.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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « src/core/SkMaskFilter.cpp ('k') | src/effects/SkBlurMaskFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698