blob: 08e83dc05d2fe6564c259fc52e420990ef014856 [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"
18
19void SkFlattenable::InitializeFlattenables() {
djsollen@google.coma2ca41e2012-03-23 19:00:34 +000020
21 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBitmapProcShader)
22 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBlurImageFilter)
23 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkCornerPathEffect)
24 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDashPathEffect)
25 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkLayerDrawLooper)
djsollen@google.com5370cd92012-03-28 20:47:01 +000026 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkMallocPixelRef)
djsollen@google.coma2ca41e2012-03-23 19:00:34 +000027
28 SkBlurMaskFilter::InitializeFlattenables();
29 SkColorFilter::InitializeFlattenables();
30 SkGradientShader::InitializeFlattenables();
31 SkXfermode::InitializeFlattenables();
caryclark@google.comd26147a2011-12-15 14:16:43 +000032}