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

Side by Side Diff: include/effects/SkBlurDrawLooper.h

Issue 769953002: Remove SK_SUPPORT_LEGACY_DEEPFLATTENING. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years 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/effects/SkBitmapSource.h ('k') | include/effects/SkBlurImageFilter.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 2008 The Android Open Source Project 2 * Copyright 2008 The Android Open Source Project
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 8
9 #ifndef SkBlurDrawLooper_DEFINED 9 #ifndef SkBlurDrawLooper_DEFINED
10 #define SkBlurDrawLooper_DEFINED 10 #define SkBlurDrawLooper_DEFINED
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 virtual size_t contextSize() const SK_OVERRIDE { return sizeof(BlurDrawLoope rContext); } 47 virtual size_t contextSize() const SK_OVERRIDE { return sizeof(BlurDrawLoope rContext); }
48 48
49 SK_TO_STRING_OVERRIDE() 49 SK_TO_STRING_OVERRIDE()
50 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkBlurDrawLooper) 50 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkBlurDrawLooper)
51 51
52 protected: 52 protected:
53 SkBlurDrawLooper(SkColor color, SkScalar sigma, SkScalar dx, SkScalar dy, 53 SkBlurDrawLooper(SkColor color, SkScalar sigma, SkScalar dx, SkScalar dy,
54 uint32_t flags); 54 uint32_t flags);
55 55
56 #ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING
57 SkBlurDrawLooper(SkReadBuffer&);
58 #endif
59 virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; 56 virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE;
60 57
61 virtual bool asABlurShadow(BlurShadowRec*) const SK_OVERRIDE; 58 virtual bool asABlurShadow(BlurShadowRec*) const SK_OVERRIDE;
62 59
63 private: 60 private:
64 SkMaskFilter* fBlur; 61 SkMaskFilter* fBlur;
65 SkColorFilter* fColorFilter; 62 SkColorFilter* fColorFilter;
66 SkScalar fDx, fDy, fSigma; 63 SkScalar fDx, fDy, fSigma;
67 SkColor fBlurColor; 64 SkColor fBlurColor;
68 uint32_t fBlurFlags; 65 uint32_t fBlurFlags;
(...skipping 15 matching lines...) Expand all
84 State fState; 81 State fState;
85 }; 82 };
86 83
87 void init(SkScalar sigma, SkScalar dx, SkScalar dy, SkColor color, uint32_t flags); 84 void init(SkScalar sigma, SkScalar dx, SkScalar dy, SkColor color, uint32_t flags);
88 void initEffects(); 85 void initEffects();
89 86
90 typedef SkDrawLooper INHERITED; 87 typedef SkDrawLooper INHERITED;
91 }; 88 };
92 89
93 #endif 90 #endif
OLDNEW
« no previous file with comments | « include/effects/SkBitmapSource.h ('k') | include/effects/SkBlurImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698