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

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

Issue 646213004: Adding an option to render only the shadow in SkDropShadowImageFilter (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Added dropshadowimagefilter to ignored-tests Created 6 years, 1 month 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 | « gm/imagefiltersscaled.cpp ('k') | include/effects/SkDropShadowImageFilter.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 /* 2 /*
3 * Copyright 2007 The Android Open Source Project 3 * Copyright 2007 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkPicture_DEFINED 10 #ifndef SkPicture_DEFINED
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 // V27: Remove SkUnitMapper from gradients (and skia). 236 // V27: Remove SkUnitMapper from gradients (and skia).
237 // V28: No longer call bitmap::flatten inside SkWriteBuffer::writeBitmap. 237 // V28: No longer call bitmap::flatten inside SkWriteBuffer::writeBitmap.
238 // V29: Removed SaveFlags parameter from save(). 238 // V29: Removed SaveFlags parameter from save().
239 // V30: Remove redundant SkMatrix from SkLocalMatrixShader. 239 // V30: Remove redundant SkMatrix from SkLocalMatrixShader.
240 // V31: Add a serialized UniqueID to SkImageFilter. 240 // V31: Add a serialized UniqueID to SkImageFilter.
241 // V32: Removed SkPaintOptionsAndroid from SkPaint 241 // V32: Removed SkPaintOptionsAndroid from SkPaint
242 // V33: Serialize only public API of effects. 242 // V33: Serialize only public API of effects.
243 // V34: Add SkTextBlob serialization. 243 // V34: Add SkTextBlob serialization.
244 // V35: Store SkRect (rather then width & height) in header 244 // V35: Store SkRect (rather then width & height) in header
245 // V36: Remove (obsolete) alphatype from SkColorTable 245 // V36: Remove (obsolete) alphatype from SkColorTable
246 // V37: Added shadow only option to SkDropShadowImageFilter
246 247
247 // Note: If the picture version needs to be increased then please follow the 248 // Note: If the picture version needs to be increased then please follow the
248 // steps to generate new SKPs in (only accessible to Googlers): http://goo.g l/qATVcw 249 // steps to generate new SKPs in (only accessible to Googlers): http://goo.g l/qATVcw
249 250
250 // Only SKPs within the min/current picture version range (inclusive) can be read. 251 // Only SKPs within the min/current picture version range (inclusive) can be read.
251 static const uint32_t MIN_PICTURE_VERSION = 19; 252 static const uint32_t MIN_PICTURE_VERSION = 19;
252 static const uint32_t CURRENT_PICTURE_VERSION = 36; 253 static const uint32_t CURRENT_PICTURE_VERSION = 37;
253 254
254 mutable uint32_t fUniqueID; 255 mutable uint32_t fUniqueID;
255 256
256 SkAutoTDelete<const SkPictureData> fData; 257 SkAutoTDelete<const SkPictureData> fData;
257 const SkScalar fCullWidth; 258 const SkScalar fCullWidth;
258 const SkScalar fCullHeight; 259 const SkScalar fCullHeight;
259 mutable SkAutoTUnref<const AccelData> fAccelData; 260 mutable SkAutoTUnref<const AccelData> fAccelData;
260 261
261 mutable SkTDArray<DeletionListener*> fDeletionListeners; // pointers are re fed 262 mutable SkTDArray<DeletionListener*> fDeletionListeners; // pointers are re fed
262 263
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 bool fWillPlaybackBitmaps; 303 bool fWillPlaybackBitmaps;
303 bool fHasText; 304 bool fHasText;
304 int fNumPaintWithPathEffectUses; 305 int fNumPaintWithPathEffectUses;
305 int fNumFastPathDashEffects; 306 int fNumFastPathDashEffects;
306 int fNumAAConcavePaths; 307 int fNumAAConcavePaths;
307 int fNumAAHairlineConcavePaths; 308 int fNumAAHairlineConcavePaths;
308 } fAnalysis; 309 } fAnalysis;
309 }; 310 };
310 311
311 #endif 312 #endif
OLDNEW
« no previous file with comments | « gm/imagefiltersscaled.cpp ('k') | include/effects/SkDropShadowImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698