diff options
author | cdalton <cdalton@nvidia.com> | 2016-05-06 09:41:16 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-06 09:41:16 -0700 |
commit | 3ccf2e75ed92adb3c2c289e0cb95901d162df394 (patch) | |
tree | 92e4b20cdc1b5a7fff7945fc982bd22f1e8636d0 /src/effects | |
parent | 73e81abd5e87a6630a2e2725abf13e11af4c8792 (diff) |
Remove hasMixedSamples() from GrPipelineBuilder
This info is unknown until after any clip has been applied to the
stencil settings, so it's misleading to include in the builder.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1952323002
Review-Url: https://codereview.chromium.org/1952323002
Diffstat (limited to 'src/effects')
-rw-r--r-- | src/effects/SkArithmeticMode_gpu.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/effects/SkArithmeticMode_gpu.h b/src/effects/SkArithmeticMode_gpu.h index a44ac11e74..b8a40cf827 100644 --- a/src/effects/SkArithmeticMode_gpu.h +++ b/src/effects/SkArithmeticMode_gpu.h @@ -92,9 +92,7 @@ private: bool hasMixedSamples, const DstTexture*) const override; - bool onWillReadDstColor(const GrCaps& caps, - const GrPipelineOptimizations& optimizations, - bool hasMixedSamples) const override { + bool onWillReadDstColor(const GrCaps&, const GrPipelineOptimizations&) const override { return true; } |