aboutsummaryrefslogtreecommitdiffstats
path: root/src/effects/SkEffects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects/SkEffects.cpp')
-rw-r--r--src/effects/SkEffects.cpp53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/effects/SkEffects.cpp b/src/effects/SkEffects.cpp
new file mode 100644
index 0000000..d4ccac0
--- /dev/null
+++ b/src/effects/SkEffects.cpp
@@ -0,0 +1,53 @@
+/*
+ * Copyright 2011 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include "SkTypes.h"
+
+#if !SK_ALLOW_STATIC_GLOBAL_INITIALIZERS
+
+#include "Sk1DPathEffect.h"
+#include "Sk2DPathEffect.h"
+#include "SkAvoidXfermode.h"
+#include "SkBlurDrawLooper.h"
+#include "SkBlurImageFilter.h"
+#include "SkBlurMaskFilter.h"
+#include "SkColorFilter.h"
+#include "SkColorMatrixFilter.h"
+#include "SkCornerPathEffect.h"
+#include "SkDashPathEffect.h"
+#include "SkDiscretePathEffect.h"
+#include "SkEffects.h"
+#include "SkFlattenable.h"
+#include "SkGradientShader.h"
+#include "SkGroupShape.h"
+#include "SkLayerDrawLooper.h"
+#include "SkLayerRasterizer.h"
+#include "SkPathEffect.h"
+#include "SkPixelXorXfermode.h"
+#include "SkRectShape.h"
+
+void SkEffects::Init() {
+ SkAvoidXfermode::Init();
+ SkBlurDrawLooper::Init();
+ SkBlurImageFilter::Init();
+ SkBlurMaskFilter::Init();
+ SkColorFilter::Init();
+ SkColorMatrixFilter::Init();
+ SkCornerPathEffect::Init();
+ SkDashPathEffect::Init();
+ SkDiscretePathEffect::Init();
+ SkGradientShader::Init();
+ SkGroupShape::Init();
+ SkLayerDrawLooper::Init();
+ SkLayerRasterizer::Init();
+ SkPath1DPathEffect::Init();
+ SkPath2DPathEffect::Init();
+ SkPixelXorXfermode::Init();
+ SkRectShape::Init();
+}
+
+#endif