caryclark@google.com | d26147a | 2011-12-15 14:16:43 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2011 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | |
| 8 | #include "SkBitmapProcShader.h" |
| 9 | #include "SkBlurImageFilter.h" |
| 10 | #include "SkBlurMaskFilter.h" |
| 11 | #include "SkColorFilter.h" |
| 12 | #include "SkCornerPathEffect.h" |
| 13 | #include "SkDashPathEffect.h" |
| 14 | #include "SkGradientShader.h" |
| 15 | #include "SkLayerDrawLooper.h" |
| 16 | #include "SkMallocPixelRef.h" |
| 17 | #include "SkXfermode.h" |
tomhudson@google.com | b8bf9ce | 2012-08-13 15:48:18 +0000 | [diff] [blame] | 18 | #include "SkMagnifierImageFilter.h" |
caryclark@google.com | d26147a | 2011-12-15 14:16:43 +0000 | [diff] [blame] | 19 | |
| 20 | void SkFlattenable::InitializeFlattenables() { |
djsollen@google.com | a2ca41e | 2012-03-23 19:00:34 +0000 | [diff] [blame] | 21 | |
| 22 | SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBitmapProcShader) |
| 23 | SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBlurImageFilter) |
| 24 | SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkCornerPathEffect) |
| 25 | SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDashPathEffect) |
| 26 | SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerDrawLooper) |
djsollen@google.com | 5370cd9 | 2012-03-28 20:47:01 +0000 | [diff] [blame] | 27 | SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMallocPixelRef) |
tomhudson@google.com | b8bf9ce | 2012-08-13 15:48:18 +0000 | [diff] [blame] | 28 | SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter) |
djsollen@google.com | a2ca41e | 2012-03-23 19:00:34 +0000 | [diff] [blame] | 29 | |
| 30 | SkBlurMaskFilter::InitializeFlattenables(); |
| 31 | SkColorFilter::InitializeFlattenables(); |
| 32 | SkGradientShader::InitializeFlattenables(); |
| 33 | SkXfermode::InitializeFlattenables(); |
caryclark@google.com | d26147a | 2011-12-15 14:16:43 +0000 | [diff] [blame] | 34 | } |