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

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

Issue 768183002: Revert of 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/core/SkColorFilter.h ('k') | include/core/SkFlattenable.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 2011 The Android Open Source Project 3 * Copyright 2011 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 SkDrawLooper_DEFINED 10 #ifndef SkDrawLooper_DEFINED
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 * 107 *
108 * If any of the above are not met, return false and ignore the BlurShadowR ec parameter. 108 * If any of the above are not met, return false and ignore the BlurShadowR ec parameter.
109 */ 109 */
110 virtual bool asABlurShadow(BlurShadowRec*) const; 110 virtual bool asABlurShadow(BlurShadowRec*) const;
111 111
112 SK_TO_STRING_PUREVIRT() 112 SK_TO_STRING_PUREVIRT()
113 SK_DEFINE_FLATTENABLE_TYPE(SkDrawLooper) 113 SK_DEFINE_FLATTENABLE_TYPE(SkDrawLooper)
114 114
115 protected: 115 protected:
116 SkDrawLooper() {} 116 SkDrawLooper() {}
117 #ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING
118 SkDrawLooper(SkReadBuffer& buffer) : INHERITED(buffer) {}
119 #endif
117 120
118 private: 121 private:
119 typedef SkFlattenable INHERITED; 122 typedef SkFlattenable INHERITED;
120 }; 123 };
121 124
122 #endif 125 #endif
OLDNEW
« no previous file with comments | « include/core/SkColorFilter.h ('k') | include/core/SkFlattenable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698