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" | |
9 | |
10 #include "SkBitmapProcShader.h" | 8 #include "SkBitmapProcShader.h" |
11 #include "SkMallocPixelRef.h" | |
12 #include "SkPathEffect.h" | 9 #include "SkPathEffect.h" |
13 #include "SkPixelRef.h" | |
14 #include "SkXfermode.h" | 10 #include "SkXfermode.h" |
15 | 11 |
16 #include "Sk1DPathEffect.h" | 12 #include "Sk1DPathEffect.h" |
17 #include "Sk2DPathEffect.h" | 13 #include "Sk2DPathEffect.h" |
18 #include "SkArithmeticMode.h" | 14 #include "SkArithmeticMode.h" |
19 #include "SkArcToPathEffect.h" | 15 #include "SkArcToPathEffect.h" |
20 #include "SkBitmapSource.h" | 16 #include "SkBitmapSource.h" |
21 #include "SkBlurDrawLooper.h" | 17 #include "SkBlurDrawLooper.h" |
22 #include "SkBlurImageFilter.h" | 18 #include "SkBlurImageFilter.h" |
23 #include "SkBlurMaskFilter.h" | 19 #include "SkBlurMaskFilter.h" |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 SkLightingImageFilter::InitializeFlattenables(); | 113 SkLightingImageFilter::InitializeFlattenables(); |
118 SkTableColorFilter::InitializeFlattenables(); | 114 SkTableColorFilter::InitializeFlattenables(); |
119 SkXfermode::InitializeFlattenables(); | 115 SkXfermode::InitializeFlattenables(); |
120 } | 116 } |
121 }; | 117 }; |
122 | 118 |
123 SK_DECLARE_STATIC_ONCE(once); | 119 SK_DECLARE_STATIC_ONCE(once); |
124 void SkFlattenable::InitializeFlattenablesIfNeeded() { | 120 void SkFlattenable::InitializeFlattenablesIfNeeded() { |
125 SkOnce(&once, SkPrivateEffectInitializer::Init); | 121 SkOnce(&once, SkPrivateEffectInitializer::Init); |
126 } | 122 } |
OLD | NEW |