OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 Google Inc. |
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 #include "gm.h" | 8 #include "gm.h" |
9 | 9 |
10 #include "SkArithmeticMode.h" | 10 #include "SkArithmeticMode.h" |
11 #include "SkBlurImageFilter.h" | 11 #include "SkBlurImageFilter.h" |
12 #include "SkColorFilter.h" | 12 #include "SkColorFilter.h" |
13 #include "SkColorFilterImageFilter.h" | 13 #include "SkColorFilterImageFilter.h" |
14 #include "SkColorMatrixFilter.h" | 14 #include "SkColorMatrixFilter.h" |
15 #include "SkImage.h" | 15 #include "SkImage.h" |
16 #include "SkImageSource.h" | 16 #include "SkImageSource.h" |
17 #include "SkMatrixConvolutionImageFilter.h" | 17 #include "SkMatrixConvolutionImageFilter.h" |
18 #include "SkOffsetImageFilter.h" | 18 #include "SkOffsetImageFilter.h" |
19 #include "SkReadBuffer.h" | 19 #include "SkReadBuffer.h" |
20 #include "SkSpecialImage.h" | 20 #include "SkSpecialImage.h" |
21 #include "SkSpecialSurface.h" | 21 #include "SkSpecialSurface.h" |
22 #include "SkWriteBuffer.h" | 22 #include "SkWriteBuffer.h" |
23 #include "SkMergeImageFilter.h" | 23 #include "SkMergeImageFilter.h" |
24 #include "SkMorphologyImageFilter.h" | 24 #include "SkMorphologyImageFilter.h" |
25 #include "SkTestImageFilters.h" | |
26 #include "SkXfermodeImageFilter.h" | 25 #include "SkXfermodeImageFilter.h" |
27 | 26 |
28 class ImageFiltersGraphGM : public skiagm::GM { | 27 class ImageFiltersGraphGM : public skiagm::GM { |
29 public: | 28 public: |
30 ImageFiltersGraphGM() {} | 29 ImageFiltersGraphGM() {} |
31 | 30 |
32 protected: | 31 protected: |
33 | 32 |
34 SkString onShortName() override { | 33 SkString onShortName() override { |
35 return SkString("imagefiltersgraph"); | 34 return SkString("imagefiltersgraph"); |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 } | 177 } |
179 | 178 |
180 sk_sp<SkImage> fImage; | 179 sk_sp<SkImage> fImage; |
181 | 180 |
182 typedef GM INHERITED; | 181 typedef GM INHERITED; |
183 }; | 182 }; |
184 | 183 |
185 /////////////////////////////////////////////////////////////////////////////// | 184 /////////////////////////////////////////////////////////////////////////////// |
186 | 185 |
187 DEF_GM(return new ImageFiltersGraphGM;) | 186 DEF_GM(return new ImageFiltersGraphGM;) |
OLD | NEW |