blob: 5a8d6bbc07ccf74e6b6eec552bdec2d5f14309c5 [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"
commit-bot@chromium.orgeaa77972013-08-23 13:13:12 +000019#include "SkLumaXfermode.h"
tomhudson@google.comb8bf9ce2012-08-13 15:48:18 +000020#include "SkMagnifierImageFilter.h"
caryclark@google.comd26147a2011-12-15 14:16:43 +000021
22void SkFlattenable::InitializeFlattenables() {
djsollen@google.coma2ca41e2012-03-23 19:00:34 +000023
24 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBitmapProcShader)
25 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBlurImageFilter)
26 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkCornerPathEffect)
27 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDashPathEffect)
28 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerDrawLooper)
commit-bot@chromium.org6c1ee2d2013-10-07 18:00:17 +000029 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLumaColorFilter)
djsollen@google.com5370cd92012-03-28 20:47:01 +000030 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMallocPixelRef)
tomhudson@google.comb8bf9ce2012-08-13 15:48:18 +000031 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMagnifierImageFilter)
djsollen@google.coma2ca41e2012-03-23 19:00:34 +000032
33 SkBlurMaskFilter::InitializeFlattenables();
34 SkColorFilter::InitializeFlattenables();
35 SkGradientShader::InitializeFlattenables();
fmalita@google.comef45a642013-09-17 13:09:16 +000036 SkLumaMaskXfermode::InitializeFlattenables();
djsollen@google.coma2ca41e2012-03-23 19:00:34 +000037 SkXfermode::InitializeFlattenables();
caryclark@google.comd26147a2011-12-15 14:16:43 +000038}