diff options
author | tomhudson <tomhudson@google.com> | 2015-03-05 08:01:07 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-05 08:01:07 -0800 |
commit | 64de1e179012302d5f3b805d0736a583ad91c6a2 (patch) | |
tree | f4107a443d6f9453ea1cae1c7ed154fe2b07a05c /include/effects/SkDiscretePathEffect.h | |
parent | 2dd3b6647dc726f36fd8774b3d0d2e83b493aeac (diff) |
ViaAndroidSDK for DM
Make a Via for DM which transforms a set of draws to be more like what
we'd see through the Android Framework's HWUI API. Only built inside
Android's framework because we depend on HWUI classes for half of
those transformations.
Tested with --config androidsdk-8888 and --config androidsdk-hwui.
R=djsollen@google.com,mtklein@google.com,reed@google.com
BUG=skia:
Review URL: https://codereview.chromium.org/974913002
Diffstat (limited to 'include/effects/SkDiscretePathEffect.h')
-rw-r--r-- | include/effects/SkDiscretePathEffect.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/effects/SkDiscretePathEffect.h b/include/effects/SkDiscretePathEffect.h index 136d452ae7..ea44d654cf 100644 --- a/include/effects/SkDiscretePathEffect.h +++ b/include/effects/SkDiscretePathEffect.h @@ -42,6 +42,10 @@ public: SK_TO_STRING_OVERRIDE() SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkDiscretePathEffect) +#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK + bool exposedInAndroidJavaAPI() const SK_OVERRIDE { return true; } +#endif + protected: SkDiscretePathEffect(SkScalar segLength, SkScalar deviation, |