diff options
author | robertphillips <robertphillips@google.com> | 2016-09-08 09:02:43 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-08 09:02:44 -0700 |
commit | 05a4cf59591024d838b204bb0f6fac42598ead28 (patch) | |
tree | 9744866d58622ba2e16ec391cc8859972fbd928f /src/ports | |
parent | 51761d12d00fb1ebe7c63efce91b0e84b4afac5c (diff) |
Add GM/slide to simulate Android-style reveal clip
Hopefully, this will let us play w/ geometric and shader-based solutions.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2316593003
Committed: https://skia.googlesource.com/skia/+/ffac5c4aae18fc706e4077763c190a89c8507fb0
Review-Url: https://codereview.chromium.org/2316593003
Diffstat (limited to 'src/ports')
-rw-r--r-- | src/ports/SkGlobalInitialization_default.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ports/SkGlobalInitialization_default.cpp b/src/ports/SkGlobalInitialization_default.cpp index fdafd9609a..1f1973649c 100644 --- a/src/ports/SkGlobalInitialization_default.cpp +++ b/src/ports/SkGlobalInitialization_default.cpp @@ -24,6 +24,7 @@ #include "SkDisplacementMapEffect.h" #include "SkDropShadowImageFilter.h" #include "SkEmbossMaskFilter.h" +#include "SkGaussianEdgeShader.h" #include "SkGradientShader.h" #include "SkImageSource.h" #include "SkLayerDrawLooper.h" @@ -89,7 +90,7 @@ void SkFlattenable::PrivateInitializer::InitEffects() { SkGradientShader::InitializeFlattenables(); SkLightingShader::InitializeFlattenables(); SkNormalSource::InitializeFlattenables(); - + SkGaussianEdgeShader::InitializeFlattenables(); // PathEffect SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkArcToPathEffect) |