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" 18 InitializeFlattenables()19void SkFlattenable::InitializeFlattenables() { 20 SkBitmapProcShader::Init(); 21 SkBlurImageFilter::Init(); 22 SkBlurMaskFilter::Init(); 23 SkColorFilter::Init(); 24 SkCornerPathEffect::Init(); 25 SkDashPathEffect::Init(); 26 SkGradientShader::Init(); 27 SkLayerDrawLooper::Init(); 28 SkXfermode::Init(); 29 } 30 InitializeFlattenables()31void SkPixelRef::InitializeFlattenables() { 32 SkMallocPixelRef::Init(); 33 } 34