diff options
author | robertphillips <robertphillips@google.com> | 2016-09-01 10:13:04 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-01 10:13:04 -0700 |
commit | 0b629ec73210161a6ba869a44a3c4ffd5a27dab9 (patch) | |
tree | 933a40c09f61c92fe148a197de60441c7d58fe16 /src/gpu/GrPathRendererChain.cpp | |
parent | db0283bec96395395065b4235fdacdb2949ff08c (diff) |
Disable MSAAPathRender for Android Framework builds
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2298613005
Review-Url: https://codereview.chromium.org/2298613005
Diffstat (limited to 'src/gpu/GrPathRendererChain.cpp')
-rw-r--r-- | src/gpu/GrPathRendererChain.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/GrPathRendererChain.cpp b/src/gpu/GrPathRendererChain.cpp index 44dc343952..ac1c4a6cdc 100644 --- a/src/gpu/GrPathRendererChain.cpp +++ b/src/gpu/GrPathRendererChain.cpp @@ -33,9 +33,11 @@ GrPathRendererChain::GrPathRendererChain(GrContext* context) { caps)) { this->addPathRenderer(pr)->unref(); } +#ifndef SK_BUILD_FOR_ANDROID_FRAMEWORK if (caps.sampleShadingSupport()) { this->addPathRenderer(new GrMSAAPathRenderer)->unref(); } +#endif this->addPathRenderer(new GrAAHairLinePathRenderer)->unref(); this->addPathRenderer(new GrAAConvexPathRenderer)->unref(); this->addPathRenderer(new GrAALinearizingConvexPathRenderer)->unref(); |