OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 "Sk1DPathEffect.h" | 8 #include "Sk1DPathEffect.h" |
9 #include "Sk2DPathEffect.h" | 9 #include "Sk2DPathEffect.h" |
10 #include "SkAlphaThresholdFilter.h" | 10 #include "SkAlphaThresholdFilter.h" |
11 #include "SkArithmeticMode.h" | 11 #include "SkArithmeticMode.h" |
12 #include "SkArcToPathEffect.h" | 12 #include "SkArcToPathEffect.h" |
13 #include "SkBitmapSourceDeserializer.h" | 13 #include "SkBitmapSourceDeserializer.h" |
14 #include "SkBlurDrawLooper.h" | 14 #include "SkBlurDrawLooper.h" |
15 #include "SkBlurImageFilter.h" | 15 #include "SkBlurImageFilter.h" |
16 #include "SkBlurMaskFilter.h" | 16 #include "SkBlurMaskFilter.h" |
17 #include "SkColorCubeFilter.h" | 17 #include "SkColorCubeFilter.h" |
18 #include "SkColorFilterImageFilter.h" | 18 #include "SkColorFilterImageFilter.h" |
19 #include "SkColorMatrixFilterRowMajor255.h" | 19 #include "SkColorMatrixFilterRowMajor255.h" |
20 #include "SkComposeImageFilter.h" | 20 #include "SkComposeImageFilter.h" |
21 #include "SkCornerPathEffect.h" | 21 #include "SkCornerPathEffect.h" |
22 #include "SkDashPathEffect.h" | 22 #include "SkDashPathEffect.h" |
23 #include "SkDiscretePathEffect.h" | 23 #include "SkDiscretePathEffect.h" |
24 #include "SkDisplacementMapEffect.h" | 24 #include "SkDisplacementMapEffect.h" |
25 #include "SkDropShadowImageFilter.h" | 25 #include "SkDropShadowImageFilter.h" |
26 #include "SkEmbossMaskFilter.h" | 26 #include "SkEmbossMaskFilter.h" |
| 27 #include "SkGaussianEdgeShader.h" |
27 #include "SkGradientShader.h" | 28 #include "SkGradientShader.h" |
28 #include "SkImageSource.h" | 29 #include "SkImageSource.h" |
29 #include "SkLayerDrawLooper.h" | 30 #include "SkLayerDrawLooper.h" |
30 #include "SkLayerRasterizer.h" | 31 #include "SkLayerRasterizer.h" |
31 #include "SkLightingImageFilter.h" | 32 #include "SkLightingImageFilter.h" |
32 #include "SkLightingShader.h" | 33 #include "SkLightingShader.h" |
33 #include "SkLocalMatrixImageFilter.h" | 34 #include "SkLocalMatrixImageFilter.h" |
34 #include "SkLumaColorFilter.h" | 35 #include "SkLumaColorFilter.h" |
35 #include "SkMagnifierImageFilter.h" | 36 #include "SkMagnifierImageFilter.h" |
36 #include "SkMatrixConvolutionImageFilter.h" | 37 #include "SkMatrixConvolutionImageFilter.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLumaColorFilter) | 83 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLumaColorFilter) |
83 SkAlphaThresholdFilter::InitializeFlattenables(); | 84 SkAlphaThresholdFilter::InitializeFlattenables(); |
84 SkArithmeticMode::InitializeFlattenables(); | 85 SkArithmeticMode::InitializeFlattenables(); |
85 SkTableColorFilter::InitializeFlattenables(); | 86 SkTableColorFilter::InitializeFlattenables(); |
86 | 87 |
87 // Shader | 88 // Shader |
88 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPerlinNoiseShader) | 89 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPerlinNoiseShader) |
89 SkGradientShader::InitializeFlattenables(); | 90 SkGradientShader::InitializeFlattenables(); |
90 SkLightingShader::InitializeFlattenables(); | 91 SkLightingShader::InitializeFlattenables(); |
91 SkNormalSource::InitializeFlattenables(); | 92 SkNormalSource::InitializeFlattenables(); |
92 | 93 SkGaussianEdgeShader::InitializeFlattenables(); |
93 | 94 |
94 // PathEffect | 95 // PathEffect |
95 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkArcToPathEffect) | 96 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkArcToPathEffect) |
96 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkCornerPathEffect) | 97 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkCornerPathEffect) |
97 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDashPathEffect) | 98 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDashPathEffect) |
98 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDiscretePathEffect) | 99 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDiscretePathEffect) |
99 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath1DPathEffect) | 100 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath1DPathEffect) |
100 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLine2DPathEffect) | 101 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLine2DPathEffect) |
101 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath2DPathEffect) | 102 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath2DPathEffect) |
102 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkSumPathEffect) | 103 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkSumPathEffect) |
(...skipping 11 matching lines...) Expand all Loading... |
114 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkTileImageFilter) | 115 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkTileImageFilter) |
115 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkXfermodeImageFilter) | 116 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkXfermodeImageFilter) |
116 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter) | 117 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter) |
117 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMatrixConvolutionImageFilter) | 118 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMatrixConvolutionImageFilter) |
118 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkOffsetImageFilter) | 119 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkOffsetImageFilter) |
119 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeImageFilter) | 120 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeImageFilter) |
120 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMergeImageFilter) | 121 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMergeImageFilter) |
121 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorFilterImageFilter) | 122 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorFilterImageFilter) |
122 SkLightingImageFilter::InitializeFlattenables(); | 123 SkLightingImageFilter::InitializeFlattenables(); |
123 } | 124 } |
OLD | NEW |