blob: 3dd79c01f85388e74ef7d7b7599b21d0f020415c [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"
commit-bot@chromium.org6c1ee2d2013-10-07 18:00:17 +000016#include "SkLumaColorFilter.h"
caryclark@google.comd26147a2011-12-15 14:16:43 +000017#include "SkMallocPixelRef.h"
18#include "SkXfermode.h"
tomhudson@google.comb8bf9ce2012-08-13 15:48:18 +000019#include "SkMagnifierImageFilter.h"
caryclark@google.comd26147a2011-12-15 14:16:43 +000020
21void SkFlattenable::InitializeFlattenables() {
djsollen@google.coma2ca41e2012-03-23 19:00:34 +000022
23 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBitmapProcShader)
24 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBlurImageFilter)
25 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkCornerPathEffect)
26 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDashPathEffect)
27 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerDrawLooper)
commit-bot@chromium.org6c1ee2d2013-10-07 18:00:17 +000028 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLumaColorFilter)
djsollen@google.com5370cd92012-03-28 20:47:01 +000029 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMallocPixelRef)
tomhudson@google.comb8bf9ce2012-08-13 15:48:18 +000030 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter)
djsollen@google.coma2ca41e2012-03-23 19:00:34 +000031
32 SkBlurMaskFilter::InitializeFlattenables();
33 SkColorFilter::InitializeFlattenables();
34 SkGradientShader::InitializeFlattenables();
35 SkXfermode::InitializeFlattenables();
caryclark@google.comd26147a2011-12-15 14:16:43 +000036}