blob: d05af709954b820cf6658da91237202c6920f83c [file] [log] [blame]
caryclark@google.comd26147a2011-12-15 14:16:43 +00001/*
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.comb8bf9ce2012-08-13 15:48:18 +000018#include "SkMagnifierImageFilter.h"
caryclark@google.comd26147a2011-12-15 14:16:43 +000019
20void SkFlattenable::InitializeFlattenables() {
djsollen@google.coma2ca41e2012-03-23 19:00:34 +000021
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.com5370cd92012-03-28 20:47:01 +000027 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMallocPixelRef)
tomhudson@google.comb8bf9ce2012-08-13 15:48:18 +000028 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter)
djsollen@google.coma2ca41e2012-03-23 19:00:34 +000029
30 SkBlurMaskFilter::InitializeFlattenables();
31 SkColorFilter::InitializeFlattenables();
32 SkGradientShader::InitializeFlattenables();
33 SkXfermode::InitializeFlattenables();
caryclark@google.comd26147a2011-12-15 14:16:43 +000034}