aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2018-03-14 13:01:17 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-14 17:27:36 +0000
commit1be1f8d097da4d4c07b4a1fa16013b0d440e4308 (patch)
tree0d0d96a7ad0dcf35cc40838c5f0041e43929b384 /include/effects
parentc29c76aae518a9c368248063e84a96ffe8c75b90 (diff)
hide SkBlurMaskFilter and SkBlurQuality
SK_SUPPORT_LEGACY_BLURMASKFILTER Bug: skia: Change-Id: Ic3e27e08e6e3cd2ffc1cd13b044e197bebc96236 Reviewed-on: https://skia-review.googlesource.com/113940 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'include/effects')
-rw-r--r--include/effects/SkBlurMaskFilter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/effects/SkBlurMaskFilter.h b/include/effects/SkBlurMaskFilter.h
index bc4ee8049f..5a0f7adaad 100644
--- a/include/effects/SkBlurMaskFilter.h
+++ b/include/effects/SkBlurMaskFilter.h
@@ -18,6 +18,7 @@ class SkRRect;
class SK_API SkBlurMaskFilter {
public:
+#ifdef SK_SUPPORT_LEGACY_BLURMASKFILTER
enum BlurFlags {
kNone_BlurFlag = 0x00,
/** The blur layer's radius is not affected by transforms */
@@ -44,6 +45,7 @@ public:
uint32_t flags = kNone_BlurFlag) {
return Make(style, sigma, SkRect::MakeEmpty(), flags);
}
+#endif
#ifdef SK_SUPPORT_LEGACY_EMBOSSMASKFILTER
/** Create an emboss maskfilter
@@ -58,8 +60,10 @@ public:
SkScalar ambient, SkScalar specular);
#endif
+#ifdef SK_SUPPORT_LEGACY_BLURMASKFILTER
private:
SkBlurMaskFilter(); // can't be instantiated
+#endif
};
#endif