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 "SkTypes.h" | 8 #include "SkTypes.h" |
9 | 9 |
10 #include "SkBitmapProcShader.h" | 10 #include "SkBitmapProcShader.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 #include "SkImages.h" | 42 #include "SkImages.h" |
43 #include "SkLayerDrawLooper.h" | 43 #include "SkLayerDrawLooper.h" |
44 #include "SkLayerRasterizer.h" | 44 #include "SkLayerRasterizer.h" |
45 #include "SkLightingImageFilter.h" | 45 #include "SkLightingImageFilter.h" |
46 #include "SkMagnifierImageFilter.h" | 46 #include "SkMagnifierImageFilter.h" |
47 #include "SkMatrixConvolutionImageFilter.h" | 47 #include "SkMatrixConvolutionImageFilter.h" |
48 #include "SkMergeImageFilter.h" | 48 #include "SkMergeImageFilter.h" |
49 #include "SkMorphologyImageFilter.h" | 49 #include "SkMorphologyImageFilter.h" |
50 #include "SkOffsetImageFilter.h" | 50 #include "SkOffsetImageFilter.h" |
51 #include "SkPixelXorXfermode.h" | 51 #include "SkPixelXorXfermode.h" |
| 52 #include "SkPerlinNoiseShader.h" |
52 #include "SkStippleMaskFilter.h" | 53 #include "SkStippleMaskFilter.h" |
53 #include "SkTableColorFilter.h" | 54 #include "SkTableColorFilter.h" |
54 #include "SkTestImageFilters.h" | 55 #include "SkTestImageFilters.h" |
55 | 56 |
56 void SkFlattenable::InitializeFlattenables() { | 57 void SkFlattenable::InitializeFlattenables() { |
57 | 58 |
58 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkAnnotation) | 59 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkAnnotation) |
59 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkAvoidXfermode) | 60 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkAvoidXfermode) |
60 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBicubicImageFilter) | 61 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBicubicImageFilter) |
61 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBitmapProcShader) | 62 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBitmapProcShader) |
(...skipping 15 matching lines...) Expand all Loading... |
77 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDisplacementMapEffect) | 78 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDisplacementMapEffect) |
78 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkEmbossMaskFilter) | 79 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkEmbossMaskFilter) |
79 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkEmptyShader) | 80 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkEmptyShader) |
80 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkErodeImageFilter) | 81 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkErodeImageFilter) |
81 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerDrawLooper) | 82 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerDrawLooper) |
82 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerRasterizer) | 83 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerRasterizer) |
83 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath1DPathEffect) | 84 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath1DPathEffect) |
84 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(Sk2DPathEffect) | 85 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(Sk2DPathEffect) |
85 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLine2DPathEffect) | 86 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLine2DPathEffect) |
86 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath2DPathEffect) | 87 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPath2DPathEffect) |
| 88 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPerlinNoiseShader) |
87 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPixelXorXfermode) | 89 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkPixelXorXfermode) |
88 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkStippleMaskFilter) | 90 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkStippleMaskFilter) |
89 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkSumPathEffect) | 91 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkSumPathEffect) |
90 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter) | 92 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter) |
91 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMatrixConvolutionImageFilter) | 93 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMatrixConvolutionImageFilter) |
92 | 94 |
93 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkOffsetImageFilter) | 95 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkOffsetImageFilter) |
94 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeImageFilter) | 96 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkComposeImageFilter) |
95 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMergeImageFilter) | 97 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMergeImageFilter) |
96 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorFilterImageFilter) | 98 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorFilterImageFilter) |
97 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDownSampleImageFilter) | 99 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDownSampleImageFilter) |
98 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMallocPixelRef) | 100 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMallocPixelRef) |
99 | 101 |
100 SkBlurMaskFilter::InitializeFlattenables(); | 102 SkBlurMaskFilter::InitializeFlattenables(); |
101 SkColorFilter::InitializeFlattenables(); | 103 SkColorFilter::InitializeFlattenables(); |
102 SkGradientShader::InitializeFlattenables(); | 104 SkGradientShader::InitializeFlattenables(); |
103 SkImages::InitializeFlattenables(); | 105 SkImages::InitializeFlattenables(); |
104 SkLightingImageFilter::InitializeFlattenables(); | 106 SkLightingImageFilter::InitializeFlattenables(); |
105 SkTableColorFilter::InitializeFlattenables(); | 107 SkTableColorFilter::InitializeFlattenables(); |
106 SkXfermode::InitializeFlattenables(); | 108 SkXfermode::InitializeFlattenables(); |
107 } | 109 } |
OLD | NEW |