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 23 matching lines...) Expand all Loading... |
34 #include "SkDisplacementMapEffect.h" | 34 #include "SkDisplacementMapEffect.h" |
35 #include "SkDropShadowImageFilter.h" | 35 #include "SkDropShadowImageFilter.h" |
36 #include "SkEmptyShader.h" | 36 #include "SkEmptyShader.h" |
37 #include "SkEmbossMaskFilter.h" | 37 #include "SkEmbossMaskFilter.h" |
38 #include "SkFlattenable.h" | 38 #include "SkFlattenable.h" |
39 #include "SkGradientShader.h" | 39 #include "SkGradientShader.h" |
40 #include "SkLayerDrawLooper.h" | 40 #include "SkLayerDrawLooper.h" |
41 #include "SkLayerRasterizer.h" | 41 #include "SkLayerRasterizer.h" |
42 #include "SkLerpXfermode.h" | 42 #include "SkLerpXfermode.h" |
43 #include "SkLightingImageFilter.h" | 43 #include "SkLightingImageFilter.h" |
44 #include "../effects/SkLightingShader.h" | 44 #include "SkLightingShader.h" |
45 #include "SkLocalMatrixShader.h" | 45 #include "SkLocalMatrixShader.h" |
46 #include "SkLumaColorFilter.h" | 46 #include "SkLumaColorFilter.h" |
47 #include "SkMagnifierImageFilter.h" | 47 #include "SkMagnifierImageFilter.h" |
48 #include "SkMatrixConvolutionImageFilter.h" | 48 #include "SkMatrixConvolutionImageFilter.h" |
49 #include "SkMergeImageFilter.h" | 49 #include "SkMergeImageFilter.h" |
50 #include "SkModeColorFilter.h" | 50 #include "SkModeColorFilter.h" |
51 #include "SkMorphologyImageFilter.h" | 51 #include "SkMorphologyImageFilter.h" |
52 #include "SkOffsetImageFilter.h" | 52 #include "SkOffsetImageFilter.h" |
53 #include "SkOnce.h" | 53 #include "SkOnce.h" |
54 #include "SkPerlinNoiseShader.h" | 54 #include "SkPerlinNoiseShader.h" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 SkLightingShader::InitializeFlattenables(); | 136 SkLightingShader::InitializeFlattenables(); |
137 SkTableColorFilter::InitializeFlattenables(); | 137 SkTableColorFilter::InitializeFlattenables(); |
138 SkXfermode::InitializeFlattenables(); | 138 SkXfermode::InitializeFlattenables(); |
139 } | 139 } |
140 }; | 140 }; |
141 | 141 |
142 SK_DECLARE_STATIC_ONCE(once); | 142 SK_DECLARE_STATIC_ONCE(once); |
143 void SkFlattenable::InitializeFlattenablesIfNeeded() { | 143 void SkFlattenable::InitializeFlattenablesIfNeeded() { |
144 SkOnce(&once, SkPrivateEffectInitializer::Init); | 144 SkOnce(&once, SkPrivateEffectInitializer::Init); |
145 } | 145 } |
OLD | NEW |