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 "SkBlurImageFilter.h" | 9 #include "SkBlurImageFilter.h" |
10 #include "SkBlurMaskFilter.h" | 10 #include "SkBlurMaskFilter.h" |
11 #include "SkColorFilter.h" | 11 #include "SkColorFilter.h" |
12 #include "SkCornerPathEffect.h" | 12 #include "SkCornerPathEffect.h" |
13 #include "SkDashPathEffect.h" | 13 #include "SkDashPathEffect.h" |
14 #include "SkGradientShader.h" | 14 #include "SkGradientShader.h" |
15 #include "SkLayerDrawLooper.h" | 15 #include "SkLayerDrawLooper.h" |
| 16 #include "SkLumaColorFilter.h" |
16 #include "SkMallocPixelRef.h" | 17 #include "SkMallocPixelRef.h" |
17 #include "SkXfermode.h" | 18 #include "SkXfermode.h" |
18 #include "SkLumaXfermode.h" | 19 #include "SkLumaXfermode.h" |
19 #include "SkMagnifierImageFilter.h" | 20 #include "SkMagnifierImageFilter.h" |
20 | 21 |
21 void SkFlattenable::InitializeFlattenables() { | 22 void SkFlattenable::InitializeFlattenables() { |
22 | 23 |
23 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBitmapProcShader) | 24 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBitmapProcShader) |
24 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBlurImageFilter) | 25 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBlurImageFilter) |
25 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkCornerPathEffect) | 26 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkCornerPathEffect) |
26 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDashPathEffect) | 27 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDashPathEffect) |
27 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerDrawLooper) | 28 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerDrawLooper) |
| 29 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLumaColorFilter) |
28 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMallocPixelRef) | 30 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMallocPixelRef) |
29 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter) | 31 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter) |
30 | 32 |
31 SkBlurMaskFilter::InitializeFlattenables(); | 33 SkBlurMaskFilter::InitializeFlattenables(); |
32 SkColorFilter::InitializeFlattenables(); | 34 SkColorFilter::InitializeFlattenables(); |
33 SkGradientShader::InitializeFlattenables(); | 35 SkGradientShader::InitializeFlattenables(); |
34 SkLumaMaskXfermode::InitializeFlattenables(); | 36 SkLumaMaskXfermode::InitializeFlattenables(); |
35 SkXfermode::InitializeFlattenables(); | 37 SkXfermode::InitializeFlattenables(); |
36 } | 38 } |
OLD | NEW |