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

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

Issue 395603002: Simplify flattening to just write enough to call the factory (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 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 | « gm/imagefiltersgraph.cpp ('k') | include/core/SkDrawLooper.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 2006 The Android Open Source Project 3 * Copyright 2006 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 SkColorFilter_DEFINED 10 #ifndef SkColorFilter_DEFINED
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 */ 128 */
129 virtual GrEffect* asNewEffect(GrContext*) const; 129 virtual GrEffect* asNewEffect(GrContext*) const;
130 130
131 SK_TO_STRING_PUREVIRT() 131 SK_TO_STRING_PUREVIRT()
132 132
133 SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP() 133 SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP()
134 SK_DEFINE_FLATTENABLE_TYPE(SkColorFilter) 134 SK_DEFINE_FLATTENABLE_TYPE(SkColorFilter)
135 135
136 protected: 136 protected:
137 SkColorFilter() {} 137 SkColorFilter() {}
138 #ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING
138 SkColorFilter(SkReadBuffer& rb) : INHERITED(rb) {} 139 SkColorFilter(SkReadBuffer& rb) : INHERITED(rb) {}
140 #endif
139 141
140 private: 142 private:
141 typedef SkFlattenable INHERITED; 143 typedef SkFlattenable INHERITED;
142 }; 144 };
143 145
144 #endif 146 #endif
OLDNEW
« no previous file with comments | « gm/imagefiltersgraph.cpp ('k') | include/core/SkDrawLooper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698