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/gpu/GrPipelineBuilder.h | |
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/gpu/GrPipelineBuilder.h')
-rw-r--r-- | src/gpu/GrPipelineBuilder.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gpu/GrPipelineBuilder.h b/src/gpu/GrPipelineBuilder.h index 08ac5db8b7..2f78fc5198 100644 --- a/src/gpu/GrPipelineBuilder.h +++ b/src/gpu/GrPipelineBuilder.h @@ -193,15 +193,6 @@ public: */ void setRenderTarget(GrRenderTarget* target) { fRenderTarget.reset(SkSafeRef(target)); } - /** - * Returns whether the rasterizer and stencil test (if any) will run at a higher sample rate - * than the color buffer. In is scenario, the higher sample rate is resolved during blending. - */ - bool hasMixedSamples() const { - return fRenderTarget->hasMixedSamples() && - (this->isHWAntialias() || !fStencilSettings.isDisabled()); - } - /// @} /////////////////////////////////////////////////////////////////////////// |