| 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 22 matching lines...) Expand all Loading... |
| 33 #include "SkCornerPathEffect.h" | 33 #include "SkCornerPathEffect.h" |
| 34 #include "SkDashPathEffect.h" | 34 #include "SkDashPathEffect.h" |
| 35 #include "SkData.h" | 35 #include "SkData.h" |
| 36 #include "SkDataSet.h" | 36 #include "SkDataSet.h" |
| 37 #include "SkDiscretePathEffect.h" | 37 #include "SkDiscretePathEffect.h" |
| 38 #include "SkDisplacementMapEffect.h" | 38 #include "SkDisplacementMapEffect.h" |
| 39 #include "SkDropShadowImageFilter.h" | 39 #include "SkDropShadowImageFilter.h" |
| 40 #include "SkEmptyShader.h" | 40 #include "SkEmptyShader.h" |
| 41 #include "SkEmbossMaskFilter.h" | 41 #include "SkEmbossMaskFilter.h" |
| 42 #include "SkFlattenable.h" | 42 #include "SkFlattenable.h" |
| 43 #include "SkFlattenableUtils.h" |
| 43 #include "SkGradientShader.h" | 44 #include "SkGradientShader.h" |
| 44 #include "SkImages.h" | 45 #include "SkImages.h" |
| 45 #include "SkLayerDrawLooper.h" | 46 #include "SkLayerDrawLooper.h" |
| 46 #include "SkLayerRasterizer.h" | 47 #include "SkLayerRasterizer.h" |
| 47 #include "SkLerpXfermode.h" | 48 #include "SkLerpXfermode.h" |
| 48 #include "SkLightingImageFilter.h" | 49 #include "SkLightingImageFilter.h" |
| 49 #include "SkLumaXfermode.h" | 50 #include "SkLumaXfermode.h" |
| 50 #include "SkMagnifierImageFilter.h" | 51 #include "SkMagnifierImageFilter.h" |
| 51 #include "SkMatrixConvolutionImageFilter.h" | 52 #include "SkMatrixConvolutionImageFilter.h" |
| 52 #include "SkMergeImageFilter.h" | 53 #include "SkMergeImageFilter.h" |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 SkArithmeticMode::InitializeFlattenables(); | 114 SkArithmeticMode::InitializeFlattenables(); |
| 114 SkBlurMaskFilter::InitializeFlattenables(); | 115 SkBlurMaskFilter::InitializeFlattenables(); |
| 115 SkColorFilter::InitializeFlattenables(); | 116 SkColorFilter::InitializeFlattenables(); |
| 116 SkGradientShader::InitializeFlattenables(); | 117 SkGradientShader::InitializeFlattenables(); |
| 117 SkImages::InitializeFlattenables(); | 118 SkImages::InitializeFlattenables(); |
| 118 SkLightingImageFilter::InitializeFlattenables(); | 119 SkLightingImageFilter::InitializeFlattenables(); |
| 119 SkLumaMaskXfermode::InitializeFlattenables(); | 120 SkLumaMaskXfermode::InitializeFlattenables(); |
| 120 SkTableColorFilter::InitializeFlattenables(); | 121 SkTableColorFilter::InitializeFlattenables(); |
| 121 SkXfermode::InitializeFlattenables(); | 122 SkXfermode::InitializeFlattenables(); |
| 122 } | 123 } |
| 124 |
| 125 SkFlattenable::Factory SkFlattenable::TypeToFactory(SkFlattenable::Type type) { |
| 126 return SkFlattenableUtils::TypeToFactory(type); |
| 127 } |
| 128 |
| 129 bool SkFlattenable::TypeIsA(SkFlattenable::Type typeA, SkFlattenable::Type typeB
) { |
| 130 return SkFlattenableUtils::TypeIsA(typeA, typeB); |
| 131 } |
| 132 |
| OLD | NEW |