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

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

Issue 1265033002: IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase (a file was deleted). Created 5 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 | « include/core/SkColor.h ('k') | include/core/SkDevice.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 2006 The Android Open Source Project 2 * Copyright 2006 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 #ifndef SkColorFilter_DEFINED 8 #ifndef SkColorFilter_DEFINED
9 #define SkColorFilter_DEFINED 9 #define SkColorFilter_DEFINED
10 10
11 #include "SkColor.h" 11 #include "SkColor.h"
12 #include "SkFlattenable.h" 12 #include "SkFlattenable.h"
13 #include "SkTDArray.h" 13 #include "SkTDArray.h"
14 #include "SkXfermode.h" 14 #include "SkXfermode.h"
15 15
16 class GrContext;
17 class GrFragmentProcessor;
18 class GrProcessorDataManager;
16 class SkBitmap; 19 class SkBitmap;
17 class GrProcessor;
18 class GrContext;
19 class GrProcessorDataManager;
20 20
21 /** 21 /**
22 * ColorFilters are optional objects in the drawing pipeline. When present in 22 * ColorFilters are optional objects in the drawing pipeline. When present in
23 * a paint, they are called with the "src" colors, and return new colors, which 23 * a paint, they are called with the "src" colors, and return new colors, which
24 * are then passed onto the next stage (either ImageFilter or Xfermode). 24 * are then passed onto the next stage (either ImageFilter or Xfermode).
25 * 25 *
26 * All subclasses are required to be reentrant-safe : it must be legal to share 26 * All subclasses are required to be reentrant-safe : it must be legal to share
27 * the same instance between several threads. 27 * the same instance between several threads.
28 */ 28 */
29 class SK_API SkColorFilter : public SkFlattenable { 29 class SK_API SkColorFilter : public SkFlattenable {
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 * 156 *
157 * e.g. compose(filter, compose(compose(filter, filter), filter)) --> 4 157 * e.g. compose(filter, compose(compose(filter, filter), filter)) --> 4
158 */ 158 */
159 virtual int privateComposedFilterCount() const { return 1; } 159 virtual int privateComposedFilterCount() const { return 1; }
160 friend class SkComposeColorFilter; 160 friend class SkComposeColorFilter;
161 161
162 typedef SkFlattenable INHERITED; 162 typedef SkFlattenable INHERITED;
163 }; 163 };
164 164
165 #endif 165 #endif
OLDNEW
« no previous file with comments | « include/core/SkColor.h ('k') | include/core/SkDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698