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 "SkBitmapProcShader.h" | 8 #include "SkBitmapProcShader.h" |
9 #include "SkPathEffect.h" | 9 #include "SkPathEffect.h" |
10 #include "SkXfermode.h" | 10 #include "SkXfermode.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 #include "SkDisplacementMapEffect.h" | 30 #include "SkDisplacementMapEffect.h" |
31 #include "SkDropShadowImageFilter.h" | 31 #include "SkDropShadowImageFilter.h" |
32 #include "SkEmptyShader.h" | 32 #include "SkEmptyShader.h" |
33 #include "SkEmbossMaskFilter.h" | 33 #include "SkEmbossMaskFilter.h" |
34 #include "SkFlattenable.h" | 34 #include "SkFlattenable.h" |
35 #include "SkGradientShader.h" | 35 #include "SkGradientShader.h" |
36 #include "SkLayerDrawLooper.h" | 36 #include "SkLayerDrawLooper.h" |
37 #include "SkLayerRasterizer.h" | 37 #include "SkLayerRasterizer.h" |
38 #include "SkLerpXfermode.h" | 38 #include "SkLerpXfermode.h" |
39 #include "SkLightingImageFilter.h" | 39 #include "SkLightingImageFilter.h" |
40 #include "../effects/SkLightingShader.h" | 40 #include "SkLightingShader.h" |
41 #include "SkLocalMatrixShader.h" | 41 #include "SkLocalMatrixShader.h" |
42 #include "SkLumaColorFilter.h" | 42 #include "SkLumaColorFilter.h" |
43 #include "SkMagnifierImageFilter.h" | 43 #include "SkMagnifierImageFilter.h" |
44 #include "SkMatrixConvolutionImageFilter.h" | 44 #include "SkMatrixConvolutionImageFilter.h" |
45 #include "SkMergeImageFilter.h" | 45 #include "SkMergeImageFilter.h" |
46 #include "SkModeColorFilter.h" | 46 #include "SkModeColorFilter.h" |
47 #include "SkMorphologyImageFilter.h" | 47 #include "SkMorphologyImageFilter.h" |
48 #include "SkOffsetImageFilter.h" | 48 #include "SkOffsetImageFilter.h" |
49 #include "SkOnce.h" | 49 #include "SkOnce.h" |
50 #include "SkPerlinNoiseShader.h" | 50 #include "SkPerlinNoiseShader.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 SkLightingShader::InitializeFlattenables(); | 115 SkLightingShader::InitializeFlattenables(); |
116 SkTableColorFilter::InitializeFlattenables(); | 116 SkTableColorFilter::InitializeFlattenables(); |
117 SkXfermode::InitializeFlattenables(); | 117 SkXfermode::InitializeFlattenables(); |
118 } | 118 } |
119 }; | 119 }; |
120 | 120 |
121 SK_DECLARE_STATIC_ONCE(once); | 121 SK_DECLARE_STATIC_ONCE(once); |
122 void SkFlattenable::InitializeFlattenablesIfNeeded() { | 122 void SkFlattenable::InitializeFlattenablesIfNeeded() { |
123 SkOnce(&once, SkPrivateEffectInitializer::Init); | 123 SkOnce(&once, SkPrivateEffectInitializer::Init); |
124 } | 124 } |
OLD | NEW |